Re: [Wtr-general] need help on Data Driven

2007-07-10 Thread Lavanya Lakshman
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) ___

Re: [Wtr-general] Selecting controls in a dialog box

2007-07-10 Thread Lavanya Lakshman
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

Re: [Wtr-general] Reading Static data

2007-07-09 Thread Lavanya Lakshman
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

Re: [Wtr-general] Exist method is avaliable in WATIR

2007-07-09 Thread Lavanya Lakshman
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

Re: [Wtr-general] Receiving extensive warning messages while trying to run Watir Ruby scripts

2007-07-08 Thread Lavanya Lakshman
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

[Wtr-general] Receiving extensive warning messages while trying to run Watir Ruby scripts

2007-07-04 Thread Lavanya Lakshman
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

[Wtr-general] Recovery System in WATIR

2007-07-04 Thread Lavanya Lakshman
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

Re: [Wtr-general] Unable to click on links with the same text

2007-07-03 Thread Lavanya Lakshman
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

Re: [Wtr-general] Unable to click on links with the same text

2007-07-03 Thread Lavanya Lakshman
Thanks Zelijko!!! It worked :) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general