Selenium IDE Tutorial Part 1

Free Selenium Tutorials and Videos


Note:  Double click on Selenium training video to fit to screen

Details

Selenium IDE is a add on in firefox broweser. It can be used to generate the selenium scripts by recording and running.
Unlike Selenium RC or Webdriver, it has a user interface.

You can install selenium IDE in forefox and it will work only on firefox. This is the major drawback of selenium IDE.Works only in firefox.
Many testers think that IDE can only be used for recording and running.

But recording and running is just one part of IDE. By using user extensions one can enhance the scope of IDE.
But to use user extensions one has to be having knowledge of javascript.

We can parametrize our test cases in IDE, use regualr expressions in IDE, generate random data, read the text from the application
and use assertions/verification for validations.

There is alot to IDE. In IDE one can write his own command by modifying the user extensions and can easily generate any output. For Example in the video,
I have generated a random email ID and entered it into the text box.

Echo, StoreEval and StoredVars are very common commands in IDE. For details on these commands, please watch the video.
Once IDE Script is generated, we can easily convert it into webdriver or RC code by going to File->Save as menu.

CaptureScreenshot is the command to capture the screen shots using IDE.

For complete details on Selenium IDE, please refer the above video.