RE: Selenium Testing - Dealing with unstable wicket path
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 : > 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 : >> 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 : >>> 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
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 : > 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 : >> 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 : >>> 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
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 : > 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 : >> 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
More: http://www.junit.org/node/23 2010/2/17 Martin Makundi : > Hi! > > You can run selenium tests with junit. > > http://www.junit.org/node/23 > > ** > Martin > > 2010/2/17 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 : >>> 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
Hi! You can run selenium tests with junit. http://www.junit.org/node/23 ** Martin 2010/2/17 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 : >> 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
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 : > 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
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 : > 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
Selenium Testing - Dealing with unstable wicket path
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