I am testing an application whose UI controls are often difficult to
specify. Sometimes I can uniquely identify a control with one attribute,
and sometimes I need 3 or 4. Sometimes I can't see the difference between
multiple controls, so I need to use an index value as one of those 3 or 4
Hi,I think XPath extenstion to WATiR would be helpful in this case. Please download the tar ball from HEAD and read the supporting document in the 'docs' directory.Regards,Angrez
On 1/20/06, Andrew McFarlane [EMAIL PROTECTED] wrote:
I am testing an application whose UI controls are often difficult
Not sure if you guys realize it but there is an xml library available in Ruby
called REXML and from there you can use it in your WATIR scripts. I don't know
if you saw my last post but I had written a small testing framework on top of
Ruby and WATIR that utilizes REXML so that I can store my
Hi Sergio,The XPath extension internally uses REXML only to find the elements in IE DOM. Regards,AngrezOn 1/20/06, Sergio Pinon
[EMAIL PROTECTED] wrote:Not sure if you guys realize it but there is an xml library available in Ruby called REXML and from there you can use it in your WATIR scripts. I
I dont understand. Youre
saying that WATIR uses REXML to allow Xpath expressions against the IE DOM?
Sergio
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angrez Singh
Sent: Friday, January 20, 2006
10:56 AM
To: wtr-general@rubyforge.org
Subject: Re:
Title: How to Have Watir Run Unattended?
I know this may be a little bit of extra
work but here is what we do and it works fine.
We use CruiseControl.Net which is a
service that runs on our build machine and runs at timed intervals or we can force
it as well. But then from CruiseControl
Does anyone know how to set up Watir to run unattended? I'm having troubles
trying to do this using a Scheduled Task.
Hi,
I started looking into this a month ago and sidetracked. However,
it appeared that a scheduled task *would* work, but not if the
computer (desktop) was locked. I don't
Title: How is it possible to specify to look for a specific text in a specific tag?
I am fairly new to watir and think it is a great tool.
I have following code that fails to execute.
if ie.contains_text(:id, current :text, Groups)
puts Login Failed!:
else
puts Login Passed!
How is
Title: How to click a button that has no id or name attribute
input class=rec_butt type=submit value=Login
I have this input button that I like to click. Unfortunate it has not id or name attribute attached to it.
How can I click the button?
--Bernd
Title: How to click a button that has no id or name attribute
My mistake. I had a typo in the code.
ie.button(:value, "Login").click
works just fine.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paatsch,
BerndSent: Friday, January 20, 2006 5:02 PMTo:
Title: How to click a button that has no id or name attribute
You can just click the button by using the
value attribute:
browser.button(:value, Login).click;
That should work just fine.
Sergio
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paatsch,
Title: How is it possible to specify to look for a specific text in a specific
tag?
So if you have the control reference
already then what you would do is:
control_text = ie_browser.[control
reference].text;
if (control_text.index([text you are
looking for]) != nil)
The text is in
12 matches
Mail list logo