Re: using selenium

2010-04-28 Thread Kent Tong

Hi Joe,

Take a look at http://wicketpagetest.sourceforge.net which allows you to
locate an html element
with something like wicket=//myTextField

--
Kent Tong
Case studies on ITIL, Linux, OpenOffice and Extreme Programming at
http://www2.cpttm.org.mo/cyberlab

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



Re: using selenium

2010-04-28 Thread Joe Fawzy
Hi
any tutorials, how to,or best practice?
thanks
Joe

On Wed, Apr 28, 2010 at 4:15 AM, Jeremy Thomerson  wrote:

> yes - the id path
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
> On Tue, Apr 27, 2010 at 8:00 PM, Joe Fawzy  wrote:
>
> > Hi dear
> > what is wicket:path? do you mean the component id path,like:
> > page:panel1:form2:component4
> > or it is a library or what
> > any samples or pointers please
> > thanks
> > Joe
> >
> > On Wed, Apr 28, 2010 at 1:53 AM, Jeremy Thomerson <
> > jer...@wickettraining.com
> > > wrote:
> >
> > > 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 
> > > 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
> > >
> > >
> >
>


Re: using selenium

2010-04-27 Thread Jeremy Thomerson
yes - the id path

--
Jeremy Thomerson
http://www.wickettraining.com



On Tue, Apr 27, 2010 at 8:00 PM, Joe Fawzy  wrote:

> Hi dear
> what is wicket:path? do you mean the component id path,like:
> page:panel1:form2:component4
> or it is a library or what
> any samples or pointers please
> thanks
> Joe
>
> On Wed, Apr 28, 2010 at 1:53 AM, Jeremy Thomerson <
> jer...@wickettraining.com
> > wrote:
>
> > 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 
> > 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
> >
> >
>


Re: using selenium

2010-04-27 Thread Joe Fawzy
Hi dear
what is wicket:path? do you mean the component id path,like:
page:panel1:form2:component4
or it is a library or what
any samples or pointers please
thanks
Joe

On Wed, Apr 28, 2010 at 1:53 AM, Jeremy Thomerson  wrote:

> 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 
> 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
>
>


RE: using selenium

2010-04-27 Thread Jeremy Thomerson
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 
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