1) How do you use Map Collections in your Selenium Project (Give some examples)?
2) Can we have duplicate key value in HashMap?
3) How do you select the drivers to launch a URL?
4) Explain the concept of Object Repository?
5) How to fetch an element when its attributes are changing frequently?
6) There are four browser windows opened and you don’t have any idea where the required element is present. What will be your approach to find that element? Also write down the code logic
7) If a page contains 1000 images, how can you fetch 100th image?
8) What will this Java code print: String x = “Latest version”; String y = “of Selenium”; int z = 3; (“We are learning Selenium”+” and the “+x+” “+y+” is “+z); ?
9) How can you determine if String has all Unique Characters?
10) How to convert String to integer without using any direct method
in Java.
11) Can you arrange the below testng.xml tags from parent to child?
<test>
<suite>
<class>
<methods>
<classes>
12) How we can retrieve the dynamically changing Ids?
13) How can you handle multipart requests using Rest Assured?
14) How do you handle response headers in Rest Assured tests?
15) How can you handle authentication using OAuth 2.0 in Rest Assured?
16) How do you run a Maven build in parallel?
17) What must be checked when performing API testing?
18) How is a Web Service different from an API?
19) Why do we need HTTPS, when HTTP is present?
20) Why do mocks and stubs not be used in End to End Testing?