[Wtr-general] Button identification

2007-04-25 Thread Tunde Jinadu
Hi, Apart from id: Value: Name: How else can a button be recognised, I'm having problems with a button being recognised, if i run the script in isolation, the button in question is selected (as well as if I do the flash method from a console session) but if if I call the script using Load

Re: [Wtr-general] Button identification

2007-04-25 Thread Željko Filipin
Hi Tunde, In watir 1.5 I think you can use any attribute of a tag (like class), but I am not sure about that. ie.button(:class, my_class).click you can also use index ie.button(:index, 1).click or html ie.button(:html, /fancy_attribute='something'/).click or xpath ie.button(:xpath ,

Re: [Wtr-general] Button identification

2007-04-25 Thread Tunde Jinadu
Here you go input type=submit name=ctl00$xx$bt_next value=Next onclick=if (typeof(Page_ClientValidate) == 'function') { if (Page_ClientValidate() == false) { return false; }} this.value = 'Next';this.disabled = true;__doPostBack('ctl00$xxx$bt_next',''); id=ctl00__bt_next

Re: [Wtr-general] Button identification

2007-03-01 Thread Simba
Hi, Thanks Charley for your replay but we can not use Devtoolbar in IE browser they [developers] are disabling IE toolbar as soon as we log in to our application.(Even F5 F11 is disabled). thanks simba - Posted via Jive

Re: [Wtr-general] Button identification

2007-02-28 Thread Charley Baker
Try using the ie developer toolbar. I've finally added this to the Watir FAQ: http://wiki.openqa.org/display/WTR/FAQ#how-to-identify-html-elements -Charley - Posted via Jive Forums

Re: [Wtr-general] Button identification

2007-02-26 Thread Bret Pettichord
Simba wrote: Thanks Bret , Toady i have seen that limitation in Watir site , i did not knew this limitation in Watir and also i am new to Watir , I have another question for you For some page I used ie.show_all_objects in CMD , it has given ouput something like this HTML Docuemnt

Re: [Wtr-general] Button identification

2007-02-26 Thread Chris McMahon
That's a frame. You need to do something like frame(:name, 'Quickwatch').show_all_objects On 2/22/07, Simba [EMAIL PROTECTED] wrote: Thanks Bret , Toady i have seen that limitation in Watir site , i did not knew this limitation in Watir and also i am new to Watir , I have another question

[Wtr-general] Button identification

2007-02-22 Thread Simba
Hi, I have several [b]Delete[/b] caption button on page , To identify them i am trying to use multiple properties but its giving error some thing like this ie.button(:text='Delete',:index=1) please anybody tell me how solve this problem. thanks Simba

Re: [Wtr-general] Button identification

2007-02-22 Thread Željko Filipin
Mind reading does not work (The Braidy Tester). Please send us your error message. -- Zeljko Filipin zeljkofilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Button identification

2007-02-22 Thread Bret Pettichord
Simba wrote: Hi, I have several [b]Delete[/b] caption button on page , To identify them i am trying to use multiple properties but its giving error some thing like this ie.button(:text='Delete',:index=1) please anybody tell me how solve this problem. This is a known (to me) problem.

Re: [Wtr-general] Button identification

2007-02-22 Thread Simba
Thanks Bret , Toady i have seen that limitation in Watir site , i did not knew this limitation in Watir and also i am new to Watir , I have another question for you For some page I used ie.show_all_objects in CMD , it has given ouput something like this HTML Docuemnt name=Quickwatch