WissenInfotech : #SDET Interview Questions (7+ Yrs)

1. Write a Java program for the given string transformation:

Input: tomorrow

Output: t3m3223w

2. Can we use a try block without a catch block? Can we use a try block with a finally block?

3. Write a code snippet to handle multiple selections from a dropdown. Also, provide XPath for specific web elements.

4. How can we run specific test cases in TestNG? Provide 2-3 different ways.

5. What is the difference between git merge and git rebase?

6. How can we achieve abstraction in a real-time Selenium framework?

7. Why do you use and implement Shadow DOM elements?

8. How did you integrate AWS into your project, and what reporting mechanism did you use?

9. What collections have you used? Explain the differences between List, Set, and Map.

10. What are the HTTP status codes used for negative scenarios in API testing?

11. If the UI is not ready and you need to perform a file upload scenario, what API checks should be in place?

12. Can we create two Scenario Outline sections in a single feature file in Cucumber?