I don't think you are supposed to put single quotes around the regular
expression.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of rvishnubhotla
Sent: Wednesday, July 18, 2007 10:29 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-ge
You could have done this also:
ie.select_list(:name, "productId").select(/Catalyst 6500/i)
--Mark
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Željko Filipin
Sent: Wednesday, July 18, 2007 2:34 AM
To: wtr-general@rubyforge.org
S
(also 1-based). e.g. table[1][3].click
(click column 1 row 3)
You may need to tweek around with this a bit. You can use the flash
method to zero in on you target area.
Hope this helps,
--Mark
____
From: Cain, Mark
Sent: Thursday, July 12, 2007 6:57
First off, Tables currently support only two attributes in Watir 'id'
and 'index'. Since the Table in your does not use the 'id' attribute
you must supply the proper index. To identify what is the proper index
for this particular table do a 'View Source' on the web page you want to
use. Do a 'ct
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-gen
y select one
list_three = []
list_three = $ie.select_list( :name, 'list3').getAllContents
cnt = rand(list_three.length)
# If there is a placeholder item at the topmost selectlist position
bypass it
next if "#{list_three}" == ("-- Select One --")
$ie.selectBox( :name, 'list3').
Did you try using the 'click_no_wait' method for the link click?
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of san
Sent: Friday, June 22, 2007 2:26 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Can Someone Explain This Pls
The attached file works on my Windows XP/IE7 machine. It will delete
all the temporary internet files and the cookies. I don't remember
where I got it or who wrote it originally, but I tweaked it to get it to
work right for me.
Hope this helps,
--Mark
-Original Message-
role.role.select("my role")
Hope this helps,
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of TT Blue
Sent: Monday, June 11, 2007 11:00 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Handling Popup
Tried th
an alternative could be:
irb> ie.form(:index, 1).checkboxes.find_all{|checkbox| checkbox.checked?}
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
d_popup(10) if nil == hwnd
w.clickWindowsButton_hwnd(hwnd, button)
t.join
w = nil
}
End
...
# Start the thread before it gets locked by the JSPopup
startClicker( $ie, 'OK')
# The set spawns a JSPopup
$ie.checkBox( :name, "read_instructions")
You misspelled Cancel startClicker( "Calcel", 7 , "" )
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kui Zhang
Sent: Friday, May 11, 2007 4:36 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Handling popup messag
$ie.checkBox( :name, "read_instructions").set
As usual there is probably a better way of doing this...if you do
improve this please pass it on.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ethan Jewett
Sent: Tuesday, April 17
Does anyone have an answer to this? I can't seem to get the
click_no_wait to work for checkboxes.
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cain, Mark
Sent: Friday, April 13, 2007 10:05 AM
To: wtr-general@rubyforge.org
Su
I have a JS Alert that popups from clicking a checkbox. How can I use
the click_no_wait functionality for the 'set' method of the checkbox?
Thanks,
____
Mark L. Cain
LMIT - E*STARS(r) ~ Lead Test Engineer
1981 Snyder, MSIN: G3-62, Richland, WA 99354
[EMAIL
e and prints to Log file
sleep 5#Pause for five seconds
$ie.send_keys('{PRINTSCREEN}')#I use an application that takes screenshots
via the PrintScreen key and dumps the screenshot to a selected destination.
#I use Wisdom-soft ScreenHunter 4.0 from www.download.com (free). There are
others
This is all fine if you don't care about "hard coding" your table indexes or
don't expect your page layout to change.
Here is how I did it without using hard coded indexes.
(Note: use unique data that will get you the table you want. If there are
multiple tables nested within an outer table you
e(diff)
s += frac.to_f
File.open('C:\watir_bonus\working\pageSearchLoad_Times.txt', 'a+'){|d|
d.puts "Time to load page: " + "#{h} Hours, #{m} Minutes, #{s}
Seconds"}
Hope this helps,
--Mark
From: [EMAIL PROTECTED]
[
Take a look at the unittests that are included in the Watir
installation. There is just about anything you might want to do is
represented in those tests or can be easily derived from them.
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
You might try a tool like Fiddler.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bach Le
Sent: Wednesday, March 14, 2007 1:16 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] http_error_checker on IE7
Paul,
do you know if it
Hi all,
Thanks for any help you can give... this has been bugging me for a while.
I have a table that has 2 rows that are used for column headings. However,
some cells span more than one cell. This results in the incorrect calculation
of the column.
Instead of using a "hard coded" index valu
I am pretty sure your class need to inherit from Test::Unit::TestCase
(if that is the right way to say it).
class MyStuff < Test::Unit::TestCase
def verifyAndGo(linkName)
assert($ie.link(:text, linkName).exists?)
$ie.link(:text, linkName).click
end
end
--Mark
-Original Mess
est03_d;
load 'rt/rt_r_system_admin_nameserver.rb'
print 'G';
end
def test04_c;
load 'rt/rt_w_system_admin_nameserver.rb'
print 'H';
end
end
---
Hope this helps,
--Ma
Do we have a timeline on when this will work in 1.8.5? Is anyone
working on this?
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers
Sent: Thursday, March 01, 2007 11:16 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general
I'm running the Beta 3 release. It seems it's a known defect;
See
http://channel9.msdn.com/wiki/default.aspx/Channel9.InternetExplorerDevToolbarBugs
IE 6 Crashes on Certain DOM Heavy Javascript
We have a product which creates grids within the page [inline table editing,
etc]. On the page load,
Try something like:
$ie.table(:index, 2)[1][1].flash
Index is one-based and derived by counting the topmost table (do a view
source >> ctrl + f >> 'mailto:[EMAIL PROTECTED] On Behalf Of Steve
Tangsombatvisit
Sent: Tuesday, February 27, 2007 11:52 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-g
I've had the same happen to me. The fault is with the IE Development Toolbar.
Certainly has nothing to do with Watir/Ruby.
It's a good tool for writing scripts . . . but bad at keeping an IE window
open. I'm in the habit of uninstalling it whenever I run a script.
Cheers
---
where does one get the gem? it doesn't appear to be on rubyforge.
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Sieger
Sent: Sunday, February 18, 2007 11:59 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-genera
c += 1
else
d += 1
end
end #loop
printf(" a: %i\n b: %i\n c: %i\n d: %i", a,b,c,d)
end
getNum
Results:
a: 283
b: 296
c: 406
d: 15
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris McMahon
Sent: Tuesday, F
hearing how others solved similar issues. It
is one of the great strengths of this forum!
Thanks in advance,
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris McMahon
Sent: Wednesday, February 07, 2007 1:52 PM
To: wtr-general@rubyforge.org
cTypeID').select("#{lbDocTypeID[cnt]}")
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sarita
Sent: Tuesday, January 16, 2007 9:39 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] ignoring the SELECT option
In a combobox, f
Can you send your code and html so I can see what you're doing?
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of usha
Sent: Wednesday, January 10, 2007 4:13 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Alert box - hangs
I'
What version of IE are you using? Because in IE7 Microsoft changed the
tile bar name of all popups from "Microsoft Internet Explorer" to
"Windows Internet Explorer" this would cause a Hang as you described.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:
Can you send your code and html?
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of usha
Sent: Tuesday, January 09, 2007 4:31 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Alert box - hangs
Hi,
I've been trying to click on the Aler
;) # "OK" or whatever the
name on the button is
w=nil# this is just cleanup
end
end
$ie = IE.new()
$ie.goto("C:\\fileupload.html")
$ie.fileField(:name, "fileone").click_no_wait
fPath = "file://C:\\mytext.txt"
startClicker("&
Do I have access to edit the FAQ page? I have a login.
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charley Baker
Sent: Tuesday, January 02, 2007 2:38 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Give a solution fo
Change this line from:
c = "start ruby #{shortName}\\watir\\clickJSDialog.rb #{button}
#{waitTime} "
to:
c = "start rubyw #{shortName}\\watir\\clickJSDialog.rb #{button}
#{waitTime} "
--Mark
From: [EMAIL PROTECTED]
[mailto:
or
whatever the name on the button is
w=nil# this is just cleanup
end
end
$ie=Watir::IE.start("c:\test.htm")
# This is whatever object that uses the click method.
# You MUST use the click_no_wait method.
$ie.image(:id,'3').c
$ie=Watir::IE.start("c:\test.htm")
# This is whatever object that uses the click method.
$ie.image(:id,'3').click_no_wait
startClicker("OK", 7, "User Input") # 3rd parameter is optional.
Hope this helps
--Mark
__
I managed to get around the "hang", however, It would be nice to know how to
get ahold of this window to do some validating against it.
The way I got around the "Hang" was to put '.click_no_wait' on the call to
click the help button. this way it clicks the help button (which produces the
dialo
Hi all,
I am new to ruby, and have searched these forums for answers, but have not
found anything that seems to work or help me. (including links to FAQ's which
do not appear to be available anymore)
[u]Situation:[/u]
I am writing ruby/watir scripts to automate tests against a
website/applicat
; or whatever the
name on the button is
w=nil# this is just cleanup
end
end
$ie = IE.new()
$ie.goto("C:\\fileupload.html")
$ie.fileField(:name, "fileone").click_no_wait
fPath = "file://C:\\mytext.txt"
startClicker(
Can you send the html for that portion?
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Oei
Sent: Wednesday, December 13, 2006 1:52 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Issue WTR-108 - file_field.set
Please tell us what the problem is? Does it hang? Does is error out?
Show us the does you are using.
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Oei
Sent: Wednesday, December 13, 2006 12:58 PM
To: wtr-general
# "OK" or whatever
the name on the button is
w=nil# this is just cleanup
end
end
$ie=Watir::IE.start("c:\test.htm")
$ie.image(:id,'3').click_no_wait
startClicker("OK", 7, "User Input") # 3rd parameter is optional.
Did you get this solved?
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt Makins
Sent: Thursday, December 07, 2006 4:24 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] pop up box
Hi,
I have a pop up box that
that comes with Ruby.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fletch
Sent: Friday, December 08, 2006 1:25 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Excel Or Text File?
Thanks for all your replies.
I will look in to using
This is pretty obscure but try adding an '&' to 'Save':
clicker.clickWindowsButton('File Download', '&Save')
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex Ciarlillo
Sent: S
Are you running your tests from inside and IDE? I saw the same slowness
moving from 1.4.x to 1.5.x when I ran (the same tests) from Komodo 3.5.
It was less apparent from Eclipse though...
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
What version of Watir are you using?
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of san
Sent: Wednesday, November 29, 2006 5:49 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Can't Control JavaScript PopUp Window
Basically W
put these kinds of errors and stuff in the FAQ;
you might want to check it out on the website.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of san
Sent: Tuesday, November 28, 2006 3:09 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Can&
rc,
"https://alinea.inmar.com/alinea/images/adddocument.gif";)
adoc.click_no_wait
# call the clicker
startClicker( '&Open', 9, $path)
--Mark
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Željko Filipin
Sent: Monda
You could also just use table index. If you do a view source on the
page, then do a f. Beginning at the top of the page, put 'mailto:[EMAIL PROTECTED] On Behalf Of Angrez Singh
Sent: Thursday, November 23, 2006 9:46 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Table has no unique a
ps://alinea.inmar.com/alinea/images/adddocument.gif";)
sleep 2
adoc.click_no_wait
startClicker( '&Open', 9, $path)
You may need to tweak this to work in your situation. I tested this and
it works.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMA
r
the name on the button is
w=nil# this is just cleanup
end
end
$ie=Watir::IE.start("c:\test.htm")
$ie.image(:id,'3').click_no_wait
startClicker("OK", 7, "User Input")
Hope this helps,
--Mark
It is 1-based
ie.textField(:index, 1).set("I did it!")
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nathan
Sent: Wednesday, November 15, 2006 12:28 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Find parent table in
If there is one I have never found it. What I have had to do was do a
view source on the page. I then do f, enter 'mailto:[EMAIL PROTECTED] On Behalf Of John Lolis
Sent: Wednesday, November 15, 2006 6:46 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Find parent table index from a specif
solved...for me anyway. ;-)
Hope this helps,
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan Ark
Sent: Wednesday, November 15, 2006 8:33 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Problems with the watir email list?
Hi folks.
I
file.
Also, take a look at the unittests for good usage examples.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Markus
Sent: Tuesday, November 14, 2006 5:58 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Running Watir from FoxPro 9
Has
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
otherwise the JS Alert would never get clicked. If the command
prompt window bothers you could change the line in startClicker by adding a ‘w’
after ruby:
c = "start rubyw
#{shortName}\\watir\\clickJSDialog.rb #{button} #{waitTime} "
Hope this helps,
--Mark
Fr
I am pretty sure that is yes.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lillis, Dara
Sent: Wednesday, November 08, 2006 11:42 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] modal dialogs in IE 7.0
[sorry for the long delay, I
t when the test is initialized
and reuse that object throughout.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Hawthorne
Sent: Friday, October 27, 2006 6:07 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] WinClicker - too many
Point taken. Thanks for the clarification and the freedom (within
reason of course) to have discourses like this. I know my understanding
benefits from the process.
Thanks!
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent
to
change lines 113 and 144:
OLD:
clickWindowsButton("Microsoft Internet Explorer" , button )
NEW:
clickWindowsButton("Windows Internet Explorer" , button )
Hope this helps,
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lilli
more than one object with the
same identifier,the objects are exposed as a collection that can
be referenced only in ordinal position."
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Tuesday, October 24, 200
W, I agree with you! I wish IE was stricter with the spec. It would
make all of our automation activities much easier.
I'm just saying... :-)
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Bolton
Sent: Monday, October 23, 2006
Take a look at the screen capture module in the watir/screen_capture.rb.
it should be able to do what you are asking...
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phlip
Sent: Saturday, October 21, 2006 8:12 AM
To: wtr-general@rubyforge.org
amming--I'll give
you that! ;-P
--Mark
Ask the developers to
fix the bug. If you get pushback, tell them (or the project manager)
that
the page as current constructed interferes with testability. If you get
pushback, then use (:index, [some number]) to locate t
examples on just about everything you would need.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Justin Nowell
Sent: Wednesday, October 18, 2006 12:30 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Question from a newbie
Hey,
I just
tools either…sales people will try and tell you differently but
when they ask someone who actually knows something they will concede their tool
doesn’t either.
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Neelakandan
Sent: Wednesday, October 18
I haven't had this issue using Ruby 1.8.5_21 and Watir 1.5.x.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Monday, October 09, 2006 10:04 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Wikipedia Article Fee
You could also just put "include Win32" right above the
"def enabled_popup(timeout=4)" in /watir/contrib/enabled_popup.rb
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Schmidt
Sent: Saturday, October 07, 2006 7:0
you will need to alter you WinClicker.rb
file for either method.
\ruby\lib\ruby\site_ruby\1.8\watir\WinClicker.rb
Lines 113 and 144.
IE6 = "Microsoft
Internet Explorer"
IE7 = "Windows
Internet Explorer"
Hope this helps,
--Mark
__
popup
w = WinClicker.new
w.makeWindowActive(hwnd)
# "OK" or whatever the name on the button is
w.clickWindowsButton_hwnd(hwnd, "OK")
end
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Munns
Sent: Wednesday, Oct
This (I believe) was fixed 1095. You can
download the latest gem at:
http://wiki.openqa.org/display/WTR/Development+Builds
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Alan Ark
Sent: Monday, October 02, 2006
2:53 PM
To: wtr-general
You might want to include more HTML so people can see what you are
working with. It is hard to help you without more information.
What object do the users click on to submit the form?
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of john
Sent
bugs (all of which I greatly appreciate), but if
something is going to be cut without replacement can you give us a
little heads up please, or at leased give a deprecated message?
Thanks,
Mark L. Cain
LMIT - E*STARS(r) ~ Lead Test Engineer
1981 Snyder, MSIN: G3-62, Richland
This issue has been added to JIRA:
http://jira.openqa.org/browse/WTR-100
I will work on trying to get a unittest for this also. This whole Modal
dialog/modal window stuff is very important and one of the main reason I
started using Watir.
--Mark
-Original Message-
From: [EMAIL
. When I upgraded to the
current branch version (1084) click_no_wait no longer works. Do you have
an idea when nested/sub frames will be supported in the main branch?”
Thanks,
Mark L. Cain
LMIT -
E*STARS® ~ Lead Test
Engineer
1981 Snyder, MSIN: G3-62, Richland,
teTime.now
$stop = DateTime.now
diff = $stop - $start
h,m,s,frac = Date.day_fraction_to_time(diff)
s += frac.to_f
File.open('C:\watir_bonus\working\RAPID\pageSearchLoad_Times.txt',
'a+'){|d| d.puts "Time to load page: " + "#{h} Hours, #{m
re_test.rb:62:in
`test0_Acquire_Add_Comments'
My usage of the click_no_wait is this:
$ie.frame(:index, 8).frame(:index, 1).image(:src,/open_comment_icon.gif/i).click_no_wait
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dav
Will this handle modal windows and JS popups now? Has that modal window
code been merged into the main branch now?
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Schmidt
Sent: Monday, September 11, 2006 9:07 AM
To: wtr-general
ir_bonus/working/PER/tc_PER_Significant.rb:261:in `test5_ca'
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Tuesday, September 05, 2006 12:57 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Error clicking a button..
it was not
waiting long enough but can not prove that conclusively.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Tuesday, September 05, 2006 12:30 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Error clicking a
the 'fireEvent' method in my script nor
do I know what the 'Access is denied' message is all about.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Tuesday, September 05, 2006 9:32 AM
To: wtr-general@ruby
)
assert($ie.text_field(:name, "Extent").verify_contains("Extent Text"))
assert($ie.text_field(:name, "SafetySig").verify_contains("Safety Significance Text"))
assert($ie.text_field(:name, "RemedialCA").verify_contains("
Make sure the default ruby install directories (bin and lib) are in the
PATH environment variable. The ruby installer should have done this by
default, but maybe it didn't. For me it is:
C:\ruby\bin;c:\ruby\lib
Hope this helps,
--Mark
-Original Message-
From: [EMAIL PROT
) for all similar buttons on the page. For instance,
there could be 100 rows of data all with the same 'Add', 'Edit', and
'Delete' buttons. Using the button index is the only way of finding a
particular button on the page.
--Mark
-Original Message-
Fro
:
$ie.button(:index, 2).click
There are some really good examples of just about everything you would
want to do in the unittests directory installed when you install Watir.
Hope this helps,
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
windows closes then only a very small part of the object show in
the output, and then the error.
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Cain, Mark
Sent: Thursday, August 31, 2006
10:46 AM
To: wtr-general@rubyforge.org
Subject: [Wtr-general
`locate'
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2337:in `assert_exists'
C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2480:in `click'
C:/watir_bonus/working/PER/tc_PERwResloution_test.rb:279:in `test5_ca'
Has
anyone else seen this or similar behavior?
__
Do you see this "-- Web Page Dialog" in the title bar of your popup
pages? If yes then you are dealing with a modal web page and you will
NOT be able to attach the normal way using Watir.
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
ently logged
in user. Selecting that option should get rid of the proxy box. However,
you should choose the appropriate one for your target user group.
Hope this helps,
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Simo, Ben
Sent: Thursday, Augus
.
In my experience if a font set does not have a character to represent a font in
a given string the system replaces it with the ‘box’ character.
My $0.02 ;-)
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers
I got it! Microsoft changed the name of the pop-up title
bar from 'Microsoft Internet Explorer'
to 'Windows Internet Explorer'. This
should be changed in winClicker.rb or at least put in the FAQ.
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL
clickJSDialog.rb #{button } #{
waitTime} "
puts "Starting #{c}"
w.winsystem(c )
w=nil
end
Thanks,
Mark L. Cain
LMIT -
E*STARS® ~ Lead Test
Engineer
1981 Snyder, MSIN: G3-62, Richland,
WA 99354
[EMAIL PROTECTED]
509.376.5458
"640
Kiloby
You will need to these:
require 'test/unit'
require 'test/unit/ui/console/testrunner'
require 'watir/testUnitAddons'
require 'watir/testcase'
I usually add the setup.rb from the unittest directory instead because
these requires are already in it.
--Mark
You could do something like this:
dbList = $ie.select_list( :name, 'assigned').getAllContents
for dbl in dbList
$ie.selectBox( :name, 'assigned').select("#{dbl}")
end
Hope this helps,
--Mark
From: [E
Title: Install problem?
I just remembered, one of the last times I installed ruby
(either rc 3 or final I can’t remember which) blew away ALL of my path
information. You might check to make sure ruby/bin and ruby/lib are in your
path environment variable.
--Mark
1 - 100 of 233 matches
Mail list logo