Re: Selenium Testing - Dealing with unstable wicket path

2010-02-16 Thread Martin Makundi
Hi!

Maybe you can generate the path from the actual path?

http://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html

**
Martin

2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 I'm using the following xpath wtih regex..

 and this works..

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d')][2]

 but this doesn't

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d_taskContainer_edit')][2]

 any idea why?


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



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



RE: Selenium Testing - Dealing with unstable wicket path

2010-02-16 Thread Douglas Ferguson
Hmm.. How would the example you sent apply to selenium tests?
 
That seems like a unit test approach.

Douglas Ferguson

mobile: 512.293.7279
office/fax: 512.462.0408
skype: stillrecording
aim:   DaAmericanRuse

-

http://www.linkedin.com/in/douglasferguson
http://www.myspace.com/douglasferguson
http://www.douglasferguson.us/
http://www.distilleryrecords.com/
http://www.stillrecording.com/

Join my mailing list: distilleryrecords-subscr...@yahoogroups.com

From: Martin Makundi [martin.maku...@koodaripalvelut.com]
Sent: Tuesday, February 16, 2010 9:55 PM
To: users@wicket.apache.org
Subject: Re: Selenium Testing - Dealing with unstable wicket path

Hi!

Maybe you can generate the path from the actual path?

http://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html

**
Martin

2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 I'm using the following xpath wtih regex..

 and this works..

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d')][2]

 but this doesn't

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d_taskContainer_edit')][2]

 any idea why?


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



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


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



Re: Selenium Testing - Dealing with unstable wicket path

2010-02-16 Thread Martin Makundi
Hi!

You can run selenium tests with junit.

http://www.junit.org/node/23

**
Martin

2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 Hmm.. How would the example you sent apply to selenium tests?

 That seems like a unit test approach.

 Douglas Ferguson

 mobile: 512.293.7279
 office/fax: 512.462.0408
 skype: stillrecording
 aim:   DaAmericanRuse

 -

 http://www.linkedin.com/in/douglasferguson
 http://www.myspace.com/douglasferguson
 http://www.douglasferguson.us/
 http://www.distilleryrecords.com/
 http://www.stillrecording.com/

 Join my mailing list: distilleryrecords-subscr...@yahoogroups.com
 
 From: Martin Makundi [martin.maku...@koodaripalvelut.com]
 Sent: Tuesday, February 16, 2010 9:55 PM
 To: users@wicket.apache.org
 Subject: Re: Selenium Testing - Dealing with unstable wicket path

 Hi!

 Maybe you can generate the path from the actual path?

 http://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html

 **
 Martin

 2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 I'm using the following xpath wtih regex..

 and this works..

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d')][2]

 but this doesn't

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d_taskContainer_edit')][2]

 any idea why?


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



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


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



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



Re: Selenium Testing - Dealing with unstable wicket path

2010-02-16 Thread Martin Makundi
More:

http://www.junit.org/node/23

2010/2/17 Martin Makundi martin.maku...@koodaripalvelut.com:
 Hi!

 You can run selenium tests with junit.

 http://www.junit.org/node/23

 **
 Martin

 2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 Hmm.. How would the example you sent apply to selenium tests?

 That seems like a unit test approach.

 Douglas Ferguson

 mobile: 512.293.7279
 office/fax: 512.462.0408
 skype: stillrecording
 aim:   DaAmericanRuse

 -

 http://www.linkedin.com/in/douglasferguson
 http://www.myspace.com/douglasferguson
 http://www.douglasferguson.us/
 http://www.distilleryrecords.com/
 http://www.stillrecording.com/

 Join my mailing list: distilleryrecords-subscr...@yahoogroups.com
 
 From: Martin Makundi [martin.maku...@koodaripalvelut.com]
 Sent: Tuesday, February 16, 2010 9:55 PM
 To: users@wicket.apache.org
 Subject: Re: Selenium Testing - Dealing with unstable wicket path

 Hi!

 Maybe you can generate the path from the actual path?

 http://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html

 **
 Martin

 2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 I'm using the following xpath wtih regex..

 and this works..

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d')][2]

 but this doesn't

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d_taskContainer_edit')][2]

 any idea why?


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



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


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




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



