[Wtr-general] Menu links have duplicate attributes

Paul Carvalho tester.paul at gmail.com
Mon Jan 8 09:49:50 EST 2007


I also have duplicate menu names in one of our apps.  I just use the link's
index number instead.  It's not as nice or convenient as using the text, but
I don't mind hard-coding a link index every now and then if it means I can
get on with the test and move onto the next thing.


On 08/01/07, Garry West <gwest at inpses.co.uk> wrote:
>
>  I am currently having a problem clicking on a menu item.  This menu item
> has the same attributes as another menu item, but they both do different
> things.  I was using ie.frame("left").link(:id, "21").click (example)
> however because the link id's change depending on the user access rights I
> found it time consuming and difficult to manage.
>
> I am now using ie.frame("left").link(:title, "Edit News").click
> (example).  This has now caused a problem because we have two links, both of
> them with the same title, but within different directory folders in the menu
> tree.
>
> Does anybody know of a solution to this problem?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070108/d0f31f08/attachment.html 


More information about the Wtr-general mailing list