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: > Hi, I attached the html as a file because it is pretty big. I am using > XPath because we are using XHTML and the namespace seems to render the other > accessor methods useless. > > Josh > > > -- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To post to this group, send email to watir-general@googlegroups.com > Before posting, please read the following guidelines: > http://wiki.openqa.org/display/WTR/Support > To unsubscribe from this group, send email to > watir-general-unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/watir-general > > > On Dec 29, 2009, at 6:33 PM, Angrez Singh wrote: > > 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: >> > >> //*[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 complicated xpath? I would try to access the element with the simplest >> xpath possible. >> >> >> Željko >> -- >> watir.com - community manager >> watirpodcast.com - host >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Watir General" group. >> To post to this group, send email to watir-general@googlegroups.com >> Before posting, please read the following guidelines: >> http://wiki.openqa.org/display/WTR/Support >> To unsubscribe from this group, send email to >> watir-general-unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/watir-general >> > > > -- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To post to this group, send email to watir-general@googlegroups.com > Before posting, please read the following guidelines: > http://wiki.openqa.org/display/WTR/Support > To unsubscribe from this group, send email to > watir-general-unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/watir-general > > > > -- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general