cool snippet, really clean code! ;-)

How do you identify the link? XPath is probably the answer as you can
indicates which link matching your criteria should be taken:
<clickLink xpath="(//a[##something##])[2]"/>

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com


Defiant Challenged wrote:
> hello all,
> 
> ive been working with webtest for a couple of weeks now and getting more the 
> hang of it, but i run into little things that i try to work around with. the 
> following is somethinig I do not know how to solve. I searched the arcives a 
> little, but I couldn't find, either the right search term or similar topics.
> 
> my problem is as follows.
> I have a table within a form. in this table a list of locations is shown, but 
> the order could be random. every item in the table is also a link. So I want 
> to click one of these links in the  table.
> The thing is, in the top of the same page, the same location is displayed, 
> also in a link form.
> Ive tried using , but I keep clicking the top link and not the one in the 
> table. 
> Since the location of the link, that I want to click, could be at any row 
> within the table, I cant use the nested  option, because it is mandatory to 
> specify a row and a column, and I dont know that, because the order is random.
> is there any way todo this??
> is there any way to select a table in general and search in the table itself, 
> something similar like selectForm?
> 
> this is my snippet
> ...
> 
> 
> ...
> 
> any insight would be welcome.
> 
> thanks.
> 
> Sincerely,
> 
> Daniel Ettema
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/_______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 


_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to