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>
1 comment:
Mike Crosley
June 10, 2013 at 1:09 PM
OUTSTANDINGLY simple! Thank you! :)
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
OUTSTANDINGLY simple! Thank you! :)
ReplyDelete