[wtr-general] `assert_exists': Unable to locate element in watir

2013-04-10 Thread Suma Varada
Hi I am trying to use the drag and drop funtionality,as I run the script require rubygems require watir browser = Watir::Browser.new browser.goto xyz browser.a(:text = Profile Package).flash browser.a(:text = Profile Package).click puts browser.select_list(:name = 'lstTemplates').options

[wtr-general] `assert_exists': Unable to locate element

2010-08-13 Thread cyril.gonsal...@mastek.com
Hi, I am writing script for a testcase below. 1. Open Link abc.htm 2. Click link chat me on abc.htm 3. Enter text in the testfield on the newly opened page 4. Click submit button While written script for above like this # Reuired libraries require 'watir' site_text =

Re: [wtr-general] `assert_exists': Unable to locate element

2010-08-13 Thread Željko Filipin
On Fri, Aug 13, 2010 at 1:21 PM, cyril.gonsal...@mastek.com cyril.gonsal...@mastek.com wrote: if yes then how to access objects e.g textfield in the browser i.e. opened by clicking the link in another browser You want to attach to another browser window?

RE: [wtr-general] `assert_exists': Unable to locate element

2010-08-13 Thread Cyril A. Gonsalves
Gr8 work dude…… Really helpful MASTEK LTD. In the US, we're called MAJESCOMASTEK ~~ Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless

Re: [wtr-general] `assert_exists': Unable to locate element

2010-08-13 Thread arihan sinha
you have to attach that new windows, do the activities and then close that and come back to your original browser. in my ruby+watir framework I use the below if any new window opens where i need to do anything if attach_url(/url in reg exp/) then enter_text_into_text_field_text(Enter the value

RE: [wtr-general] `assert_exists': Unable to locate element

2010-08-13 Thread Cyril A. Gonsalves
Thanks a lot for useful info... MASTEK LTD. In the US, we're called MAJESCOMASTEK ~~ Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless

[wtr-general] `assert_exists': Unable to locate element

2009-02-05 Thread RK
Hi Frnd, I have updated ruby Watir from 1.5.3 to 1.6.2 and getting below issues. Code: require 'rubygems' require 'watir' @@browser = Watir::IE.new() @@browser.goto(www.google.com) @@browser.text_field(:name,'q').set('watir') @@browser.close Issues : 1) It Opens two browser windows( Blank