[wtr-general] Re: How to click the ► on the page?
I guess you can click it as a simple cell using class atribute. $browser.cell(:xpath, //[EMAIL PROTECTED] = 'className' ]).click --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to click the ► on the page?
There was another thread here in the last week on just this same sort of thing. try reading this thread, which I think had sample code and all http://groups.google.com/group/watir-general/browse_thread/ thread/fc0e667e13574a61?hl=en# You'll need to fire the onclick event for that object, you can see in the HTML section you hilighted in your screenshot that's what's causing things to happen when the object is clicked On Dec 2, 7:43 am, wesley chen [EMAIL PROTECTED] wrote: Please see the picture enclosed. There is an text arrow on the page, when click the icon, another table will turn up, but how to click such a text arrow? Any suggestion would be appreciated. Thanks. Wesley Chen. arrow2.jpg 260KViewDownload --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to click the ► on the page?
Thanks to all of you. In fact, the issue is not so hard. I can't cope with the problem just because, I didn't tell from the 'cell' and 'table', I misunderstood that, the 'cell' can be replaced by 'table' all the time. Both the two method below can work: ie.cell(:id,/td0/).click ie.element_by_xpath(//td[contains(@onclick,'workoutNum')]/).click Thanks. Wesley Chen. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---