Testing - Interview Questions and Answers for 'Selenium' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 3268 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Testing - Interview Questions and Answers for 'Selenium' - 7 question(s) found - Order By Newest

 Q1. How to access a Web Element if there are many elements with the same XPath ?
admin
info@buggybread.com
Ans. By specifying the Index like

//button[@class='button'])[2]

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     selenium   selenium webdriver   automation testing


 Q2. What is a Webdriver ?Testing2017-02-02 08:25:41

Ans. Selenium WebDriver is a tool for automating web application testing.It helps in replicating the manual tester behavior like keyboard entry, mouse events etc and then matching the output against the expected.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     selenium  webdriver     Asked in 37 Companies


 Q3. How do you take screenshot in selenium?Selenium2017-05-24 20:39:56

Ans. TakeScreenshot th = TakeScreenshot(driver); //Enable the driver object to take screenshot

File src = th.getScreenShotAs(OutputType.FILE);

FileUtils.copyFilesrc("locationWhereUWantToPlaceTheScreenshot.jpg");

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     webdriver  selenium     Asked in 1 Companies


 Q4. How to capture Screenshot when the testcases are failed?Testing2018-02-07 18:01:05

 This question was recently asked at 'ZenQ'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     testng  selenium     Asked in 1 Companies


 Q5. Set Locators priority wise in selenium WebDriver.Selenium2018-07-12 09:42:07

Ans. Id locators,Name locators,CSS locators,Xpath locators,DOM locators

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     selenium  WebDriver     Asked in 1 Companies


 Q6. How can you handle JavaScript popup using selenium ?Selenium2019-01-08 16:23:29

Ans. Using javaexecutor

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Selenium  WebDriver     Asked in 1 Companies


 Q7. How to work with dynamic webtable ?Testing2019-01-10 13:26:02

 This question was recently asked at 'Span Infotech'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Selenium     Asked in 1 Companies




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this