Selenium Interview Questions and Answers

Frequently asked Interview Question and Answer in AngularJS suites for both Freshers and Experienced Candidates.

Interview Question and Answer Set 1

1. What are the annotations used in TestNG?@Test, @BeforeSuite, @AfterSuite, @BeforeTest...

Interview Question and Answer Set 3

21. How to get typed text from a textbox?Use get Attribute (“value”) method by passing...

Interview Question and Answer Set 5

41. How do u get the attribute of the web element?driver.getElement (By.tagName (“img”))...

Interview Question and Answer Set 7

61. What is Same origin policy and how it can be handled? The problem of same origin policy disallows...

Interview Question and Answer Set 9

81. Can captcha be automated? No, captcha and barcode reader cannot be automated...

Interview Question and Answer Set 2

11. How do perform drag and drop using WebDriver?Use Action classActions act = new Actions (driver)...

Interview Question and Answer Set 4

31. How to get the number of frames on a page?ListframesList=driver.findElements(By.xpath(“//iframe”))...

Interview Question and Answer Set 6

51. Why should Selenium be selected as a test tool?Selenium is free and open source have a large...

Interview Question and Answer Set 8

71. How to select value in a drop-down?The value in the drop down can be selected using WebDriver’s Select...

Interview Question and Answer Set 10

91. What is the main difference between the close() and quit() methods?close() – it closes the currently...