Hi Lennart,
all_tests.rb are broken. You should be fine if core_tests.rb run fine.
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi, All
Following has been done, sorry for inconvenience.
*For String only*
if alphaString =~ (/[0-9]/) return false
*For Numeric Only*
if numericString =~ (/[a-z or A-Z]/) return false
*For Alpha Numeric*
if alphaNumericString =~ (/[a-z or A-Z]/) alphaNumericString =~ (/[0-9]/)
return
Željko Filipin wrote:
Hi Lennart,
all_tests.rb are broken. You should be fine if core_tests.rb run fine.
Thanks Željko. That is good to know, but surprising.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Bret Pettichord wrote:
Ah, good call. Another way to cure it might be to disable buffering
for $stdout completely, with:
$stdout.sync = true
Thanks. I looked for the syntax for that. I saw something like
IO#sync = true
That did not seem to work. Has it changed?
Actually
On 6/26/07, Lennart Borgman (gmail) [EMAIL PROTECTED] wrote:
That is good to know, but surprising.
Bret has opened a Jira ticket for it, but until now, only I have voted for
it to be fixed. So, I guess it does not bother other Watir users. If you
want it to be fixed, vote for it.
Željko Filipin wrote:
On 6/26/07, *Lennart Borgman (gmail)* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
That is good to know, but surprising.
Bret has opened a Jira ticket for it, but until now, only I have voted
for it to be fixed. So, I guess it does not bother other Watir
On 6/26/07, Lennart Borgman (gmail) [EMAIL PROTECTED] wrote:
of course test suits must be valid. I have just voted for it.
Isn't it strange to have a test tool that has broken unit tests? :)
Zeljko
___
Wtr-general mailing list
HOW U SOLVED YOUR PROBLEM TO CLICK A LINK IN IFRAME. I AM ALSO FACING SAME
PROBLEM. CAN YOU TELL ME HOW WATIR IS RECOGNIZING LINK OF IFRAME.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Thanks Walter,
I think I understand what you are trying to do here. The problem is that it
has to open a file first to get the line:
$: File.expand_path(File.dirname(__FILE__))
So how do you get it to find that first file?
Jim
- Original Message -
From: Walter Kruse
To:
What about punctuatuon characters?
-- Brian Colfer
- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: wtr-general@rubyforge.org wtr-general@rubyforge.org
Sent: Tue Jun 26 02:23:57 2007
Subject: Re: [Wtr-general] Form Validation
Hi, All
Following has been done, sorry for
Manish Sapariya wrote:
I ran into same problem and it worked. I had one question though? setup
and teardown is
called for every test in given test class. I don't understand the
reasoning behind this usage
model.
setup and teardown are methods Watir scripters sometimes choose to
import from
I am looking to evaluate the contents of a javascript popup using watir,
i have googled around heavily and found some code that people suggest would
work but nothing i have tried so far works, the only thing i have found myself
capable of doing is clicking the buttons. i dont want to click the
Do you have this require 'watir/contrib/enabled_popup' in code
script?
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chong Jiang
Sent: Tuesday, June 26, 2007 8:20 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Handling Popup
Could
*Sorry - here is my harness code (I've simplified it by removing the XLS
interface code and addAccounts test so that it might be easier to drill down on
the problem. I have run this code to make sure the problem still happens.):*
require win32ole
require watir
require test/unit
require
Yes. It doesn't seem to be a runtime error, the
ieObj.enabled_popup(10) just returns nil after it timeout's.
Chong
Do you have this require 'watir/contrib/enabled_popup' in code script?
--Mark
___
Wtr-general mailing list
After some tinkering, I think I've figured out my problem. It seems the
Test::Unit::TestCase functionality is expecting to open files and run them as
test cases rather than calls to methods in other files.
I was hoping to get all the data I need from a spreadsheet once, with the
harness code,
I noticed the line:
$ie.text_field(:name, Find Account).click
Is in both the end of the login method and the beginning of the
clickLinks method. Maybe that is throwing off the state that
clickLinks expects?
Also, maybe check to see if test_clickLinks is running before
test_login. If I recall
Problem seems to be small but i can not solve it so far.
On HTML page there is a frameset with 2 frames which do not have any name or id
attributes.
Is it possible to access those frames?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
I believe ie.frame(:index, 1) and ie.frame(:index, 2) will work.
Chong
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
If you mean the __FILE__ variable, it is a pseudo variable that
contains the current source file name. So it will work even when used
as the first line of a script.
It's really useful in cases like this, where you need to dynamically
add dir names to the load path before you try to require other
Think :index will work.
--- Denys Zakhzohyy [EMAIL PROTECTED]
wrote:
Problem seems to be small but i can not solve it so
far.
On HTML page there is a frameset with 2 frames which
do not have any name or id attributes.
Is it possible to access those frames?
Lennart Borgman (gmail) wrote:
Actually IO#sync means that you should call the sync method on an object
that belongs to the IO class. It does not represent executable Ruby
code. In your case it means to do $stdout.sync, as originally suggested.
Thanks, I had no idea of that. Is that
Bret Pettichord wrote:
Lennart Borgman (gmail) wrote:
Actually IO#sync means that you should call the sync method on an object
that belongs to the IO class. It does not represent executable Ruby
code. In your case it means to do $stdout.sync, as originally suggested.
Thanks, I had no
Lennart Borgman (gmail) wrote:
Bret Pettichord wrote:
It is a Ruby-specific meta language. It is often used in rdoc. I've seen
this lead to lots of confusion.
I would express this idea (IO#sync) thus:
io.sync = true
And the reader would then have to understand that io was an
When running IE.new_process, my process hangs. On my parallels XP it works
fine, on my other machine (hardware)XP it hangs.
Both machines are running ruby 1.8.6, with the 1192 gem. Are there any machine
or IE settings that could cause this to happen?
Thanks in advance,
Shawn
Bret Pettichord wrote:
Lennart Borgman (gmail) wrote:
Bret Pettichord wrote:
It is a Ruby-specific meta language. It is often used in rdoc. I've seen
this lead to lots of confusion.
I would express this idea (IO#sync) thus:
io.sync = true
And the reader would then have to
Either I don't get it, or I am not making myself clear. I am running
Eclipse 3.2.2 and the latest version of RDT.
I have statements in my files like the
$: File.expand_path(File.dirname(__FILE__))
That is not the problem! YOU HAVE TO BE ABLE TO OPEN A FILE BEFORE THE
ABOVE LINE WORKS!
When
Jeff Fry wrote:
Happily, setup and teardown are also optional methods for those of us
using Watir. If you don't want something to happen automatically at
the beginning of every run, don't put it in setup. Likewise with
teardown. For functional automation I often don't include these
28 matches
Mail list logo