Ok. Thanks. Is it possible to invoke another target from the middle of the target: Like calling functions. Thanks, Deepa
Subject: RE: [Webtest] help!From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: Thu, 3 Apr 2008 16:43:07 -0500 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 NigamSent: Thursday, April 03, 2008 3:57 PMTo: [EMAIL PROTECTED]: [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. --Forwarded Message Attachment--Subject: Re: [Webtest] How to generate random numbersDate: Wed, 2 Apr 2008 15:33:46 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [EMAIL PROTECTED] 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 _________________________________________________________________ Get in touch in an instant. Get Windows Live Messenger now. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_getintouch_042008

