[Webtest] Dynamic links

Marc Guillemot webtest@lists.canoo.com
Thu, 27 Apr 2006 05:55:13 -0700 (PDT)

Hi Stefanie,

you can use storeRegEx [1] to extract "135" from the dialog (if you mean
alert popup box with dialog, you will need to first use expectDialog [2] to
save the whole message) and then something like <clickLink
label="#{thePropertyWhereYou'veSaved135}"/> [3] to click the link.
To click an image link in the same row, you can use <clickLink> with xpath
expression (new since build 1304) to identify the link.


[1] http://webtest.canoo.com/webtest/manual/storeRegEx.html
[2] http://webtest.canoo.com/webtest/manual/expectDialog.html
[3] http://webtest.canoo.com/webtest/manual/clickLink.html
View this message in context: http://www.nabble.com/Dynamic-links-t1512262.html#a4120414
Sent from the WebTest forum at Nabble.com.