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
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 ,
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
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
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
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
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
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
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
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.
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
11 matches
Mail list logo