Try the following
Category is holding an array and not just a single variable. Thereby each
value needs to be picked up and then assigned.
category.each do |cat|
ie.text_field(:name,ctl00$ContentPlaceHolder1$txtCategory).set(cat.to_s)
___
Step 1:
Since it is a dialog box, Attach the focus to this page by using the following:
ie = Watir::IE.attach(:title, Web Page Dialog)
Step 2:
Do a puts ie.show_all_objects
This will give the various objects and their identification attributes.
Step 3:
Based on the above output, perform the
I had a similar problem and contains_text did work for me.
ie.contains_text(file successfully added)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
if (ie.link(:text, Hello).exists?)
puts the text link exists
else
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
HI,
Guess u had the rite point.
I was using watir with a different case.
Thx
Lavanya
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I have installed 1.8.5 version of ruby along with 1.4.1 version of Watir before
and didnt have any issues, until recently I was required to have a completely
new setup on a different machine.
Ruby I have installed from (http://rubyforge.org/frs/?group_i d=167) 1.8.25-21
version.
While
Hi All,
Whenever we consider any tool for automation, the first and the foremost
critical part is the recovery system.
Unfortunately I didn't get much info related to this on the website.
I would appreciate your thoughts and experience related to this.
Thanks and Regards,
Lavanya
I will revise my html file to make it more clear:
html
head
titleTitle of page/title
/head
body
This is my first homepage. bThis text is bold/b
a href=http://www.google.co.in;url/a
a href=http://www.google.co.in;url/a
/body
/html
To answer both of your question,
a) I am using latest version of
Thanks Zelijko!!!
It worked :)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general