Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError)

2010-07-26 Thread chethan sarathy
Hi, I have uninstalled installed a 3.6.2 version, Added new Jssh again for 3.6 version. Still I am getting the same error, More over telnet localhost 9997 request is not getting connected. Pls help me on this. Thanks, Chethan --- On Fri, 23/7/10, Tiffany Fodor tcfo...@comcast.net wrote:

Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError)

2010-07-26 Thread chethan sarathy
Hi Currently I am getting following error following error, C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/jssh_socket.rb:12:in `js_eval':  Components is not definedReferenceError: Components is not definedReferenceError: Components is not definedReferenceError: Components is not

[wtr-general] Re: UTF8 encode in FireWatir under Mac

2010-07-26 Thread gs
Hi Ethan, Could you provide me with script example how to user vapir? As I have installed it (vapir-common, vapir-firefox) and how to continue with it? Shall I start my script with: require 'firewatir' ff = FireWatir::Firefox.new ? Br, GS On Jul 24, 1:52 am, Ethan notet...@gmail.com wrote:

[wtr-general] Watir::Exception::UnknownFrameException: Unable to locate a frame with index 4

2010-07-26 Thread Sats
Dear Watir Users, I am new to Watir... I was recording a test for my web application entering username and password and submit... I recorded the test using the Webmetrics RIA Script recorder... When I try to playback the recorded script it throwing an error at the line where I click the submit

[wtr-general] Firewatir attach method doesn't work properly

2010-07-26 Thread Amit Kumar
Hi All! I'm using Firewatir 1.6.5 I want to test an web application which open a pop up window. I want to attach this pop up window with firewatir. So, i have written below code: require 'firewatir' ff =FireWatir::Firefox.new ff.goto(www.example.com) ff.link(:text,Pop_up).click ff2=

[wtr-general] Re: Firewatir attach method doesn't work properly

2010-07-26 Thread Adam Reed
I'm not sure why that happens with the parent window, but you should be able to attach back to the parent: ff = FireWatir::Firefox.attach(:title, Parent Window) Thanks, Adam On Jul 26, 6:07 am, Amit Kumar amit.e...@gmail.com wrote: Hi All! I'm using Firewatir 1.6.5 I want to test an web

Re: [wtr-general] Re: UTF8 encode in FireWatir under Mac

2010-07-26 Thread Ethan
I've added a wiki page for this at: http://wiki.github.com/vapir/vapir/getting-started On Mon, Jul 26, 2010 at 05:46, gs grzegorz.q...@googlemail.com wrote: Hi Ethan, Could you provide me with script example how to user vapir? As I have installed it (vapir-common, vapir-firefox) and how to

[wtr-general] new page has no focus

2010-07-26 Thread KimBrown
There are a couple of spots in my application where nothing happens. I think it's because a page with no defaulted active field (ie., blinking cursor). Can I get watir to activate these pages? I've searched in the archives and found a focus command: $ie.text_field(:id, 'name'').focus() but it

[wtr-general] Re: new page has no focus

2010-07-26 Thread Tiffany Fodor
Hi Kim! The closest thing I've come across is when a page isn't finished loading and IE or Firefox times out. It doesn't really sound like that's your problem though. Have you tried using AutoIt send_keys to send a tab to put the focus on an element? $ie.send_keys({TAB}) Hope this helps!

[wtr-general] Re: Useful: Installing Watir from RubyGems from behind a proxy

2010-07-26 Thread Jason
I forgot one really important aspect to this - the %HTTP_PROXY% variable needs to be set. Make sure to set the environment variable %HTTP_PROXY% to your proxy server. This must be a hostname and port in URL form. E.g.: SET HTTP_PROXY http://proxy.corp.com:8080 Jason On Jul 23, 11:46 am,

Re: [wtr-general] facing issue with clicking buttons

2010-07-26 Thread Raveendran P
Hi Praveen, Have you tried these possibilities ? *canvas_frame.div(:class, 'J-Zh-I J-J5-Ji Bq L3').flash* * canvas_frame.div(:id, ': 15m ').flash canvas_frame.div(:id, ': 15m ').flash * On Fri, Jul 23, 2010 at 1:32 PM, praveen kumar praveen454gr...@gmail.comwrote: Hi John, I have

Re: [wtr-general] click_no_wait() is not working

2010-07-26 Thread Raveendran P
Hi Soori, http://raveendran.wordpress.com/2010/06/08/watir-click_no_wait-for-checkbox/If your_ruby_version != 1.8.6-26_patch level 111 URL -- http://raveendran.wordpress.com/2010/06/08/watir-click_no_wait-for-checkbox/ Please install the recommended version to fix the issue else Please