Re: [wtr-general] XPath and IE

2009-12-29 Thread Željko Filipin
On Tue, Dec 29, 2009 at 10:55 AM, Josh Moore joshsmo...@gmail.com wrote: //*[local-name()=tr]/*[local-name()=td][text()=test_project]/../*[local-name()=td]/*[local-name()=a]/*[local-name()=img]...@title=Remove]/.. I know this does not solve your problem, but do you really need to use such

Re: [wtr-general] XPath and IE

2009-12-29 Thread Angrez Singh
Can you post the HTML? Why are you using XPath for accessing elements? - Angrez On Tue, Dec 29, 2009 at 3:28 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Dec 29, 2009 at 10:55 AM, Josh Moore joshsmo...@gmail.com wrote:

Re: [wtr-general] XPath and IE

2009-12-29 Thread Angrez Singh
Let me guess here you are trying to delete the project you don't have ID for delete button as the number of projects are not fixed. Is that correct? If yes, then does project name is unique across the applications? - Angrez On Tue, Dec 29, 2009 at 6:20 PM, Josh Moore joshsmo...@gmail.com wrote:

Re: [wtr-general] XPath and IE

2009-12-29 Thread Željko Filipin
On Tue, Dec 29, 2009 at 10:55 AM, Josh Moore joshsmo...@gmail.com wrote: //*[local-name()=tr]/*[local-name()=td][text()=test_project]/../*[local-name()=td]/*[local-name()=a]/*[local-name()=img]...@title=Remove]/.. Does this work (not tested)? browser.image(:title = Remove, :after? =

Re: [wtr-general] XPath and IE

2009-12-29 Thread Josh Moore
Hi, I was able to figure out another solution by using the table object and iterating over it. However, if you have any ideas on the XPath I would still be interested in hearing about them. Thanks, Josh On Dec 29, 2009, at 6:33 PM, Angrez Singh wrote: Can you post the HTML? Why are you