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
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.
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
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 n
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, it
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
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
like
igoogle or liferay?
Q3: I can't have attach work properly for me.
if i got a link like this :
"http://www.google.com" target="_blank">.
and ie is my current page driver.
ie2= Watir::IE.attach(:url,'http://www.google.com')
if i did this, will the li
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
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 cur
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
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
com
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
computer. I'm pretty sure it's +not+ the newest version available.
How do I find out which version I installed?
Thanks
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
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
-
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 1.8.2-1
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
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 ru
In the HTML code I have a link with a href of mailto. When I click on it in
Watir, it brings up a window for the email message. I would like to attach to
that window just to verify that the link worked properly. How do I do this?
Html code:
xxx
Watir code so far:
ie.link(:text, /xxx/).click
i
what are you trying to recover from?
- Original Message -
From: "Lavanya Lakshman" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 04, 2007 9:43 PM
Subject: [Wtr-general] Recovery System in WATIR
> Hi All,
>
> Whenever we consider any tool for automation, the first and the foremost
> cr
Hi Jaordzz,
Comments are inline.
On 7/5/07, salamond <[EMAIL PROTECTED]> wrote:
Q1: how do you write your scripts?
If I want to set my username & passwd in a login form's text_field,
is there any other way except for dig into the html to see what the name
of text_filed is?
I use Firebug (ht
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 re
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
$autoit.S
23 matches
Mail list logo