Selenium IDE – a great firefox addon for selenium tests

Web Developers,
If you are fed up of doing same sequence of tasks (click -> click -> more click) million times then it is time to learn Selenium. It took very little time to learn and it saves so much time 🙂

1. Install Selenium
https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/

2. Get to know XPath (Will not take more 5 – 10) mins

Are you ready to use CSS selectors with selenium?

3. Open Webpage in Firefox
4. Open Selenium & do the following
Command: refreshAndWait
Target: Webpage URL
5. Click “Play current test case”
That is. It refresh the page.

eg
To click element
Command: click
Target: //div[@id=’vm-tab-selector’]

To wait for an element to load
Command: waitForElementPresent
Target: //div[@id=’vm-tab-selector’]

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.