Selenium Automation Testing
JUnit, Selenium IDE, Selenium RC, JAVA, JMeter
Selenium Automation Testing Tool
(Move to ...)
Home
JavaScript
▼
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...
‹
›
Home
View web version
OUTSTANDINGLY simple! Thank you! :)
ReplyDelete