Re: [Wtr-general] What are people using for 'test executive'?

2007-03-14 Thread John
We use Mercury Quality Center as test management tool and WinRunner for executing the tests. Obviously this is all well integrated. We now want to switch from WinRunner to Watir, but still be able to run the tests from Quality Center. I know this is possible with the custom test type of QC, but

[Wtr-general] Why file_field Is Not Working With Watir 1.5

2007-03-14 Thread san
require 'watir' include Watir ie = IE.new ie.goto('www.rapidshare.com') ie.file_field(:name,filecontent).set('c:\\123.xls') I Don't Know Why Its Not Working...? The Programs Goes To Rapidshare Exits Normally No warnings Or Anything Like Autoit Is Not Registered Or Something Else, But

Re: [Wtr-general] Why file_field Is Not Working With Watir 1.5

2007-03-14 Thread san
And Its Giving The Following Error With watir-1.5.1.1158: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1830:in `method_missing': document (WIN32OLERuntimeError) OLE error code:80070005 in Unknown Access is denied. HRESULT error code:0x80020009 Exception

[Wtr-general] Unable to load watir/contrib/enabled_popup

2007-03-14 Thread John
Hi, Probably a newbie question, but when I use this in my script: require 'watir/contrib/enabled_popup' then I get an error: c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_re quire': no such file to load -- watir/contrib/enabled_popup (LoadError) What am I

Re: [Wtr-general] Is there a global variable to control the scripts

2007-03-14 Thread Adam Reed
I guess this replaces the browser.set_fast_speed setting? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Wednesday, March 14, 2007 12:56 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Is there a global variable to

Re: [Wtr-general] What are people using for 'test executive'?

2007-03-14 Thread udof
We use FitNesse from www.fitnesse.org to store and execute our tests. Its basically a wiki to store tests. The tests are expessed in form of tables. We dropped Watir in favour of Selenium and use Java instead of ruby to write the adapter/fixture between selenium and FitNesse. But FitNesse has a

[Wtr-general] ruby 1.8.6

2007-03-14 Thread Max Russell
Any early birds tried this out? If so, have any changes had an impact on Watir? I'm a bit of a lurker when it comes to upgrading (comes from too many times of totaling my Ubuntu system..) Max Russell Test Analyst. INPS Tel: 01382 223900 Fax: 01382 204488 Visit our Web site at

[Wtr-general] Simulate Right Click Open in New Window

2007-03-14 Thread Jim Hollcraft
Is there an easy way to simulate a user right clicking a link and then choosing Open in New Window? Grabbing the url of a link and opening a new window with it looks slightly different to the server -- I think that at least the referrer in the header is blank in this case. I'm not sure what

Re: [Wtr-general] Unable to load watir/contrib/enabled_popup

2007-03-14 Thread Željko Filipin
Do you have watir 1.5 or 1.4? -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to call different test cases???

2007-03-14 Thread Željko Filipin
On 3/14/07, Jet Aquino [EMAIL PROTECTED] wrote: Main.rb contains the codes that will call other scripts like login.rb, compute.rb, logout.rb. Put this in Main.rb require login require compute require logout -- ZeljkoFilipin.com ___ Wtr-general

Re: [Wtr-general] Windows 2003 64-bit and IE.new_process Fails

2007-03-14 Thread Jim Hollcraft
can't convert String into Integer trying to execute Win32API.new in the below code from ie-new-process.rb: module Watir def self.process_id_from_hwnd hwnd pid_info = ' ' * 32 Win32API.new(user32, GetWindowThreadProcessId, 'ip', 'i'). call(hwnd, pid_info)

Re: [Wtr-general] ruby 1.8.6

2007-03-14 Thread Charley Baker
Watir's modal_dialog works with Ruby 1.8.2 only currently. Otherwise, everything else should work fine. -Charley On 3/14/07, Max Russell [EMAIL PROTECTED] wrote: Any early birds tried this out? If so, have any changes had an impact on Watir? I'm a bit of a lurker when it comes to

Re: [Wtr-general] How to call different test cases???

2007-03-14 Thread Chris McMahon
There is a good discussion of this on p. 159-160 of Programming Ruby. (Second edition). If you spend any significant time with Ruby, having this book is really important. -Chris On 3/14/07, Jet Aquino [EMAIL PROTECTED] wrote: Hi, I was wondering if you guys can help me out. I'm kinda lost in

[Wtr-general] Identifying Correct column from multiple header row that spans cells?

2007-03-14 Thread Mark
Hi all, Thanks for any help you can give... this has been bugging me for a while. I have a table that has 2 rows that are used for column headings. However, some cells span more than one cell. This results in the incorrect calculation of the column. Instead of using a hard coded index

[Wtr-general] Consistent browser lockup when running watir tests

2007-03-14 Thread Brian Button
Hi, all, We have a bunch of watir tests written, using the newest version of watir, and we're seeing several of them locking up in the same places each time they're run. The symptoms are that the browser starts trying to connect to our page, and it just hangs there never actually connecting.

Re: [Wtr-general] http_error_checker on IE7

2007-03-14 Thread Bach Le
Charley and Paul, I'm running the latest gem and trying to use the navigation checker with IE7, however, the code that was committed does not work. The get the following error: 1) Error: test_1(TestCase): WIN32OLERuntimeError: navigator OLE error code:80070005 in Unknown Access is

Re: [Wtr-general] Identifying Correct column from multiple header row that spans cells?

2007-03-14 Thread John Lolis
I have no idea if this will help you, i wrote it awhile ago and it still works for me. I ripped out as much app specific junk as i could :) look at 'multi_find' and work your way down. Its not exactly what you want but might give you ideas. find_value would be values in rows, find_type would

Re: [Wtr-general] http_error_checker on IE7

2007-03-14 Thread Paul Rogers
what site are you running against? the access denied is usually becasue of a frame issue Paul - Original Message - From: Bach Le [EMAIL PROTECTED] Date: Wednesday, March 14, 2007 12:17 pm Subject: Re: [Wtr-general] http_error_checker on IE7 Charley and Paul, I'm running the latest

Re: [Wtr-general] http_error_checker on IE7

2007-03-14 Thread Bach Le
I just set up apache on my local machine and hit the localhost for a document that doesn't exist. I played around with it some more after I posted that last message. I fired up IRB and issued the command that way and it worked. So i went back and ran my test and it works now. I don't know why

[Wtr-general] OT: Anyone using screen capture software to make WATIR tutorials?

2007-03-14 Thread Richard Conroy
I thought it would be a straightforward process to record my screen activity as a way to train up some testers in our company. The advantages being that they could be tailored for our own products, and many of the people are distributed worldwide. Basically show an IRB session interacting with

Re: [Wtr-general] http_error_checker on IE7

2007-03-14 Thread Bach Le
Paul, here are the steps i used to produce the problem 1. IRB 2. create new IE window which should goto about:blank 3. issue command ie.document.invoke('parentWindow').navigator.appVersion 4. I do not get the error 5. call ie.goto('http://localhost/doesnotexist.html') and I get a HTTP 404 not

Re: [Wtr-general] http_error_checker on IE7

2007-03-14 Thread Paul Rogers
there is probably no document available to get the navigator version from :-( I guess my simple way of doing this was too simple Paul - Original Message - From: Bach Le [EMAIL PROTECTED] Date: Wednesday, March 14, 2007 1:21 pm Subject: Re: [Wtr-general] http_error_checker on IE7

Re: [Wtr-general] http_error_checker on IE7

2007-03-14 Thread Bach Le
Paul, do you know if it's possible to read the response headers from the server for a given page with IE? I've been looking around and I can't find any information on it. I'd be happy to write the code if someone can point me in the right direction. -Bach

Re: [Wtr-general] http_error_checker on IE7

2007-03-14 Thread Cain, Mark
You might try a tool like Fiddler. --Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bach Le Sent: Wednesday, March 14, 2007 1:16 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] http_error_checker on IE7 Paul, do you know if it's

[Wtr-general] I'm a little confused..

2007-03-14 Thread Marchionne, Robert
I'm a software QA person, and while I'm no programmer I consider myself to have some pretty good scripting skills. I like the idea of Watir, and have written a few test cases that work just great. I however am not having much luck moving beyond basics. The user forum, and FAQ sections of the

Re: [Wtr-general] I'm a little confused..

2007-03-14 Thread Cain, Mark
Take a look at the unittests that are included in the Watir installation. There is just about anything you might want to do is represented in those tests or can be easily derived from them. --Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [Wtr-general] I'm a little confused..

2007-03-14 Thread Bret Pettichord
The user forum, and FAQ sections of the openqa.org/water site are broken links Could you please provide details so we can fix them. Bret - Posted via Jive Forums

[Wtr-general] Fwd: [openqa-admin] IE issues

2007-03-14 Thread Bret Pettichord
FYI -- Forwarded message -- From: Patrick Lightbody [EMAIL PROTECTED] Date: Mar 14, 2007 5:59 PM Subject: [openqa-admin] IE issues To: [EMAIL PROTECTED] All, If any of your users report or have reported issues with IE not working on parts of OpenQA, please let them know the

Re: [Wtr-general] I'm a little confused..

2007-03-14 Thread Jeff Fry
On 3/14/07, Marchionne, Robert [EMAIL PROTECTED] wrote: I'm a software QA person, and while I'm no programmer I consider myself to have some pretty good scripting skills. I like the idea of Watir, and have written a few test cases that work just great. I however am not having much luck moving

Re: [Wtr-general] Simulate Right Click Open in New Window

2007-03-14 Thread Paul Rogers
i think you can do it by ie.whatever().fire_event('onContextMenu') then use autoit to send the key sequence Paul - Original Message - From: Jim Hollcraft [EMAIL PROTECTED] To: wtr-general@rubyforge.org Sent: Wednesday, March 14, 2007 7:44 AM Subject: [Wtr-general] Simulate Right

Re: [Wtr-general] http_error_checker on IE7

2007-03-14 Thread Paul Rogers
Im sure I came across something for this recently, but I cant remeber ( or find what) now. The best I came up with is to use the navigator object like this irb(main):015:0 ie.document.parentWindow.navigator.invoke('browserLanguage') = en-us you can see what properties/methods are available

[Wtr-general] Help on dropdown menu selection

2007-03-14 Thread swarna latha
Hi, Mark is a drop down button in a page with 2 options Mark as Read and Mark as Unread. I am able to click on the Mark button by $ie.button.(:name, top_bpress_topmark).click, but am unable to select the options. $ie.select_list(:name,top_read_unread).select(Mark as Unread) results in