I am new to watir and I am currently trying to automate some
tests, however I am having difficulties automating a _javascript_ popup.
This popup asks the user to confirm that they would like to log off, it has two
options which are OK and Cancel.
After reading some information from
On 13/11/06, Garry West [EMAIL PROTECTED] wrote:
I am new to watir and I am currently trying to automate some tests, however
I am having difficulties automating a JavaScript popup. This popup asks the
user to confirm that they would like to log off, it has two options which
are OK and
Which version of Watir are you using?
--Mark
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Garry West
Sent: Monday, November 13, 2006
5:04 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Using watir
to control _javascript_ popups
I am new
At the end I decided to use Watir only. I took a closer look at application that I test and found out that there are labels for elements.input id=ctl00_subContent_userNameInput type=text
label for="" id=ctl00_subContent_Label1Username/labelI added this to the end of Watir::TextField#setwhat =
I figured this out...after a colleague pointed me at Andy Sipe's blog:
http://zbarzone.blogspot.com/2006/04/getting-xml-test-results-from-rails
_06.html
the relevant code I needed to add:
require 'test/unit/collector/objectspace'
#replace class def for the suite with one line
suite =
Hello,I'm attempting to use watir to check for _javascript_ memory leaks. But I can't find a way to check the memory usage of IE though watir. Is there any way to do this?Thanks.Rob
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Hi bb_tester. You have a very good point. As of right now, the test is always
running on my personal development machine, though we are already working on
building a spider/bot environment. This will minimize the possibility that
another process is taking over or killing our process, but I
Rob Mayhew wrote:
I'm attempting to use watir to check for JavaScript memory leaks. But I
can't find a way to check the memory usage of IE though watir.
Is there any way to do this?
That requires kernel-level programming.
Win32 uses virtual memory. As IE runs, no matter what it does, its