Showing posts with label Selenium Interview question 2. Show all posts
Showing posts with label Selenium Interview question 2. Show all posts

Selenium Interview question 2

5 : Which Different Element Locators Supported By Selenium WebDriver?
Answer : Selenium WebDriver supports bellow given element locators.

  • XPath Locator -
  • CSSSelector Locator 
  • ClassName Locator
  • Name Locator 
  • LinkText Locator 
  • PartialLinkText Locator 
  • TagName Locator 
6 : What are the benefits of automation testing.
Answer : We can get bellow given benefits If automate our software testing process.
  • Fast Test Execution : Manual software testing process Is time consuming. Automation tests are faster and takes less time to execute tests compared to manual test execution.
  • Re-usability Of Test Cases : You need to prepare automation test cases only one time. Then you can use same test cases for all upcoming version release of software application. However you need to modify your test cases If there Is any flow change of business logic changes In software. But It Is less time consuming.
  • Testing Cost Reduction : You have to put human efforts only one time to automate your software test process. Latter on automation tool will work for you at place of human resource.
  • Better Test Coverage In Each Version Release: You have to Implement test scenarios only once In your automation test cases. Latter on you can execute same test cases In all upcoming release. So each scenarios will be tested In every version release.
  • Easy For Compatibility Testing : It Is easy to run same tests In combination of different OS and browser environments using automation tools.
7 : Does Selenium WebDriver Support Record And Playback Facility?
Answer : No. WebDriver do not have any record and playback facility. But you can record your tests In one of the selenium version called Selenium IDE and then you can export your recorded tests In webdriver compatible format as per your preferred language.




8 : Which Operating systems support Selenium WebDriver?
Answer : At present, Mainly bellow given operating systems support Selenium WebDriver.


  • Windows - Windows XP, Windows 7, Windows 8 and Windows 8.1
  • Apple OS X
  • Linux - Ubuntu. Other versions of linux should support too.

Handling Dynamic Elements in Selenium WebDriver

                       Handling Dynamic Elements in Selenium WebDriver Dynamic elements are those elements which have identifiers that a...