Selenium IDE + Datadriven + Agile
Selenium IDE though is not a good option for full fledged test automation , yet this tool proves good when it comes to automation within agile sprints
This post explains how to use selenium IDE with test data for data driven testing:
- Save the first extension : flowcontrol extension for IDE
- Download the extension 1.1 version of the includeCommand4IDE
- Download the most recent version of the datadriven.js extension
- Add all the three extensions using Selenium Core extensions field from Options ->Options->General) in the same order.
- Restart firefox so that the extensions get installed and are ready to be used.
- Create your test data in xml format
You are ready to use the test data and a simple test case would look like this:
loadTestData file:///C:\testdata.xml
open http://google.com
while !testdata.EOF()
nextTestData
verifyTitle ${title}
goBackAndWait
endWhile
Happy Testing with Selenium IDE
Comments
Post a Comment