You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Joe Fawzy <jo...@gmail.com> on 2010/04/28 01:13:16 UTC

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