QA Engineer - Technical Assignment
QA Engineer - Technical Assignment
Instructions:-
Q1. Choose the correct difference between Retesting and Regression testing
a) Re-testing is running a test again; Regression testing looks for unexpected side effects
b) Re-testing looks for unexpected side effects; Regression testing is repeating those tests
c) Re-testing is done after faults are fixed; Regression testing is done earlier
d) Re-testing uses different environments, Regression testing uses the same environment
Q2. Select the valid Xpath locator for element with id as list1
a) By.xpath(“//input[id=’list1’]”)
b) By.xpath(“//input[‘list1’]”)
c) By.xpath(“//input[@id=’list1’]”)
d) By.xpath(“input[@id=’list1’]”)
Q3. Can the same testing code created for an Android application, work for an iOS application?
Choose the correct answer.
c) Yes, because all of the commands are translated to open wire JSON protocol
d) Yes, because Appium inspector records test scenario for any language
Q4. Which Type of testing identifies the breaking point of an application. How and why? (50-100
words)
a) Load Testing
b) Spike Testing
c) Concurrency Testing
d) Stress Testing
Q5. How would you compare two git commits and output results to a text file. write steps (if any)
Q6. How to merge a single file from one branch to another in git. write steps (if any)
Q7. According to you, which works best and why: Testing on Virtual OR Real Devices. (50-100
words)
Q8. How to test using multiple sessions on Appium? And How to test Android apps without
Appium? (50-100 words)
Q9. How will you do performance testing of APIs via Postman? Explain. (50-100 words)
Q10. How can low bandwidth/improper networks be tested on Appium and Selenium while
testing mobile/web apps? Explain. (50-100 words)
Q11. Explain different types of Automation Frameworks and their architecture? (50-100 words)
class Test
void functionA()
try
{
str +="B";
functionB();
catch (Exception e)
str += "C";
try
str += "D";
functionC();
catch(Exception e)
finally
str += "E";
str += "F";
}
void display()
System.out.println(str);
object.functionA();
object.display();
Solution:-
a) ABDEF
b) ABDEC
c) ABDEFC
Q13. Coding Assignment :- Automate the following task on a mobile app or web app by using
python/java and Selenium/Appium and share the code files and video recording with the answers
of this test.
Task:-
3) Print all the names of followers of that favourite twitter profile in csv/excel file.
(Tip : Find all "follow" buttons on screen", get all those followers as a List of object and print them in
csv/excel file)
Q14. In the following table, an Insurance plan is shown of an executive from a company.
Write a program to check for all the given cases and find the VALID applicable case.
Conditions
Insurance Category A A or B B. C or D C or D
Actions