First Round-
1. Write a Program to print the duplicate words in a string and explain it.
2. If u have 100 tabs open and in one tab the page title is “test”, how to switch to this test tab in selenium
3. exceptions in selenium
4. Basic opps concept
5. One SQL question like if name exists twice in database in a table then write query to fetch name whose age is 18 or more
6. Api automation framework
7. Query parameter vs path parameter
8. How to perform assertion in api automation
9. If u have a payload then how would you approach for test scenarios.
9. Diff between post, put and patch
10. What is sessionid, cookies and catche
Second Round-
1. Two aptitude question
2. Qa testing process, what is ur role in grooming sessions
3. What do know about db testing(since its out of scope in our case, but he was quite shocked that it is so critical to have db testing and we are not doing it)
4. Array =-30,-40,-5,0,6,8,0,1,19,-74,0,64
Output should be = -30,-40,-5,-74,0,0,0,6,8,1,1964
Conditions: you cannot use sorting, any inbuilt function except length, u cannot use any string or map, you have to perform in the same array and no temp array to be used.
5. Explain design pattern and write the different modules/classes for any system like library, parking
I failed to solve the array program with these many conditions and could not explain design pattern