[wtr-general] Re: Unable to locate element

2009-05-20 Thread Kamesh G
HI Siva, My script is working fine. Main problem in the scripts was, all the objects are in the IFrame. I used the below command it is working fine. ie.frame(:id, "evaluationsIframe").link(:text, "New Evaluation").click Thanks, Kamesh On Wed, May 20, 2009 at 12:18 PM, sHiVa wrote: > > Hi K

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
Hi, My ruby and watir having blow versions. ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] watir (1.6.2) and alos tried the below scenario b.link(:href, /userInbox/).click getting below error Scenario3.rb:25: undefined local variable or method `b' for main:Object (NameError) Thanks, Kam

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
Hi Michael, All the objects are available Inside Table. Table is under Form. New Voice Record Thanks, Kamesh On Tue, May 19, 2009 at 9:04 PM, Michael Hwee wrote: > check to see the object is in a frame. > > -- > *From:* Kam

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
t > runs. You might discover that something earlier in your test is not > happening the way you think it is. > > Jim > > > On May 19, 10:34 am, Michael Hwee wrote: > > check to see the object is in a frame. > > > > > > From: Kame

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
Hi James, I tried with the script having #. Still getting same error. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:52:in `assert_exists': Unable to locate element, using :href, "/inbox/userInbox.jspx#" (Watir::Exception::UnknownObjectException) from c:/ruby/lib/ruby/gems/1

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
Hi Siva, I tried with below scenario. In this case my previous statement getting failed. EX: My script having follwoing statements. once i have included 4th script i am getting be ie.select_list(:id, "selectOneChoice1").set("Evaluate") ie.select_list(:id, "selectOneChoice1").click ie.link(:text

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
Hi , I have tried with all the three options. Still i am getting same error message Thanks, Kamesh On Tue, May 19, 2009 at 7:37 PM, Ċ½eljko Filipin wrote: > On Tue, May 19, 2009 at 3:44 PM, Kamesh wrote: > > ie.link(:href, "/faces/faces/client/inbox/userInbox.jspx").click > > I think that Int