Hi Krishna,

If you are aware of some unique text that you are expecting in the row, you
could use an xpath expression similiar to what I have used in practice
below...

<clickLink
xpath=”//tr[td[contains(.,'Provider1')]]/td/a[contains(.,'Lines')]”
description=”describe your action here”/>

It starts by looking for a row in the table that contains a cell containing
the text 'Provider1' in it, if such a row exists then I'm looking to select
another cell in the same row that contains a link with the text 'Lines',
then the clickLink is invoked and my action is performed...

More on xpath here:
http://www.w3schools.com/xpath/

Best Regards,
Colin.


On Mon, Jun 1, 2009 at 11:01 AM, <[email protected]> wrote:

> Send WebTest mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.canoo.com/mailman/listinfo/webtest
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of WebTest digest..."
>
>
> Today's Topics:
>
>   1. problem with row selection in flexi grid (krishnam)
>
> --__--__--
>
> Message: 1
> Date: Mon, 1 Jun 2009 00:38:43 -0700 (PDT)
> From: krishnam <[email protected]>
> To: [email protected]
> Subject: [Webtest] problem with row selection in flexi grid
> Reply-To: [email protected]
> Reply-To: krishnam <[email protected]>
>
>
> Hello,
>
> Does anyone know how to select a row in a grid using Canoo Webtest.
> I have provided an example of the type of grid I am trying to work on a
> http://jasperforge.org/sitenews/ http://jasperforge.org/sitenews/ .
>
> Please help me on this.
>
> Thanks,
> Krishna.
> --
> View this message in context:
> http://www.nabble.com/problem-with-row-selection-in-flexi-grid-tp23775486p23775486.html
> Sent from the WebTest mailing list archive at Nabble.com.
>
>
>
> --__--__--
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>
>
> End of WebTest Digest
>

Reply via email to