Re: Testing Tapestry webapps with Selenium

2011-01-27 Thread Mark
On Thu, Jan 27, 2011 at 1:54 AM, Ulrich Stärk wrote: > Since these are edit or delete links this would be ambigous. I guess there > will be dozens of links called edit on that page. Hm. So do you know anything about the item you are trying to delete or edit? If you know the id, you can work that

Re: Testing Tapestry webapps with Selenium

2011-01-26 Thread Ulrich Stärk
Since these are edit or delete links this would be ambigous. I guess there will be dozens of links called edit on that page. On 26.01.2011 15:49, Mark wrote: On Wed, Jan 26, 2011 at 5:14 AM, Matias Moran wrote: But, the problem here is that I don't know the position in the Grid of the eleme

Re: Testing Tapestry webapps with Selenium

2011-01-26 Thread Mark
On Wed, Jan 26, 2011 at 5:14 AM, Matias Moran wrote: > But, the problem here is that I don't know the position in the Grid of the > elements. So, is there a way to iterate the rows of a Grid, looking for a > particular element? Do you know the name of the link? Can you use something like: clic

Re: Testing Tapestry webapps with Selenium

2011-01-26 Thread Matias Moran
ate the rows of a Grid, looking for a particular element? Thanks for the responses! Cheers! Matias. --- El mar 25-ene-11, Mark escribió: > De: Mark > Asunto: Re: Testing Tapestry webapps with Selenium > Para: "Tapestry users" > Fecha: martes, 25 de enero de 2011, 20:36

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Mark
; >> >> --- El mar 25-ene-11, Thiago H. de Paula Figueiredo >> escribió: >> >> > De: Thiago H. de Paula Figueiredo >> > Asunto: Re: Testing Tapestry webapps with Selenium >> > Para: "Tapestry users" >> > Fecha: mar

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Igor Drobiazko
; if there is no other solution, it is better than nothing. > > Thanks again! Greetings! > > Matias. > > > --- El mar 25-ene-11, Thiago H. de Paula Figueiredo > escribió: > > > De: Thiago H. de Paula Figueiredo > > Asunto: Re: Testing Tapestry webapps with

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Matias Moran
gueiredo > Asunto: Re: Testing Tapestry webapps with Selenium > Para: "Tapestry users" > Fecha: martes, 25 de enero de 2011, 17:57 > On Tue, 25 Jan 2011 17:51:53 -0200, > Matias Moran > wrote: > > > The code generated by Selenium is something like > this: >

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Thiago H. de Paula Figueiredo
On Tue, 25 Jan 2011 17:51:53 -0200, Matias Moran wrote: The code generated by Selenium is something like this: selenium.click("//a[@id='modifyUserLink']/div");selenium.waitForPageToLoad("3"); When inside a loop, if you don't provide the id for your ActionLinks, they'll generate differ

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Matias Moran
Thanks for the quick response! Here is a piece of the code I'm trying to test: The code generated by Selenium is something like this: selenium.click("//a[@id='modifyUserLink']/div");selenium.waitForPageToLoad("3"); But it always fails, giving the err

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Thiago H. de Paula Figueiredo
On Tue, 25 Jan 2011 17:20:38 -0200, Matias Moran wrote: Dear Tapestry users, how are you? Hi! One of those issues appear when trying to click on an actionLink inside a Grid component, lets say a link to Delete or Modify one of the rows. The error is always the same: "com.thoughtworks

Re: Testing Tapestry webapps with Selenium

2011-01-25 Thread Igor Drobiazko
Yes, it is possible. If you provide your code, probably we'll be able to help you. On Tue, Jan 25, 2011 at 8:20 PM, Matias Moran wrote: > Dear Tapestry users, how are you? > > I'm writing because in the last few days we have been implementing > integration tests using Selenium, but we have found

Testing Tapestry webapps with Selenium

2011-01-25 Thread Matias Moran
Dear Tapestry users, how are you? I'm writing because in the last few days we have been implementing integration tests using Selenium, but we have found a few issues that I'm not sure if these are our mistakes, or maybe it is not possible to be tested. One of those issues appear when trying to