I think most are using wicket:path (which is output in dev mode)

Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device


-----Original Message-----
From: Joe Fawzy <joewic...@gmail.com>
Sent: Tuesday, April 27, 2010 6:13 PM
To: users@wicket.apache.org
Subject: using selenium

Hi all
i am building an application which use ajax heavily so i have to use
component.setOutputMarkupId(true)
this generate unique dom id for the components which changes every time i
load the same page
when using selenium , specially with its Firefox ide , it depends mainly on
the id attribute value and as this is dynamically generated by wicket ,it
cannot work smoothly

i can use xpath, but i then will lose some of the benefits of both selenium
and wicket,
selenium , i cannot use its code generation capability as it generate code
based on the the id
 of wicket(designer friendly markup) as i cannot freely change my markup,
otherwise it will break my tests

what is your experience

thanks in advance
Joe


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to