Installation of Selenium Testing Tool
open the URL HTTP://docs.seleniumfig.org/
click on download.
click on “Download latest released version 2.5.0” under selenium IDE.
Click on Allow & click on instarts NOW.
Click on Restart Button to Restart Firefox.
Installed the selenium IDE will be available under Tools.
Describe the steps to record the scenario like open Google.com type selenium in the textbox then click on Google Search.
Launch Firefox, Go to tools à click on selenium IDE.
By default it will be in recording mode.
Minimize the selenium IDE àopen Google.com àOn Firefox browseràtype selenium of Text boxàClick on Google search.
Restore or maximize selenium IDE .–>Click on Red button to stop the recording.
By default selenium IDE will give the recorded actions in two format
Inclined to build a profession as Selenium Developer? Then here is the blog post on Selenium Training in Chennai.
Table contains the recorded action in the form of table format
Source contains the source code of the recorded actions.
To run the recorded scripts we have two options.
To maintain the synchronization to execute the script make the execution speed ”Low” by –using the option “Fast-slow”.
synchronization is to to provide wait to the tool to maintain in synchronization between both application and tool.
To convert the recorded script to other languages àgo to options àclick on optionsàcheck the checkbox “Enable experimental features” àclick on ok.
Again go to optionsàclick on formatàselect the desired language to convert.
To save the recorded script àGo to Fileàclick on save test case or and save the testcase in there language.
Learn more about Selenium Interview Questions in this blog post.
Test Suite(or)Test Batch execution:-
Combination of multiple test cases is known as Suite(or)Batch.
Scenario:-Record two scenario Run it scenanition by clicking the option play entire Suite.
Step1:-open Selenium IDE and record the first scenarioàclick on the Red button to stop the recorded.
Step2:-Go to Fileclick on new test casesàclick on the Red button to start the recording and record the Scenario .Again click on the Red button to stop the recording.
Use the option play entire test Suite to Run an the Scenarios.
For an Indepth knowledge on Selenium, click on below
- Io streams /external files in Selenium
- Selenium Grid
- Conditional statements in Selenium
- Different flavors of Selenium
- Selenium WebDriver Features