|
RE: links: msg#00051web.selenium.user
click //td[text()='Problems'] To test, I changed "banner.handleDestinationTable(8,null,this)" in your HTML to "document.location.href='http://www.google.com'" and this click action indeed made Google load in the test frame. Bam! :) - Guillaume Boudreau -----Original Message----- From: selenium-users-bounces-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx [mailto:selenium-users-bounces-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx] On Behalf Of Chen, Shu-Dan Sent: Friday, October 14, 2005 3:30 PM To: selenium-users-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx Subject: [Selenium-users] links Hi - I am trying to click on the link Problems, but I don't know how to. How would I write a script to click on a link like this one? <tr destination="/problems.asp"> <td class="banner_SelectCell" onmouseover="banner.handleDestinationTable(3,this)" onmouseout="banner.handleDestinationTable(4,this)"><img height="10" width="10" src="/oncall/graphics/banner/check.gif" style="visibility: hidden"></td> <td class="banner_SelectCell" onclick="banner.handleDestinationTable(8,null,this)" onmouseover="banner.handleDestinationTable(5,null,this)" onmouseout="banner.handleDestinationTable(6,null,this)" nowrap="true">Problems</td> </tr> Thanks! _______________________________________________ Selenium-users mailing list Selenium-users-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | links: 00051, Chen, Shu-Dan |
|---|---|
| Next by Date: | Using variables for open command's url: 00051, Guillaume Boudreau |
| Previous by Thread: | linksi: 00051, Chen, Shu-Dan |
| Next by Thread: | RE: links: 00051, Chen, Shu-Dan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |