1.Manual test cases for
file uploading.
When upload file upload button must be
disable until file
is selected.
is selected.
check for the Upload button whether it opens
a my documents dialogue box to select a file
check for the blank file, files without any
content
should not be uploaded-should get error message
should not be uploaded-should get error message
Check image upload with image size greater
than the max allowed size. Proper error message should be displayed
Check to get error message when unsupported
file type is uploaded
Check Once uploaded the file name shows next
to it
how much time it will take to upload the same
size of file
Image upload progress bar should appear for
large size images
Check if cancel button functionality is
working in between upload process
Check multiple file upload functionality
Check image quality after upload. Image quality should not be changed after upload
Check image quality after upload. Image quality should not be changed after upload
2. Mention about the
past experiences.
3. Program - To find the
count of string repetitions in an array using HashMap.
Map<String, Integer> occurrences = new HashMap<String, Integer>();
for ( String word : splitWords ) {
Integer oldCount = occurrences.get(word);
if ( oldCount == null ) {
oldCount = 0;
}
occurrences.put(word, oldCount + 1);
}
4. Write Webdriver code
along with annotations for any particular test case.
5. Discuss about the
Agile environment that you worked in.
Product manager: need to prioratize the features and decide what features need to implement in first sprint..
once we get product back log or epic team divide those to small spring backlogs and to release backlogs.make user stories, wire frames. based on them dev stat developing and qa will test.everyday scrum meetings, defect calls, monitor the progress using burn down charts, based on velocity of chart will determine the release dates
in each sprint will find bugs and fix and by end of sprint, a complete feature will be released.
Product manager: need to prioratize the features and decide what features need to implement in first sprint..
once we get product back log or epic team divide those to small spring backlogs and to release backlogs.make user stories, wire frames. based on them dev stat developing and qa will test.everyday scrum meetings, defect calls, monitor the progress using burn down charts, based on velocity of chart will determine the release dates
in each sprint will find bugs and fix and by end of sprint, a complete feature will be released.
Product manager,
scrum master and team responsible for manage the project to achieve the objectives of the project.dynamic requirements, continuous reviews, iterative planning, more communication between team members
Automation:
- Parameterize the test environment for test execution.Integrate with Continuous Integration.
- Enhance reporting mechanism.Provide an option to attach error logs in notification emails.
- Collect performance metrics for workflow scenarios.
- Add tests to check for concurrent execution of critical test cases
6. Write a program to
find the length of the string and print only the alphabetical characters out of
it. String was "A:B:C:D"
public String getStringOfLettersOnly(String s) {
//using a
StringBuilder instead of concatenate Strings
StringBuilder sb =
new StringBuilder();
for(int i = 0; i
< s.length(); i++) {
if
(Character.isLetter(s.charAt(i))) {
//adding
data into the StringBuilder
sb.append(s.charAt(i)); }
}
//return the
String contained in the StringBuilder
return
sb.toString();}
7. Write a SQL query to
write the date in a given format.
SELECT DATE_FORMAT('1997-10-04 22:23:00', '%W %M %Y');
+---------------------------------------------------------+
| DATE_FORMAT('1997-10-04 22:23:00', '%W %M %Y') |
+---------------------------------------------------------+
| Saturday October 1997
8. Have you used String,
StringBuffer, StringBuilder classes in Java.
Is String class mutable or immutable: String class is mutable
The StringBuffer and StringBuilder classes are used when there is a
necessity to make a lot of modifications to Strings of characters.
Unlike
Strings objects of type StringBuffer and Stringbuilder can be modified over and
over again with out leaving behind a lot of new unused objects. each method in StringBuffer is synchronized that is StringBuffer is thread safe