1 / 12

DevLabs Alliance Top 10 Selenium Interview Questions for SDET

Here are the top10 questions for SDET Selenium Interview.Read to find out.

Download Presentation

DevLabs Alliance Top 10 Selenium Interview Questions for SDET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Top 10 Selenium Interview Questions for SDET By DevLabs Alliance Visit us at: www.devlabsalliance.com Email: training@devlabsalliance.com Contact: +91 9717514555

  2. Selenium Interview Questions for SDET 1. What is Selenium?Selenium is an open-source automation testing tool used for testing the web applications.It is an open-source tool means it does not require any licensing cost and can be used with various browsers like Mozilla Firefox, internet Explorer, Google Chrome, Safari or Opera. The test scripts for Selenium can be written in various programming languages like Java, Python, C#, PHP, Ruby, Perl and .Net.

  3. Selenium Interview Questions for SDET • 2. What are the advantages of Selenium?The advantages of Selenium are as follows: • It is an open source tool. • It supports multiple languages like Java, Python, Perl, C#, PHP, Ruby. • It can operate and support across multiple Operating Systems like Windows, Mac, Linux, Unix, etc. • It provides support across multiple browsers like Internet Explorer, Google Chrome, Mozilla Firefox, Opera, Safari,etc.

  4. Selenium Interview Questions for SDET • 3. What are the limitations of Selenium?The limitations of Selenium are as follows: • It does not support testing of mobile applications. • It is used for testing only web applications. • It cannot test Captcha and Barcode readers. • Reports can’t be generated directly through it. For generating reports, additional tools like TestNG or JUnit are used.

  5. Selenium Interview Questions for SDET 4. What is Selenese?Selenese is the language that is used to write test scripts in Selenium IDE.

  6. Selenium Interview Questions for SDET • 5. What are the different types of locators in Selenium?The various locators in Selenium are as follows: • Link text • Partial Link Text • Id • Name • Tag Name • Class Name • Xpath • CSS Selector

  7. Selenium Interview Questions for SDET 6. What is the difference between Assert and verify commands?Assert and Verify both are used to check whether the given condition is true or false.In Assert command, if any condition fails then the execution will stop, and no further test steps will be executed. But in Verify command, if any condition fails then the execution will not stop and all further test steps will be executed.

  8. Selenium Interview Questions for SDET 7. What is the difference between setSpeed() and sleep() method in Selenium?setSpeed() method is used to delay every Selenium operation. eg.setSpeed(“5000”): It will stop the execution for 5 seconds. sleep() method is used to delay only a single operation where it is written. eg. sleep(5000): It will wait for 5 seconds.

  9. Selenium Interview Questions for SDET 8. What is the use of Selenium Grid and how it works?Selenium Grid is used to execute the same or different test scripts on various platforms and browsers parallelly. This helps in testing the application in different environments concurrently and hence saving the execution time. Working of Selenium Grid:Selenium Grid sent the tests to the hub(central server that controls the execution on different machines). These tests are then redirected to Selenium Web driver, which launch the browser and run the test.

  10. Selenium Interview Questions for SDET 9. What is XPath?XPath is called as XML Path. It is a syntax or language that provides a way to locate and process the elements in XML documents. It is used in Selenium to uniquely identify any element on a webpage using HTML DOM structure.

  11. Selenium Interview Questions for SDET 10. Explain Absolute and Relative XPath.Absolute XPath: It is used to find the XPath directly by giving the exact path of the element as described in HTML DOM structure. If any change is done in the path of the element, then XPath will get fail. It begins with single forward slash(/), means that you can select the element starting from the root node. Relative XPath: Relative XPath starts searching the matching element from anywhere in the HTML DOM structure. It begins with double forward slash(//), which means it can search the element anywhere in the page.

  12. Visit us at: www.devlabsalliance.com Email: training@devlabsalliance.com Contact: +91 9717514555

More Related