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
https://blog.infostretch.com/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’]