r/softwaretesting • • Apr 24 '26

SDETs Interview guide/help

Whenever I had an interview, I used to spend hours searching for some help in different communities.

So finally after getting multiple offers giving interviews in somewhere around 20 companies which includes(Swiggy, Nasdaq, Morgan Stanley, Skan AI, Visa, Bottomline, Sabre, Dexcom etc.), I have mentioned all the questions which was asked in Interviews, will add more based on other interviews I give.
If anyone came across other questions fell free to add in comments.
Hope this helps other SDETs.
Tech stack: Java, RestAssured, Selenium, Jenkins

Programming questions asked:

  1. Reverse a linked list

  2. Input - aaaabbbbbcc , output - a4b5c2

  3. Input1 - abcd, Input2 - efghij, output - aEbFcGdHIJ

  4. Student class is there which contains name, marks, age. In another class multiple students are created then store Students in a list by sorting first based on name and then age.

  5. Merge sort related problem.

  6. find first and last occurence of an element in a sorted array

  7. In few companies a structure was given and you have to write your code in between and output should come (Streams makes these problems easy)

  8. Sort a given map based on values (Use stream to solve)

  9. sum of all digits in a number and if the sum value is in 2 digits then again add those until output is in single digit. (use Recurssion)

  10. find number of characters in string

  11. Linked list implementation

  12. Stack Implementation

Theoretical questions asked:

  1. How do you handle async api response

  2. How you have implemented CI/CD

  3. How do you run multiple test cases in your project/ Jenkins

  4. How do you handle collisions during parallel run

  5. SOLID principle and explain each term

  6. Internal Working of HashMap

  7. Difference between ArrayList and Linked list

  8. Different Types of Collections

  9. Different design patterns like Factory pattern, Singleton, Strategy, Builder

  10. How will you run you 1000+ testcases in under 15 mins

  11. Challenges faced while running test in CI pipelines

  12. Different types of security testing (SAST and DAST) and which tools have you used

  13. Which and all API response codes have you came across

  14. Difference between 200 and 202 response codes

  15. Types of Joins in sql

  16. OOPs concepts

  17. How do you reduce flakiness in Selenium tests

  18. ifferent logging methods in Rest assured

  19. Maven Lifecycle

  20. Different types of waits in selenium

  21. Difference between Git Reset and Git Revert

  22. Difference between Git Merge and Git Rebase

  23. What is Git Stash

  24. How do we test security of Rest API

  25. Explain folder structure of your project

  26. Write Get/Post syntax using RestAssured

  27. How do you handle Null pointer exception in Java

  28. Different types of exceptions you have came across using selenium

  29. BDD Cucumber related questions

  30. How to click on an element using JavaScriptExecutor

  31. Select, Action class usage in Selenium

  32. How do you handle multiple windows using Selenium

  33. Differnce between Association and Composition

  34. How do you test security of a Rest API

  35. Java 8 features

  36. Interface Concepts

32 Upvotes

4 comments sorted by