Wednesday, May 6, 2020

Getting started with Selenium IDE

Selenium IDE is the starting for new to Selenium. It's a Chrome and Firefox extension.

Prerequisite: To install Selenium IDE in Firefox and Google Chrome.

Installation in FF:

1. Launch Firefox and navigate to https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/
2. Click on "+ Add to Firefox" link/button
3. Click Add button from permission prompt
4. Click "OK, Got it" from the dialogue at top right corner
5. Selenium icon will be displayed at the right side of address bar of browser after successful installation

Installation in Chrome:

1. Launch Google Chrome and navigate to https://chrome.google.com/webstore/detail/selenium-ide/mooikfkahbdckldjjndioackbalphokd?hl=en
2. Click "Add to Chrome" link/button
3. Click "Add Extension" button from permission prompt
4. Selenium icon will be displayed at the right side of address bar of browser after successful installation

It's the time to get started--->
1. Open the browser say Firefox -> Click the Selenium icon at top right corner at address bar
2. Click "Create a new project" from Welcome dialogue of Selenium IDE
3. Enter Project name say "FirstTest" --> Click OK
4. Click Recording icon (REC) at the top right corner
5. Enter Test URL
6. Click START RECORDING button --> Your site will open to browse
7. Click some button/link, enter text in text box
8. Observe Selenium IDE --> It will record your test steps you did in step 7 having Command, Target and Value
9. Click Stop Recording icon (Red square inside red circle) at the top right corner and Save the project as .side extension say FirstTest.side
10. Replay the recorded test

No comments:

Post a Comment