[wtr-general] Simple Ruby script not working on Windows Vista IE8 configuration

2010-04-12 Thread Vijay Shinde
Hi all, I am newbie to Ruby Watir. I am getting error when I run a simple script on: WINDOWS VISTA and IE8 Ruby 1.8.6 and WATIR 1.6.5 Script is: require 'rubygems' require 'watir' browser = Watir::Browser.start https://nfgprimary-qa01/profile/

Re: [wtr-general] Simple Ruby script not working on Windows Vista IE8 configuration

2010-04-12 Thread Wesley Chen
Please try to remove require 'rubygems' from your script and then run it. Wesley. For life, the easier, the better. On Mon, Apr 12, 2010 at 1:47 PM, Vijay Shinde shindevija...@gmail.comwrote: ode:0x800706b5 -- Before posting, please read http://watir.com/support. In short: search before

Re: [wtr-general] Re: How to use the Firewatir in Mac

2010-04-12 Thread Angrez Singh
I hope you all are using the new XPI for Firefox 3.6.x from here: http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-2%29InstalltheJSSHFirefoxExtension - Angrez On Sun, Apr 11, 2010 at 1:10 AM, John Williams jwil...@gmail.com wrote: Hello, The Contents folder is

Re: [wtr-general] Simple Ruby script not working on Windows Vista IE8 configuration

2010-04-12 Thread Željko Filipin
On Mon, Apr 12, 2010 at 7:47 AM, Vijay Shinde shindevija...@gmail.com wrote: WINDOWS VISTA and IE8 I remember hearing that people having problems on Vista if they did not install Watir as administrator, or if they do not run it as administrator. Željko -- watir.com - community manager

Re: [wtr-general] File Download on Mac

2010-04-12 Thread Željko Filipin
On Mon, Apr 12, 2010 at 2:53 AM, Lonny Eachus lon...@gmail.com wrote: My jssh and FireWatir are working just fine. Have you tried with SafariWatir? Maybe it works there, or you could see how it has implemented it. In any case, if you get it working, please let us know. Željko -- watir.com -

[wtr-general] Grrr! click_no_wait does not work :-(

2010-04-12 Thread Rats
I've been looking at ways of handling pop ups and it appears the way to go is via click_no_wait. Unfortunately this is not working for me as when I run the click_no_wait command it just flashes the button and does not click it hence no popup window. I'm running: ruby 1.8.6 (2007-09-24 patchlevel

Re: [wtr-general] Grrr! click_no_wait does not work :-(

2010-04-12 Thread Eric Mathiesen
Might be a simplistic answer, but have you set focus to the child popup window? On Mon, Apr 12, 2010 at 1:56 PM, Rats crapats...@yahoo.com.au wrote: I've been looking at ways of handling pop ups and it appears the way to go is via click_no_wait. Unfortunately this is not working for me as

Re: [wtr-general] Grrr! click_no_wait does not work :-(

2010-04-12 Thread Ethan
Is the popup triggered by an onclick event, or an onmouseup or onmousedown event? If it's the latter, watir won't trigger it; #click and #click_no_wait don't do those events. you'll have to explicitly fire_event_no_wait('onmousedown') or mouseup. On Mon, Apr 12, 2010 at 16:57, Eric Mathiesen

[wtr-general] Re: Grrr! click_no_wait does not work :-(

2010-04-12 Thread Rats
On Apr 13, 8:57 am, Eric Mathiesen mathiese...@gmail.com wrote: Might be a simplistic answer, but have you set focus to the child popup window? I am fairly sure it's not a hidden pop up or anything like that as if I manually click the button (after click_no_wait flashes it) the pop up is

[wtr-general] Re: Grrr! click_no_wait does not work :-(

2010-04-12 Thread Rats
On Apr 13, 9:11 am, Ethan notet...@gmail.com wrote: Is the popup triggered by an onclick event, or an onmouseup or onmousedown event? If it's the latter, watir won't trigger it; #click and #click_no_wait don't do those events. you'll have to explicitly fire_event_no_wait('onmousedown') or

[wtr-general] The click_no_wait flashing issue

2010-04-12 Thread Rats
Ok, I've done much research into this and it appears to be a current issue: http://jira.openqa.org/browse/WTR-320 It was thought to have been resolved but the ticket was reopened in later March as many people are still reporting issues with click_no_wait. -- Before posting, please read

[wtr-general] Handling popups without using click_no_wait

2010-04-12 Thread Rats
Given I simply cannot get click_no_wait working with my current configuration are there any other ways of handling js popups? Currently I'm using: Win7 IE8 Watir 1.6.5 Ruby 1.8.6 (1 click installer version) -- Before posting, please read http://watir.com/support. In short: search before you

Re: [wtr-general] Handling popups without using click_no_wait

2010-04-12 Thread Bill Agee
There are several different approaches to this - I'd start with the examples on the pop-up FAQ pages, hopefully one of them will work for you: http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups http://wiki.openqa.org/display/WTR/Pop+Ups http://wiki.openqa.org/display/WTR/Security+Alerts

Re: [wtr-general] Re: Grrr! click_no_wait does not work :-(

2010-04-12 Thread pallavi shashidhar
Hi, There is an issue with click_no_wait in 1.6.5 . Pls read this http://jira.openqa.org/browse/WTR-320 Try adding the patch to page_container.rb This fix should get your click_no_wait working. Regards, Pallavi On Tue, Apr 13, 2010 at 3:23 AM, Rats crapats...@yahoo.com.au wrote: On Apr 13,