Selenium Automation Testing
JUnit, Selenium IDE, Selenium RC, JAVA, JMeter
Wednesday, February 9, 2011
Generating Random numbers in Selenium IDE
Following is the Selenese command to generate random numbers in Selenium IDE.
<tr>
<td>storeEval</td>
<td>javascript{Math.floor(Math.random()*11)}</td>
<td>randomnumber</td>
</tr>
<tr>
<td>echo</td>
<td>${randomnumber}</td>
<td></td>
</tr>
JUnit Framework
Creating Test cases using Selenium RC and JUnit
1. Open Eclipse IDE
2. Create a Java Project and name it as JUnitTestProject
3. Create the following folders under "JUnitTestProject" project
tests
lib
config
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)