Prerequisite - Install Selenium IDE as shown in the Post#11 Install Selenium IDE
Recording Process:
1. Launch Firefox and open Selenium IDE from Tools Menu as shown below:
8. Open any other site say www.yahoo.com in the Firefox browser and Click on the 'Play current test case' button on the Selenium IDE as shown below:
Click this image to view Full Screen |
9. On clicking the 'Play current test case' button, observe that the recorded commands are executed automatically in the Firefox Browser (i.e. User is taken to the www.google.com in the Firefox browser and 'I am Feeling Lucky' button is clicked automatically as shown in the below video
Note - Though 'Record and Playback' feature is helpful in some cases to the Tester, but it cant be used for automating all the tests as it has many disadvantages. If you don't know much about the disadvantages of the Record and Playback feature, you can go through the Page Record & Playback else you can continue reading the next post.
Please comment below to feedback or ask questions.
How to validate elements using Selenium IDE will be explained in the next post.
11 comments:
It is really useful... Thank You...
@ Prem Kumar Thank You
Hi Arun
Your posts were really helpful.
What and how much knowledge should I have in Java language, as I am clueless about JAVA.
@Ramprasad Panigrahy - Core Java will be good enough. You can follow my posts on Java which cover 80% of the need. In future, I will make it 100%.
Hii,
Is there any way to record test cases for Chrome browser?
Siddhesh
@BombayCho Shiddho - No, record & playback plugin of Selenium is only available in Firefox browser only. We cannot record and playback in Chrome browser.
Do we need to understand selenium IDE to start with webdriver?
Do we need to learn Selenium IDE to start with Selenium Webdriver
@Sanhita - Selenium IDE is not required.
Hi Arun,
couldn't able to download the Firefox version 54.0 for windows 10 64 bit. if i trying to download 54 then it will automatically downloading the new version. but new version cannot be support that i.e 55 on-words selenium IDE will not support. please advise for the old version Firefox.
thanks
@Arun Subramani - Downgrade to older version of Firefox say 47.0.1. Before downgrading stop the auto downgrades from Tools > Options of firefox. After setting this option, install the older version of Firefox i.e. 47.0.1 from http://www.filehippo.com
Reason: FireBug, Firepath , Selenium IDE and WebDriver Element locator add-ons wont work from 55 version of Firefox. Hence install older version of Firefox when you need these add-ons.
Post a Comment