I have also bounced off this one and found my apple scripting skills
haven't helped me greatly but I did come across this post on the Agile
Testing mailing list (hopefully attached)
This may help you a little (I mailed him straight away to ask to be put
on the list)
If it doesn't come through as
I have been using Watir for two days now and want to know about how to
modify the source watir.rb file. I installed the one-click install of
Watir. What did that do exactly? Does it install pre-compiled files, or
is everything source-based?
What I'm trying to do is modify the watir.rb file so
Michael,
"Imagine trying to create an automated spelling and grammar
checker without really *learning* English."
-- Actually, No... that is a programmers job... I am
not making the spelling checker... I am checking that the spell checker catches
all the mis-spellings on the page...
... I
My $.02
I have found the unittests invaluable for leaning a Watir as
well as automation test case structure. I have ripped-offborrowedsome
much from that source, and customized for my need, I cant even begin to
tell you! The learning curve can be steep down the automation path, but
if
Hi Brian,Just a thought, how about using regular expressions for matching name of such controls, whose value changes upon the way they are embedded inside the other controls? In that way you don't have to change the
watir.rb file.Regards,Angrez
___
Excellent! Thank you very much. This makes my life
a whole lot easier. I realize the "/" signifies the start and end of a regex,
butWhat does the $ mean?
Brian
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret
PettichordSent: Thursday, February 09, 2006 11:30 AMTo:
As I was typing in line 261 of very basic and repetitive Watir code, I
that much of this scripting should be able to be done declaratively,
especially when using the scripts to simply input values and check
responses. Has anyone done anything like this?
I envision an XML action list like:
Michael,
"Imagine trying to create an
automated spelling and grammar checker without really *learning*
English."
Actually, No...
that is a programmers job... I am not making the spelling checker... I am
checking that the spell checker catches all the mis-spellings on the page...
... I
Title: Re: Access denied problem is driving me nuts
This is in response to Access denied problem is driving me nuts dated Jan 19, 2006:
I'm new to watir and ruby and am currently checking it's feasibility against some of our in-house applications, one of the apps uses frames and most of
WATIR is like a debugger, in that debuggers neither find nor fix your bugs;
YOU do that. Rest assured, though, that learning Ruby is one of the more
pleasant experiences you'll have learning a programming language. And you
might want to review the list of helpful things that I posted in the
Thanks Sergio...
That is perfect... Exactly what I am looking for... A canned set of
scripts to do web testing... No fuss, no muss...
Regards,
Thom
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sergio Pinon
Sent: Thursday, February 09, 2006 1:00 PM
if I put the domain of the webpage that's causing problems into my 'Trusted Sites' in IE settings, it also gets around the 'Access denied' problems with frames.
For test purposes, I always have my IE set to the lowest possible security. This eliminates a lot of trouble. -Chris
On 2/9/06, Brian Vallelunga [EMAIL PROTECTED] wrote:
As I was typing in line 261 of very basic and repetitive Watir code, I
that much of this scripting should be able to be done declaratively,
especially when using the scripts to simply input values and check
responses. Has anyone done
For
example people have been using Perl rather than Bash for system admin for
years.
Traditionally
people using Bash have use a lot of other languages such as sed and awk to do
their work.
the
main advantages of using a langauge like Perl or Ruby are:
*
portability over operating
On Thu, 9 Feb 2006, Bill Agee wrote:
On the other hand, not using the XML config files will probably make
for a steeper learning curve. The tradeoffs are interesting.
Why is this, do you think? OK, XML syntax is pretty standard, but
the semantics will have to be learned. At least with Ruby
Thanks for sharing your solution. Very helpful.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi there, I am trying to find a way to find a particular string in an
HTML page and save it to a variable. It seems simple enough, but
I can't find the commands to help me do it yet.
Our Dot-Net app assigns Unique ID's to various objects within the
system. For example, if you create a new
I always like to use the _javascript_
objects. So one way is to be able to get the _javascript_ underlying object from
the div reference in WATIR. Then when you get that just call the getAttribute()
method on that object and pull out the attribute that you would like. Another
way would be
Yes, this is one of the options need be considered.
Thanks,
Rose
Hugh Sasse [EMAIL PROTECTED]
Hugh Sasse [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
02/09/2006 01:20 PM
Please respond to
wtr-general
To
wtr-general@rubyforge.org
cc
Subject
Re: [Wtr-general] Ruby on AIX
On 2/9/06, Hugh Sasse [EMAIL PROTECTED] wrote:
On Thu, 9 Feb 2006, Bill Agee wrote:
On the other hand, not using the XML config files will probably make
for a steeper learning curve. The tradeoffs are interesting.
Why is this, do you think? OK, XML syntax is pretty standard, but
the
Regular expressionliness is next to
godliness.
# This next line will set its_there to true if, in the html
for the page, it sees
# the string "customerID="followed by any
seventeen characters, and
# (courtesy of the parens) will set $1 to whatever those
seventeen
# characters are.
Tonight's example: parsing an HTML document to find a
regular _expression_. I'm not aware of any simple way to get a shell script
to download a page, follow a link, grab a graphic from a page, etc., etc.,
etc.
The purpose of any powerful language is to make stuff
easier. Shell scripts are
22 matches
Mail list logo