i have this code:
$ie1.radios.each do |chk|
chk.focus
if $ie1.button(:index,2).exist?
then
$autoit.BlockInput(1)
$ie1.button(:index,2).click
We are trying to find some tools to help us in web automation testing.
Selenium WET Watir are all reviewed.
Finally we choose Watir 'coz it's pure scriptable.
Using Selenium and WET will make our scripts highly rely on IDE,
which is not what we want to.
But there's several problems these days
You need to register AutoIt. In a command window, navigate to the directory
where you've put AutoIt and type:
regsvr32 AutoItX3.dll
-Charley
On 7/5/07, mihai [EMAIL PROTECTED] wrote:
i have a script in wich im using an autoit control:
$autoit= WIN32OLE.new(AutoItX3.Control)
i want to test my
It's likely that you have multiple Watir requires with different casing
somewhere in your files:
require 'watir'
and
require 'Watir'
That'd be my first guess. Check your scripts for requires.
-Charley
On 7/4/07, Lavanya Lakshman [EMAIL PROTECTED] wrote:
I have installed 1.8.5 version of
Thanks the unit tests are of course the obvious resource, sorry.
But trying them I am now confused. I am running the following test with
the subsequent error. I have run out of brain. I cannot attach the
'Another' modal dialog. Can I borrow some brain?
Environment
Ruby
watir doesnt support doing this itself. You could probably write something
to do this using auto-it. But an easier way is to probably test it once
manually, and then save the link details. and instead of clicking the link,
just make sure it hasnt changed from when you manually tested it
Paul
Yep - if you really read your method, you're asking watir to attach an
IE instance itself to an MS Outlook window with the url ofthere
won't be a url because it's an MS Outlook window.
The simplest solution I can think of without delving into AutoIT would
be to set your default mail client to
Open a command prompt, type:
ruby -e require 'watir'; puts Watir::IE::VERSION;
-Charley
On 7/5/07, Nadine Whitfield [EMAIL PROTECTED] wrote:
Hi-
there may already be a thread about this, but I could not find it.
I recently used the Windows .exe (rather than Gem) to install Watir on my
Hi,
Type the following at a command prompt:
ruby -e 'require watir;puts Watir::IE::VERSION'
George
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Interesting.
I think I have worked out my understanding problems but now I get this
problem. Maybe I need an older rev of Ruby 1.8.2?
Environment
Ruby 1.8.2-15
MS Vista
watir-1.5.1.1166
Error Message
NoMethodError: IE#modal_dialog not supported with the
I am trying again:
Does anybody know anything about getting the DOM or attaching with Watir
when the IE browser is embedded in an application, such as with
Microsoft smartclient? When the application in question is running, it
is obviously just a wrapper around IE and it displays the same web
it can't find the
object with url "www.google.com".
anybody know what's going wrong ?
thanks
Jaordzz
-- next part --
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070705/e94a90d1/attachment-0001.html
Thanks. This was an easy change and it works great.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi all!
I'm trying to use the verify method from assertions.rb, but I keep getting the
following error:
undefined method 'verify' for main:Object (NoMethodError)
I've added
require watir/assertions
to the beginning of my script, but still can't use the verify method. Is
anyone else using
My guess is that you could attach to the embedded browser if you can get a
handle to the ie instance and then attach to the handle using
ie.attach(:hwnd, handle). You may be able to get a handle by navigating
through windows, simalarly to the way it's set up in Watir by using
Shell.Application,
I think the error message may be misleading. I think the problem may
actually be caused by the use of frames. Can you show us the code that
is failing?
Bret
Michael Kernaghan wrote:
Interesting.
I think I have worked out my understanding problems but now I get this
problem. Maybe I need
Tiffany Fodor wrote:
Hi all!
I'm trying to use the verify method from assertions.rb, but I keep getting
the following error:
undefined method 'verify' for main:Object (NoMethodError)
I've added
require watir/assertions
to the beginning of my script, but still can't use the verify
Lavanya Lakshman wrote:
Whenever we consider any tool for automation, the first and the foremost
critical part is the recovery system.
Unfortunately I didn't get much info related to this on the website.
I would appreciate your thoughts and experience related to this.
I agree. Watir
I just added that line to the rest of the require/include statements at the
beginning of my script and it did the trick.
Thanks so much!
-Tiffany
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
19 matches
Mail list logo