[Wtr-general] Menu links have duplicate attributes
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? Garry West Trainee Test Analyst InPS Tel: 01382 564313 Visit our Web site at www.inps.co.uk The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of In Practice Systems Limited or any of its affiliates. If you are not the intended recipient please contact [EMAIL PROTECTED] P please don't print this e-mail unless you really need to. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Table has no unique attributes
I am quite new to watir and I am currently trying to automate some tests, however I am having difficulties clicking on a link within a cell in a table. I have done this before however this table has no name or id, Infact the only thing I have to identify the table is a class. I am assuming that I am not the first person to encounter this issue and I'm hoping that someone knows how to get around this problem. Anyone got any ideas?? Regards Garry West Trainee Test Analyst InPS Tel: 01382 564313 Visit our Web site at www.inps.co.uk The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of In Practice Systems Limited or any of its affiliates. If you are not the intended recipient please contact [EMAIL PROTECTED] P please don't print this e-mail unless you really need to. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Using watir to control JavaScript popups
I am new to watir and I am currently trying to automate some tests, however I am having difficulties automating a _javascript_ popup. This popup asks the user to confirm that they would like to log off, it has two options which are OK and Cancel. After reading some information from various web pages it would appear that this is a difficult thing to do... Any suggestions how to do this? Garry West Trainee Test Analyst InPS Visit our Web site at www.inps.co.uk The information in this internet email is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is not authorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of In Practice Systems Limited or any of its affiliates. If you are not the intended recipient please contact [EMAIL PROTECTED] P please don't print this e-mail unless you really need to. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general