Does selenium works with names?
I mean something like -

selenium.click("login"); with the mark up having -

<a wicket:id="login" name="login">Login</a>

But yes, this *might* work for links that you know up front but not the ones
that are generated through a loop component for e.g.

On Nov 20, 2007 6:12 PM, Niels van Kampenhout <[EMAIL PROTECTED]>
wrote:

> Hi,
>
> I am experimenting with Selenium tests for our Wicket application. Many
> of my test have code like
>
>   selenium.click("login_dialog_link22");
>
> Because the id "login_dialog_link22" is generated by Wicket, and changes
> often as the app is still under heavy development, it's a bit of a PITA
> to keep the tests in sync.
>
> Anyone knows a neat way to make the tests more robust? Can I influence
> the generated id?
>
> Thanks,
>
> Niels
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
-- karthik --

Reply via email to