I think the Kevin Casey answered your question already... Aren't random numbers in the set of random strings?
I don't like e-mailing manual links but please see "storeRandom string Example" on http://webtest.canoo.com/webtest/manual/storeRandom.html ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Deepa Nigam Sent: Thursday, April 03, 2008 3:57 PM To: [EMAIL PROTECTED] Subject: [Webtest] help! Hi, Can we use storeRandom to create strings randomly ? Can someone post an example of how to do that ? Thanks, Deepa ________________________________ Get in touch in an instant. Get Windows Live Messenger now. <http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Re fresh_getintouch_042008>
--- Begin Message ---Hello Deepa- I've yet to use storeRandom myself, but from reading the docs, seems like you could do something like: <storeRandom property="myRandomNumber" from="0" to="10" /> <setInputField htmlId="id_random_field" value="#{myRandomNumber}" /> the first step will store an integer in the range 0-10 (inclusive) in a property called "myRandomNumber". the second step will enter the value of myRandomNumber into a text input field on your page with the ID "id_random_field". The first step is the important one, in your case - once you have the random number stored in a property, you can do anything you want with it with any other Webtest steps. Good luck! On Wed, 2008-04-02 at 13:23 -0700, Deepa Nigam wrote: > Hi, > > I am new to Canoo Webtest. My application requires random number > generation. Is there any method in Canoo that I can use to generate > random numbers. I saw storeRandom but not sure how to use it. > > Can someone help ! > > > ______________________________________________________________________ > Use video conversation to talk face-to-face with Windows Live > Messenger. Get started! _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest
--- End Message ---