RE: Selenium Testing - Dealing with unstable wicket path

2010-02-16 Thread Douglas Ferguson
yeah.. but if you are running functional tests against packaged software then 
verifications will be happening outside of the applications's vm.
the stuff you sent, depends on overloading application objects in order to make 
hem testable in memory.

Douglas Ferguson

mobile: 512.293.7279
office/fax: 512.462.0408
skype: stillrecording
aim:   DaAmericanRuse

-

http://www.linkedin.com/in/douglasferguson
http://www.myspace.com/douglasferguson
http://www.douglasferguson.us/
http://www.distilleryrecords.com/
http://www.stillrecording.com/

Join my mailing list: distilleryrecords-subscr...@yahoogroups.com

From: Martin Makundi [martin.maku...@koodaripalvelut.com]
Sent: Wednesday, February 17, 2010 12:11 AM
To: users@wicket.apache.org
Subject: Re: Selenium Testing - Dealing with unstable wicket path

Hi!

You can run selenium tests with junit.

http://www.junit.org/node/23

**
Martin

2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 Hmm.. How would the example you sent apply to selenium tests?

 That seems like a unit test approach.

 Douglas Ferguson

 mobile: 512.293.7279
 office/fax: 512.462.0408
 skype: stillrecording
 aim:   DaAmericanRuse

 -

 http://www.linkedin.com/in/douglasferguson
 http://www.myspace.com/douglasferguson
 http://www.douglasferguson.us/
 http://www.distilleryrecords.com/
 http://www.stillrecording.com/

 Join my mailing list: distilleryrecords-subscr...@yahoogroups.com
 
 From: Martin Makundi [martin.maku...@koodaripalvelut.com]
 Sent: Tuesday, February 16, 2010 9:55 PM
 To: users@wicket.apache.org
 Subject: Re: Selenium Testing - Dealing with unstable wicket path

 Hi!

 Maybe you can generate the path from the actual path?

 http://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html

 **
 Martin

 2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 I'm using the following xpath wtih regex..

 and this works..

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d')][2]

 but this doesn't

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d_taskContainer_edit')][2]

 any idea why?


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



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


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



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


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



Re: Selenium Testing - Dealing with unstable wicket path

2010-02-16 Thread Martin Makundi
Hi!

Yes. We have found that building testability and acceptance tests into
the application is a good approach. Maybe it does not work for your
situation.

**
Martin

2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 yeah.. but if you are running functional tests against packaged software then 
 verifications will be happening outside of the applications's vm.
 the stuff you sent, depends on overloading application objects in order to 
 make hem testable in memory.

 Douglas Ferguson

 mobile: 512.293.7279
 office/fax: 512.462.0408
 skype: stillrecording
 aim:   DaAmericanRuse

 -

 http://www.linkedin.com/in/douglasferguson
 http://www.myspace.com/douglasferguson
 http://www.douglasferguson.us/
 http://www.distilleryrecords.com/
 http://www.stillrecording.com/

 Join my mailing list: distilleryrecords-subscr...@yahoogroups.com
 
 From: Martin Makundi [martin.maku...@koodaripalvelut.com]
 Sent: Wednesday, February 17, 2010 12:11 AM
 To: users@wicket.apache.org
 Subject: Re: Selenium Testing - Dealing with unstable wicket path

 Hi!

 You can run selenium tests with junit.

 http://www.junit.org/node/23

 **
 Martin

 2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 Hmm.. How would the example you sent apply to selenium tests?

 That seems like a unit test approach.

 Douglas Ferguson

 mobile: 512.293.7279
 office/fax: 512.462.0408
 skype: stillrecording
 aim:   DaAmericanRuse

 -

 http://www.linkedin.com/in/douglasferguson
 http://www.myspace.com/douglasferguson
 http://www.douglasferguson.us/
 http://www.distilleryrecords.com/
 http://www.stillrecording.com/

 Join my mailing list: distilleryrecords-subscr...@yahoogroups.com
 
 From: Martin Makundi [martin.maku...@koodaripalvelut.com]
 Sent: Tuesday, February 16, 2010 9:55 PM
 To: users@wicket.apache.org
 Subject: Re: Selenium Testing - Dealing with unstable wicket path

 Hi!

 Maybe you can generate the path from the actual path?

 http://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html

 **
 Martin

 2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 I'm using the following xpath wtih regex..

 and this works..

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d')][2]

 but this doesn't

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d_taskContainer_edit')][2]

 any idea why?


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



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


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



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


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



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



