Sunday, July 12, 2015

Recording and Playing First Test Case using Selenium IDE (FireFox)

Steps to Record Actions using Selenium IDE (FireFox):
******************************************************
Step.1:
- Open FireFox Browser
- Click on "Tool" from Firefox Menu
- Click on Selenium IDE



Result: The below Selenium IDE window will get opened
Note: The mentioned Selenium IDE window facing front of Existing FireFox Browser


Step.2: Click on "Format" - Verify "HTML" selected by default as shown below in the screenshot


Verify: The Record button is started by default as highlighted below in the screenshot


Step.3: Recording the Steps (say First Test Case):
-  Let the above Selenium IDE started
-  Navigate the Cursor to the FireFox window opened behind the Seleium IDE
-  Type "www.Google.com" in the above browser
-  Hit Enter
-  Wait for Google Home gets loaded
-  Type "Selenium" in the search box
-   Hit Enter
-   Click on the link showing "Selenium.org" in the listed search results
-   Verify Selenium Home Page opened
-   Navigate to Selenium IDE window
-   Click on button to stop the recording


Step.4: Click on Play button to play the recorded steps:


Result: The entire steps mentioned above will get play via Selenium IDE automatically without any manual interruption

Step.5: We can save the steps as single Test Case (html) format in order to play via Selenium IDE


So we can record, play, save and play back  by opening the same saved the test cases using Selenium IDE easily :)


Thanks Much,
*** Bin ***

No comments:

Post a Comment