3 messages in com.canoo.lists.webtestRE: [Webtest] Need help in writing we...| From | Sent On | Attachments |
|---|---|---|
| Venkatesh Babu | 25 Jun 2006 22:59 | |
| Dierk Koenig | 26 Jun 2006 01:25 | |
| Venkatesh Babu | 06 Jul 2006 02:17 |
| Subject: | RE: [Webtest] Need help in writing webtest script![]() |
|---|---|
| From: | Dierk Koenig (dier...@canoo.com) |
| Date: | 06/26/2006 01:25:00 AM |
| List: | com.canoo.lists.webtest |
your requirements seem to call for using the retry step.
cheers Mittie
-----Original Message----- From: webt...@lists.canoo.com [mailto:webt...@lists.canoo.com]On Behalf Of Venkatesh Babu Sent: Montag, 26. Juni 2006 8:00 To: webt...@lists.canoo.com Subject: [Webtest] Need help in writing webtest script
Hello All,
I have to write a webtest script with the following requirement:
Invoke a particular URL, until a particular DIV doesnot get a particular value.
I tried writing the following sequence of steps, but failed to get the desired behavior (The script always iterates for 10 times even after the DIV gets the required value):
<repeat count="10" description="Assuming that by the time count reaches 10 the DIV would have the required value">
<ifStep description="Repeat the invocations until required pricing level is obtained" unless="#{got.required.pricinglevel}"> <invoke url="${microsite.url}"/> <storeXPath xpath="//div[@id='PRICING_LEVEL_INPUT']" property="pricinglevel.obtained" propertyType="dynamic" /> <if> <equals arg1="#{pricinglevel.obtained}" arg2="${result.expected.pricinglevel}" /> <then> <storeProperty name="got.required.pricinglevel" value="true" propertyType="dynamic" /> </then> </if> </ifStep> </repeat>
Is anything wrong here?? Or can anybody help me and let me know what is the right approach for the problem I'm having?
Thank you, Venkatesh
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest




