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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
32 matches
Mail list logo