Pages

Friday, 18 September 2015

Selenium IDE menu and toolbar elements 

DAY 1  

Selenium IDE menu and toolbar elements 

Menu Bar:

The File menu has options for Test Case and Test Suite (suite of Test Cases). Using these you can add a new Test Case, open a Test Case, save a Test Case, export Test Case in a language of your choice. You can also open the recent Test Case.All these options are also available for Test Suite.

The Edit menu allows copy, paste, delete, undo, and select all operations for editing the commands in your test case.

The Options menu allows the changing of settings. You can set the timeout value for certain commands, add user-defined user extensions to the base set of Selenium commands, and specify the format (language) used when saving your test cases.

The Help menu is the standard Firefox Help menu; only one item on this menu–UI-Element Documentation–pertains to Selenium-IDE.

Toolbar:
 The toolbar contains buttons for controlling the execution of your test cases, including a step feature for debugging your test cases. The right-most button, the one with the red-dot, is the record button.




Speed Controller :
speed controller

 In Selenium IDE, Speed controller is used to control the speed of how fast your test case runs. Set it on fast if you want to run fast test case.



Run All
Runs the entire test suite when a test suite with multiple test cases is loaded.

Run:
Runs the currently selected test. When only a single test is loaded this button and the Run All button have the same effect. 

Pause/Resume Button :
    In Selenium IDE software, pause button is used to pause the running test case and resume button is used to resume or restart paused test case.

Step Button :
  In Selenium IDE, Step button is used to run test commands manually one by one. Suppose you have paused your test case and now you like to run remaining commands one by one then you can use step button. Basically step button is used to debug the script in selenium IDE software.

Apply Rollup Rules :
Apply Rollup Rules: This advanced feature allows repetitive sequences of Selenium commands to be grouped into a single action. Detailed documentation on rollup rules can be found in the UI-Element Documentation on the Help menu.

Click to Record/ Stop Recording Button :
In Selenium IDE, Record button is used to record the users browser navigation of web application software and creating test script for reusing it and stop record button is used to stop recording.

Test Case Pane :

Your script is displayed in the test case pane. It has two tabs, one for displaying the command and their parameters in a readable “table” format.
 
 

The other tab – Source displays the test case in the native format in which the file will be stored. By default, this is HTML although it can be changed to a programming language such as Java or C#, or a scripting language like Python. See the Options menu for details. The Source view also allows one to edit the test case in its raw form, including copy, cut and paste operations.

 Command table shows the recorded commands. you can also modify commands or insert any command in between. there are three elements in each command.
  1. Command : Command column describes name of command.
  2. Target : Target column describes Target element id or name or Xpath 
  3. Value : Value column describes Value of an element 



 

 

No comments:

Post a Comment