RE: Selenium Testing - Dealing with unstable wicket path

2010-02-16 Thread Douglas Ferguson
We have tons of unit tests and they are built in.
But for selenium this would not work, how can a web browser inspect your 
runtime object to determine correctness?

Douglas Ferguson

mobile: 512.293.7279
office/fax: 512.462.0408
skype: stillrecording
aim:   DaAmericanRuse

-

http://www.linkedin.com/in/douglasferguson
http://www.myspace.com/douglasferguson
http://www.douglasferguson.us/
http://www.distilleryrecords.com/
http://www.stillrecording.com/

Join my mailing list: distilleryrecords-subscr...@yahoogroups.com

From: Martin Makundi [martin.maku...@koodaripalvelut.com]
Sent: Wednesday, February 17, 2010 12:45 AM
To: users@wicket.apache.org
Subject: Re: Selenium Testing - Dealing with unstable wicket path

Hi!

Yes. We have found that building testability and acceptance tests into
the application is a good approach. Maybe it does not work for your
situation.

**
Martin

2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 yeah.. but if you are running functional tests against packaged software then 
 verifications will be happening outside of the applications's vm.
 the stuff you sent, depends on overloading application objects in order to 
 make hem testable in memory.

 Douglas Ferguson

 mobile: 512.293.7279
 office/fax: 512.462.0408
 skype: stillrecording
 aim:   DaAmericanRuse

 -

 http://www.linkedin.com/in/douglasferguson
 http://www.myspace.com/douglasferguson
 http://www.douglasferguson.us/
 http://www.distilleryrecords.com/
 http://www.stillrecording.com/

 Join my mailing list: distilleryrecords-subscr...@yahoogroups.com
 
 From: Martin Makundi [martin.maku...@koodaripalvelut.com]
 Sent: Wednesday, February 17, 2010 12:11 AM
 To: users@wicket.apache.org
 Subject: Re: Selenium Testing - Dealing with unstable wicket path

 Hi!

 You can run selenium tests with junit.

 http://www.junit.org/node/23

 **
 Martin

 2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 Hmm.. How would the example you sent apply to selenium tests?

 That seems like a unit test approach.

 Douglas Ferguson

 mobile: 512.293.7279
 office/fax: 512.462.0408
 skype: stillrecording
 aim:   DaAmericanRuse

 -

 http://www.linkedin.com/in/douglasferguson
 http://www.myspace.com/douglasferguson
 http://www.douglasferguson.us/
 http://www.distilleryrecords.com/
 http://www.stillrecording.com/

 Join my mailing list: distilleryrecords-subscr...@yahoogroups.com
 
 From: Martin Makundi [martin.maku...@koodaripalvelut.com]
 Sent: Tuesday, February 16, 2010 9:55 PM
 To: users@wicket.apache.org
 Subject: Re: Selenium Testing - Dealing with unstable wicket path

 Hi!

 Maybe you can generate the path from the actual path?

 http://cwiki.apache.org/WICKET/type-safe-testing-in-wicket.html

 **
 Martin

 2010/2/17 Douglas Ferguson doug...@douglasferguson.us:
 I'm using the following xpath wtih regex..

 and this works..

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d')][2]

 but this doesn't

 xpath=//*[fn:matches(@wicketpath,'taskListContainer_taskTable_taskList_\\d_taskContainer_edit')][2]

 any idea why?


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



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


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



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


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



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


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