Hi.
Thanks for the suggestions. I have only just started with WATiR so
still feeling my way into it. OO is a bit of a new thing for me and I
need to get some thing up and running quickly to demostrate the
benefit of automation.
I have started with a driver script to call my test scripts. In
I think this question answered before. You can search archives. But I
added this to wiki FAQ. I also give wiki text here.
Q. What I'd like to do, is to have a configuration file (eg.
config.txt), which would have a number of key/value pairs, such as
UserName=user, which would be read by a test
Thanks! I know it will raise an exception somehow.
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of saud
azizSent: Monday, August 29, 2005 1:17 PMTo:
wtr-general@rubyforge.orgSubject: Re: [Wtr-general] how to
determine if checkbox is
This email is to be read subject to the disclaimer below.
I will be out of the office starting 29/08/2005 and will not return until
05/09/2005.
I will respond to your message when I return. If you have any questions
regarding TI please direct them to Jim Edwards or Amy Holden, Otherwise
hello Kingsley Hendrickse,
thank you for sending me the program (datahandler.rb)regarding reading frm a csv
file.It's working fine for me now.
Thanks a lot.
Regards,Nishita AcharyaBangalore.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
I apologize in advance if this question has already been asked. I'm
new to the list and the hunting and pecking in the archives didn't
turn up an answer. (Aside: is there a search engine on the archives?)
My problem is I'm getting an error when attempting to do a very simple
assignment to a
Hi Stephanie,
Are you using a released version of Watir 1.4 or something off the SCM
repository?
I was trying to locate the source of the problem from your stack trace:
from D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1766:in `assert_exists'
from
Raghu,
I installed 1.4 originally then I overwrote that installation via the
gem. The gem is listed as 1.4.1.
Thanks for looking into this!
Steph
On 8/29/05, Raghu Venkataramana [EMAIL PROTECTED] wrote:
Hi Stephanie,
Are you using a released version of Watir 1.4 or something off the SCM
Hi.
I am deleting an item in my application and I have a 'Microsoft
Internet Explorer' popup window with Ok and Cancel.
I am unable to click the OK button. This is what I have tried so far:
1.
ie = Watir::IE.attach(:title, /Microsoft Internet Explorer/)
ie.button(:value, OK).click
2.
require
Hi Stephanie,
This is getting intersting. I just did a gem install of watir myself,
but still
couldn't find the method 'locate' as shown by:
D:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3205:in
`locate': undefined
However I got the latest version HEAD version from cvs
repository and that
Raghu,
My simple case works! But I had to replace all the .rb files from the
gem, not just the watir one. I have no idea how I got the CVS version
of Watir installed. Thanks so much for the help!
Steph
On 8/29/05, Raghu Venkataramana [EMAIL PROTECTED] wrote:
Hi Stephanie,
This is
Hi,
I've been writing a test script for each individual test case. How do I
consolidate all my test scripts into a master test script so all I would
need to execute is the master test script? Will I need to make each
testcase a function?
Thanks,
Ben
There are a number of ways you can do it.
You should use the Ruby Test::Unit framework.
From there, you can either wrap each of your existing test scripts
with a function and have one test case object that contains all of
them
Or you can build a separate class to wrap each of your scripts and
That's one way to do it ... Another is to use YAML which has a pretty
heavy following with the Ruby community in general...
So, the following would do the same ...
You can simply use a hash to store things... Here's a quick script to
load up a sample
--SCRIPT--
require 'yaml'
config =
I'm pretty sure than none of the Watir releases included the 'locate'
method -- that is only in head.
When we created the 1.4.1 release, we were careful to only include minor
fixes and updates that we were pretty sure would not break WET (for 1.4).
It may be worth noting that the regular
Ron made this helpful comment to a recent feature request:
Comment By: Ron Evans (greatbignoise)
Date: 2005-08-26 19:19
Message:
Try adding this code to the ObjectActions class:
# This method checks to see if a control is visible or not
# raises: UnknownObjectException if
At 09:38 PM 8/26/2005, Paul Rogers wrote:
The first time I ran ( all_tests.rb), somethig went wrong about the time
the screen capture tests ran - IE closed and every test after that failed.
This also happens to me.
Second time I got this:
1) Error:
test_table_from_element(TC_Tables):
You can run watir with the -b switch to make it faster. We are also working
on other methods to improve performance.
But 200 sessions is a lot for watir. Most boxes cannot support that many
instances of IE, whether you are using watir or just creating IE sessions
manually.
So i agree with
Stories item #2338, was opened at 2005-08-30 00:24
You can respond by visiting:
http://rubyforge.org/tracker/?func=detailatid=1999aid=2338group_id=104
Category: Website
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Bret Pettichord (bret)
Assigned to: Nobody (None)
Summary:
At 12:12 AM 8/25/2005, saud aziz wrote:
For now i want to know if there is any IDE for Ruby that provides
intellisense? Ecllipse plug-in maybe anyone...?
No.
_
Bret Pettichord
www.pettichord.com
___
Wtr-general mailing list
20 matches
Mail list logo