HomeSelenium

Install, Launch, Record and Playback using Selenium IDE in Firefox Browser

Install, Launch, Record and Playback using Selenium IDE in Firefox Browser

<<Previous Post                            << Complete Tutorial>>                              Next Post>>

In the previous articles, I have explained Installing, Launching, Recording and Playing back using Selenium IDE in Chrome browser.

In this article, I am going to practically demonstrate Installing, Launching, Recording and Playing back using Selenium IDE in the other supported browser i.e. Firefox Browser.

Let’s get started.

Install, Launch, Record, and Playback using Selenium IDE in Firefox Browser

Follow the below steps for installing, launching, performing Record and Playback using New Selenium IDE in Firefox browser:

1) Open Firefox browser, google search for ‘Selenium IDE’ and click on the link displayed in the search results as shown below:

Selenium IDE Firefox - Search

2) In the navigated page, click on ‘Firefox Download’ button as shown below:

Selenium IDE Firefox - Firefox Download

3) It will open the Firefox Add-ons page in a new tab and click on ‘Add to Firefox’ button on the page as shown below:

Selenium IDE Firefox - Add to Firefox

4) In the displayed permissions dialog, click on the ‘Add’ button as shown below:

Selenium IDE Firefox - Add

5) Observe that the Selenium IDE will be successfully installed in the Firefox browser as shown below:

Selenium IDE Firefox - Installed Successfully

So far, we were able to successfully install Selenium IDE in firefox browser.

In the next steps, I will explain launching the Selenium IDE in firefox browser.

6) Open Firefox browser having Selenium IDE already installed and click on the ‘Selenium IDE’ icon that is displayed on the browser as shown below:

Selenium IDE Firefox - Click Icon option

7) Selenium IDE will be launched and select ‘Record a new test in a new project’ as shown below:

Selenium IDE Firefox - Recorde a new test in a new project

8)  In the displayed ‘Name your new Project’ dialog, enter any project name say ‘OmayoProj’ in the ‘Project Name’ text field and click on ‘OK’ button:

Selenium IDE Firefox - Project Name

9) In the displayed ‘Set your project’s base URL’ dialog, enter the Base URL say http://omayo.blogspot.com/ and click on ‘Start Recording’ button as shown below:

Selenium IDE Firefox - base url

10) A fresh firefox browser window will be launched by Selenium IDE and ‘Selenium IDE is recording’ message will be displayed on the window as shown below:

Selenium IDE Firefox - Selenium IDE is recording

11) As Selenium IDE is in recording mode, whatever action we perform on the freshly launched firefox browser window will be recorded in the background by Selenium IDE.

Let’s perform a small action say ‘Type QAFox text into the Search box field’ and click on ‘Search’ button as shown below:

Selenium IDE Firefox - Type and Search

Once the above action is performed, switch to Selenium IDE, observe that the actions performed by us on the application got recorded in Selenium IDE and click on ‘Stop Recording’ option to stop recording further actions as shown below:

Selenium IDE Firefox - Stop Recording

12) On clicking ‘Stop Recording’ option above, ‘Name your new test’ dialog will be displayed.

Enter any Test Name say TestOne into the ‘Tets Name’ field and click on ‘OK’ button as shown below:

Selenium IDE Firefox - Test Name

13) Observe that the given Test Name will be displayed under the ‘Tests’ pane as shown below:

Selenium IDE Firefox - Tests

So far, we were able to record the user actions performed on the application using Selenium IDE.

Now, lets playback the recorded test using Selenium by following the below steps.

14) While the newly created ‘TestOne’ is selected, click on ‘Run current test’ option as shown below:

Selenium IDE Firefox - Run

15) Observe that a fresh firefox browser will be launched automatically by Selenium IDE, navigated to the base URL, automatically performs the Search action without our intervention and all the test steps which got successfully executed by Selenium IDE got displayed in dark green color as shown below:

Selenium IDE Firefox - Results

Hence we were able to successfully record the test and playback the recorded test using Selenium IDE.

As the test has been already recorded, we can playback this test any number of times whenever required.

Here concludes this article.

In the next article, I will explain the Locating Strategies in Selenium IDE.

Next Steps:

  • > To learn more about Selenium, continue to the next post (Click on Next Post link below)
  • > Check complete Selenium Tutorial Contents here (Click here)

Please leave your questions/comments/feedback below.

Happy Learning 🙂

About Me > Arun Motoori

On a mission to contribute to the Software Testing Community in all possible ways.

<<Previous Post                            << Complete Tutorial>>                              Next Post>>

If you like this article, share it on LinkedIn using the below button:

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *