Thursday, 30 July 2015

Selenium web driver interview in software testing tutorial selenium automated testing

software testing tutorial selenium automated testing web driver

software testing tutorial selenium automated testing  :::How to insert Break point in Selenium IDE
Break point can be set in two ways in Selenium IDE:
1. Right click on the command in Selenium IDE and select "Toggle Break Point"
2. Select the command in Selenium IDE and press "B" key on the keyboard
3. If you want to clear the break point once again Spress "B" key on the keyboard
4. You can set multiple break points in Selenium IDE.

software testing tutorial selenium automated testing :::How to debug in Selenium IDE?
To debug or execute the test cases line by line. Follow the below mentioned steps
1. Insert a break point (see the question to know more How to insert a break point in Selenium IDE? )from the location where you want to execute step by step
2. Run the test case
3. execution will be paused at the given break point
4. Click on the step (Blue) button to continue with the next statement
5. Click on Run button, to continue executing all the commands at a time

software testing tutorial selenium automated testing :::Which are the Operating Systems supported by Selenium? 

Selenium IDE 
Works in Firefox 2+ Start browser, run tests Run tests
Operating Systems Supported: 
1. Windows,
2. OS X
3. Linux
4. Solaris
5. Others whichever supports Firefox 2+ 
Selenium Remote Control 
Used for starting browser and run tests
Operating Systems Supported: 

software testing tutorial selenium automated testing web driver questions:


software testing tutorial selenium automated testing :::When to use Accessors in Selenium?

Accessors are mostly used for storing the value in a variable.
The variable can be used for following reasons:
1) To get the value from an element and comparing with some dynamic value
2) To take a logical decision to execute the test steps
ex: if the value of the variable true execute step1 and step2 else step3 and step4
3) To execute some statements in a loop based on the value returned by the element.

software testing tutorial selenium automated testing :::What is Selenium WebDriver or  Selenium 2.0?


WebDriver uses a different underlying framework from Selenium’s javascript Selenium-Core. It also provides an alternative API with functionality not supported in Selenium-RC. WebDriver does not depend on a javascript core embedded within the browser, therefore it is able to avoid some long-running Selenium limitations.
WebDriver’s goal is to provide an API that establishes
• A well-designed standard programming interface for web-app testing.
• Improved consistency between browsers.
• Additional functionality addressing testing problems not well-supported in Selenium 1.0. 
The Selenium developers strive to continuously improve Selenium. Integrating WebDriver is another step in that process. The developers of Selenium and of WebDriver felt they could make significant gains for the Open Source test automation community be combining forces and merging their ideas and technologies. Integrating WebDriver into Selenium is the current result of those efforts.

No comments:

Post a Comment