you can call setMarkupId(String) in the constructor of your components. just make sure that the ids are unique in a single page.
Gerolf On Nov 20, 2007 1:42 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] > >