Install Selenium IDE
- Download and install the latest Selenium IDE Firefox extension (firefox plugin) From http://selenium-ide.openqa.org/ The bvt uses Firefox 2 to run the tests.
- After adding the plugin you will see a Selenium IDE option under the Firefox Tools menu. Select Selenium IDE to open it up.
- Select Options... under the Options menu to setup the options we will want to use.
- On the Options dialog select Enable UI-Element (experimental, requires IDE restart) and press the Ok button.
- Close the Selenium IDE.
To run current Selenium Tests
To update current Selenium Tests
- You may hit an error because an xpath has changed and a button or field is not found (like this)

Error button not found
- To fix this, you need to step back to line which is failing, then select the Record icon (Red dot in the upper right corner) then click the button which could not be found (in this case the Yes button. Next select the Record icon again to stop recording, and you will want to delete the old line which was failing and update the new line added when the recording was done. From the Target dropdown select the XPATH:Position as seen here.

Add Xpath for the button
* Use
ctrl-s to save the changes to the testcase.
* After making the updates you should re-run the entire test suite to be sure things are working as expected, sometimes the order of execution effects the results of the Selenium tests.
-- edchat - 15 Oct 2008