In the previous chapter of Selenium IDE Features, we had a look over different features available in Selenium IDE. In this chapter we will learn to use the ToolBar Features of Selenium IDE, which helps us to learn Options to Record Play Run And Debug Selenium IDE Test.
ToolBar Elements
Selenium IDE ToolBar Elements provides us different features to Run, Stop, Pause, Resume and set execution speed. Let’s have a look at each of the options available on ToolBar of Selenium IDE Dialog Box.
Toolbar provides us varied options pertinent to the recording and execution of the test case.
- Base Url: This is the starting point of the recording. Each time a new recording is start against the different websites, the URl will be added to the Base URL ComboBox, so that it can be used in the future recordings.
This also allows to enter the URL directly in to the text box. Speed Slider: This controls the Play-Back speed of the Test Script Execution. The speed can be set by moving/dragging the green round button to the right to make the execution slower. Like wise if moved towards left, the speed of the execution will be faster. This provides quicker access to change the execution speed.
Otherwise the same task can be done from Menu Item >> Actions >> Fastest. This can be configured to 0 to 9, where 0 is fastest and 9 is the slowest.Play Entire Test Suite: This allows to sequentially play all the Test Cases shown in the Test Case Pane. This is also same as selecting Menu Items >> Actions >> Play Entire Test Suite. But this is easily accessible from Tool Box.
Play Current Test Case: This allows to play only the current selected Test Case in the Test Case Pane. This is also same as selecting Menu Items >> Actions >> Play Current Test Case. But this is easily accessible from Tool Box.
Pause: This allows to pause the playback. This is also same as selecting Menu Items >> Actions >> Pause / Resume. But this is easily accessible from Tool Box. This button is active only when the Test Execution is in progress.
Resume: This allows to resume the playback. This is also same as selecting Menu Items >> Actions >> Pause / Resume. But this is easily accessible from Tool Box. This button is active only when the test execution is paused.
Step: This allows to step through the Test Step Commands in the Test Step Pane. This is also same as selecting Menu Items >> Actions >> Step. But this is easily accessible from Tool Box. This button is active only during the play-back time when the test execution is paused.
Rollup: This is an advanced functionality. This allows to group commands together and execute them as a single action. It actually bind the test steps in to a function.
Record: This allows to start and stop the recording of user actions. The hollow red ball indicates the start of the recording session whereas the solid red ball indicates the end of the recording session. By default, the Selenium IDE opens in the recording mode.
Conclusion: Test Case and Test Suite can be executed from ToolBox. Execution speed also can be set as per the behavior of the environment.