Quick Search:

Line History

line history graph

Show Arbitrary Diff

From to

Supports revisions and tags.

History

trunk 1408 1012 982 743 682 105 davids_click_no_wait 1015 1013 modal_dialog 1077 984 watir1_4truly 789 770 watir2_0 691 685 paul 106

latest revision Branch trunk

1408 deleted | Lines: 0 ( +0, -148 )

Created: 2008-08-28 21:28:09 -0500 (18 months ago) | Author: bret | Changeset: 1408

Moving the watir library files to their new home. And updating the build scripts to find them there.

1351 annotated / raw | Diffs: previous, other | Lines: 148 ( +4, -12 )

Created: 2008-06-04 16:09:19 -0500 (21 months ago) | Author: bret | Changeset: 1351

Moved to: trunk/watir/lib/watir.rb 1408

Prep for Watir 1.5.5 release. Fix warnings found by latest version of rubygems. Fixed install bug http://jira.openqa.org/browse/WTR-209. Added dependency on active support.

Branch point for: tag:watir-1.5.5 tag:watir-1.5.6

1328 annotated / raw | Diffs: previous, other | Lines: 156 ( +0, -1 )

Created: 2008-05-27 22:24:54 -0500 (21 months ago) | Author: bret | Changeset: 1328

Pull the "non-control elements" closer together.

1286 annotated / raw | Diffs: previous, other | Lines: 157 ( +5, -862 )

Created: 2007-10-19 17:26:40 -0500 (2 years 4 months ago) | Author: bret | Changeset: 1286

More breaking out code from the big-ass watir.rb file. -- final step!

Branch point for: tag:watir-1.5.3

Tags: watir-1.5.4

1285 annotated / raw | Diffs: previous, other | Lines: 1014 ( +4, -831 )

Created: 2007-10-19 15:42:44 -0500 (2 years 4 months ago) | Author: bret | Changeset: 1285

More breaking out code from the big-ass watir.rb file.

1284 annotated / raw | Diffs: previous, other | Lines: 1841 ( +4, -520 )

Created: 2007-10-19 12:50:15 -0500 (2 years 4 months ago) | Author: bret | Changeset: 1284

More breaking out code from the big-ass watir.rb file.

1276 annotated / raw | Diffs: previous, other | Lines: 2357 ( +3, -1252 )

Created: 2007-10-11 14:36:28 -0500 (2 years 5 months ago) | Author: bret | Changeset: 1276

More breaking out code from the big-ass watir.rb file.

1263 annotated / raw | Diffs: previous, other | Lines: 3606 ( +8, -932 )

Created: 2007-10-03 17:28:22 -0500 (2 years 5 months ago) | Author: bret | Changeset: 1263

Start breaking up big-ass watir.rb file.
Repair performance error i introduced earlier today in TextField.

1262 annotated / raw | Diffs: previous, other | Lines: 4530 ( +13, -5 )

Created: 2007-10-03 15:46:48 -0500 (2 years 5 months ago) | Author: bret | Changeset: 1262

TextField#maxlength is now guaranteed to be an integer.

1261 annotated / raw | Diffs: previous, other | Lines: 4522 ( +12, -14 )

Created: 2007-10-03 15:26:08 -0500 (2 years 5 months ago) | Author: bret | Changeset: 1261

Cleanup some TextField code.
Remove code that was causing warnings in parent_child_test.rb.

1248 annotated / raw | Diffs: previous, other | Lines: 4524 ( +1, -1 )

Created: 2007-09-28 17:14:25 -0500 (2 years 5 months ago) | Author: bret | Changeset: 1248

merge all changes from the 1.5 branch into trunk

1246 annotated / raw | Diffs: previous, other | Lines: 4524 ( +3, -3 )

Created: 2007-09-27 18:18:57 -0500 (2 years 5 months ago) | Author: bret | Changeset: 1246

Minor simplification of in the tag locator strategy class.
Remove breakpoint from test.

1240 annotated / raw | Diffs: previous, other | Lines: 4524 ( +14, -13 )

Created: 2007-09-07 23:33:52 -0500 (2 years 6 months ago) | Author: charley | Changeset: 1240

Fix for text areas.

1230 annotated / raw | Diffs: previous, other | Lines: 4523 ( +7, -5 )

Created: 2007-08-05 17:29:15 -0500 (2 years 7 months ago) | Author: bret | Changeset: 1230

Copied to: branches/watir-1.5/watir.rb 1233

Remove the possibility of timeout settings bleeding from one test to the next.
until_with_timeout was taking an argument that could be used to reset a global
variable.
Upped several timeouts to allow tests to run successfully.

1229 annotated / raw | Diffs: previous, other | Lines: 4521 ( +1, -1 )

Created: 2007-08-05 16:33:09 -0500 (2 years 7 months ago) | Author: bret | Changeset: 1229

IE.start now uses IE.start_window, not IE.start_process.
This makes it consistent wot IE.new, to which this switch was made some time ago.

1228 annotated / raw | Diffs: previous, other | Lines: 4521 ( +14, -3 )

Created: 2007-08-05 16:23:21 -0500 (2 years 7 months ago) | Author: bret | Changeset: 1228

minor fix to IE.new_process.
update rdoc to indicate which commands require a desktop.

1204 annotated / raw | Diffs: previous, other | Lines: 4510 ( +10, -0 )

Created: 2007-06-19 13:49:22 -0500 (2 years 8 months ago) | Author: charley | Changeset: 1204

Adding :src support for frames with tests, and a url method for page container. The IE frames method seems a little flaky, seems to return either iframes or frames but not both.

1202 annotated / raw | Diffs: previous, other | Lines: 4500 ( +1, -0 )

Created: 2007-06-08 14:58:30 -0500 (2 years 9 months ago) | Author: bret | Changeset: 1202

Add new methods ie.h1, ie.h2, ie.h3, ie.ul

1201 annotated / raw | Diffs: previous, other | Lines: 4499 ( +6, -2 )

Created: 2007-06-08 14:34:26 -0500 (2 years 9 months ago) | Author: bret | Changeset: 1201

Fix for this bug in IE.new_process:

       unknown property or method `hwnd' HRESULT error code:0x80010108 The object invoked has disconnected from its clients.
        
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir/ie-process.rb:23:in `method_missing'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir/ie-process.rb:23:in `window'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir.rb:1511:in `each'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir.rb:1508:in `each'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir/ie-process.rb:21:in `window'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir.rb:105:in `until_with_timeout'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir/waiter.rb:53:in `wait_until'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir.rb:105:in `until_with_timeout'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir/ie-process.rb:20:in `window'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir.rb:1411:in `_new_process_init'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1199/./watir.rb:1405:in `new_process'

1199 annotated / raw | Diffs: previous, other | Lines: 4495 ( +2, -3 )

Created: 2007-06-05 13:38:39 -0500 (2 years 9 months ago) | Author: bret | Changeset: 1199

Some tweaks to minimize the appears of a visible blowser, when running invisible.
(We can't help but have it show for a moment when first created.)

1198 annotated / raw | Diffs: previous, other | Lines: 4496 ( +1, -0 )

Created: 2007-06-05 12:57:51 -0500 (2 years 9 months ago) | Author: bret | Changeset: 1198

Fix for this intermittent error in IE#new_process reported by Kevin Miller.

    [exec] WIN32OLERuntimeError: hwnd
    [exec]     OLE error code:80004005 in <Unknown>
    [exec]       <No Description>
    [exec]     HRESULT error code:0x80020009
    [exec]       Exception occurred.
    [exec]     C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir/ie-process.rb:23:i
n `method_missing'
    [exec]     C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir/ie-process.rb:23:i

n `window'

    [exec]     C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:1590:in `each'
    [exec]     C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:1588:in `each'
    [exec]     C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir/ie-process.rb:21:i
n `window'
    [exec]     C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:1490:in `_new_p
rocess_init'
    [exec]     C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:1484:in `new_pr
ocess'

1197 annotated / raw | Diffs: previous, other | Lines: 4495 ( +5, -4 )

Created: 2007-05-31 17:31:19 -0500 (2 years 9 months ago) | Author: bret | Changeset: 1197

Fix for maxlength bug from Paul Rogers.
This is watir_maxlength.patch.txt from http://jira.openqa.org/browse/WTR-157.

1193 annotated / raw | Diffs: previous, other | Lines: 4494 ( +71, -150 )

Created: 2007-05-28 11:45:55 -0500 (2 years 9 months ago) | Author: jfry | Changeset: 1193

Updated changes.rb based on wiki, added changes.rb and license.rb to the rakefile.rb, many rdoc changes in watir.rb.

1192 annotated / raw | Diffs: previous, other | Lines: 4573 ( +3, -2 )

Created: 2007-05-24 14:48:24 -0500 (2 years 9 months ago) | Author: bret | Changeset: 1192

IE.each now yields to instances of Watir::IE instead of to ole-automation objects.

1191 annotated / raw | Diffs: previous, other | Lines: 4572 ( +6, -4 )

Created: 2007-05-24 13:38:29 -0500 (2 years 9 months ago) | Author: bret | Changeset: 1191

IE.new now reverts to old behavior. We're getting too many
reports of bugs in IE.new_process to make this default right now.

1190 annotated / raw | Diffs: previous, other | Lines: 4570 ( +10, -3 )

Created: 2007-05-22 23:51:02 -0500 (2 years 9 months ago) | Author: bret | Changeset: 1190

Refactored existing code to use IE.each.
Fixed http://jira.openqa.org/browse/WTR-155.

1189 annotated / raw | Diffs: previous, other | Lines: 4563 ( +1, -1 )

Created: 2007-05-22 18:43:10 -0500 (2 years 9 months ago) | Author: bret | Changeset: 1189

Add IE.each - iterates through IE windows.
Rename Watir::Process#count_processes to be Watir::Process.count (instance -> class method)
Add IE.process_count - returns the number of IE processes running.

1187 annotated / raw | Diffs: previous, other | Lines: 4563 ( +15, -8 )

Created: 2007-05-17 18:22:21 -0500 (2 years 10 months ago) | Author: bret | Changeset: 1187

This is the final switchover to using a new method for IE.new.
This fixes http://jira.openqa.org/browse/WTR-150.
IE.new is the same as IE.new_process. Previous behavior is now
in IE.new_window. (Same applies to IE.start, IE.start_window and
IE.start_process.)

1186 annotated / raw | Diffs: previous, other | Lines: 4556 ( +5, -2 )

Created: 2007-05-17 17:54:51 -0500 (2 years 10 months ago) | Author: bret | Changeset: 1186

refactor: use IE:Process instead of IEProcess.

1185 annotated / raw | Diffs: previous, other | Lines: 4553 ( +16, -0 )

Created: 2007-05-17 17:49:37 -0500 (2 years 10 months ago) | Author: bret | Changeset: 1185

refactor

1184 annotated / raw | Diffs: previous, other | Lines: 4537 ( +52, -47 )

Created: 2007-05-17 16:48:18 -0500 (2 years 10 months ago) | Author: bret | Changeset: 1184

Refactoring

1183 annotated / raw | Diffs: previous, other | Lines: 4532 ( +1, -1 )

Created: 2007-05-17 15:41:40 -0500 (2 years 10 months ago) | Author: bret | Changeset: 1183

Add Watir::IE.start_process
Fix require of win32-process (it was broken, but masked by a bug in rubygems)
Add win32-process as a dependency of the watir gem.

1181 annotated / raw | Diffs: previous, other | Lines: 4532 ( +6, -0 )

Created: 2007-05-17 10:39:34 -0500 (2 years 10 months ago) | Author: bret | Changeset: 1181

Refactor IE.new_process to use win32-process gem.

1179 annotated / raw | Diffs: previous, other | Lines: 4526 ( +7, -53 )

Created: 2007-05-16 18:30:06 -0500 (2 years 10 months ago) | Author: bret | Changeset: 1179

add Watir::IE.new_window

1170 annotated / raw | Diffs: previous, other | Lines: 4572 ( +42, -31 )

Created: 2007-05-15 09:52:11 -0500 (2 years 10 months ago) | Author: bret | Changeset: 1170

Rdoc changes from Jeff Fry.

1166 annotated / raw | Diffs: previous, other | Lines: 4561 ( +28, -29 )

Created: 2007-04-19 19:13:39 -0500 (2 years 10 months ago) | Author: bret | Changeset: 1166

Removed the spinner. Holler if you care.
Rewrote the entire wait method, adding many guards for closing
or access-denied windows and frames. Hopefully this fixes the
variously reported problems. If not, it becomes time to really
write unit tests for IE#wait.

1164 annotated / raw | Diffs: previous, other | Lines: 4562 ( +1, -1 )

Created: 2007-03-27 15:11:26 -0500 (2 years 11 months ago) | Author: charley | Changeset: 1164

Simple check to see if value is already a string before converting to a string, wtr-147 in jira. Additional unit tests for string values on radio buttons and checkboxes.

1162 annotated / raw | Diffs: previous, other | Lines: 4562 ( +1, -1 )

Created: 2007-02-22 09:22:41 -0600 (3 years ago) | Author: bret | Changeset: 1162

Fix bug in Element#parent.

1161 annotated / raw | Diffs: previous, other | Lines: 4562 ( +113, -122 )

Created: 2007-02-15 07:29:11 -0600 (3 years ago) | Author: bret | Changeset: 1161

Reorganize rdoc code, including refactoring Charley's recent change so that they
will affect the gem's rdoc. Still much more work to do on the rdoc.
Also reformated frame wait code (indentation was whacked!).

1159 annotated / raw | Diffs: previous, other | Lines: 4571 ( +7, -0 )

Created: 2007-02-14 17:52:11 -0600 (3 years 1 month ago) | Author: charley | Changeset: 1159

Eating frame access errors in the wait command, rethrowing if another WIN32OLERuntimeError shows up. Related to http://jira.openqa.org/browse/WTR-96, and http://jira.openqa.org/browse/WTR-94. Cross site frame errors should be addressed and unit tests need to be added.

1158 annotated / raw | Diffs: previous, other | Lines: 4564 ( +20, -6 )

Created: 2007-02-13 19:06:46 -0600 (3 years 1 month ago) | Author: bret | Changeset: 1158

Add "ModalDialog#exists?" Also fix exceptions raised when modal dialog doesn't exist.

1157 annotated / raw | Diffs: previous, other | Lines: 4550 ( +1, -1 )

Created: 2007-02-13 12:16:01 -0600 (3 years 1 month ago) | Author: bret | Changeset: 1157

Fix bug with modal_dialog

1154 annotated / raw | Diffs: previous, other | Lines: 4550 ( +95, -2 )

Created: 2007-02-01 15:10:07 -0600 (3 years 1 month ago) | Author: charley | Changeset: 1154

Moving map and area into watir.rb, adding Maps and Areas and updated test case.

1152 annotated / raw | Diffs: previous, other | Lines: 4457 ( +16, -5 )

Created: 2007-01-31 10:08:35 -0600 (3 years 1 month ago) | Author: charley | Changeset: 1152

Checking in Paul Rogers' fix for check_for_http_error in IE7. http://jira.openqa.org/browse/WTR-141

1151 annotated / raw | Diffs: previous, other | Lines: 4446 ( +10, -16 )

Created: 2007-01-30 19:40:38 -0600 (3 years 1 month ago) | Author: bret | Changeset: 1151

Fix by Xavier Noria for http://jira.openqa.org/browse/WTR-107
I made a few additional changes to Xavier's patch: most dramatically i also removed the
pre-existing rescue block, which did not make sense to me.
I wish we had unit tests for this, but we don't. I decided that it was worth the risk...

1150 annotated / raw | Diffs: previous, other | Lines: 4452 ( +1, -1 )

Created: 2007-01-30 18:31:32 -0600 (3 years 1 month ago) | Author: bret | Changeset: 1150

Fix by Prema Arya for bug in element_by_xpath. For details see:
http://www.mail-archive.com/wtr-general@rubyforge.org/msg06742.html

1149 annotated / raw | Diffs: previous, other | Lines: 4452 ( +8, -1 )

Created: 2007-01-19 14:59:48 -0600 (3 years 1 month ago) | Author: bret | Changeset: 1149

Add Watir::Win32.window_exists? method.
This is needed by the modal dialog code.

1148 annotated / raw | Diffs: previous, other | Lines: 4445 ( +52, -0 )

Created: 2007-01-19 14:22:20 -0600 (3 years 1 month ago) | Author: charley | Changeset: 1148

Adding li support.

1145 annotated / raw | Diffs: previous, other | Lines: 4393 ( +1, -1 )

Created: 2007-01-17 10:23:06 -0600 (3 years 1 month ago) | Author: charley | Changeset: 1145

Fix for IE7 on ie.exists? http://jira.openqa.org/browse/WTR-123

1141 annotated / raw | Diffs: previous, other | Lines: 4393 ( +1, -5 )

Created: 2007-01-10 14:00:00 -0600 (3 years 2 months ago) | Author: bret | Changeset: 1141

Prevent watir libraries from being able to load the wrong version of win32ole.

1140 annotated / raw | Diffs: previous, other | Lines: 4397 ( +1, -3 )

Created: 2007-01-10 12:10:44 -0600 (3 years 2 months ago) | Author: bret | Changeset: 1140

style

1139 annotated / raw | Diffs: previous, other | Lines: 4399 ( +1, -1 )

Created: 2007-01-10 12:09:41 -0600 (3 years 2 months ago) | Author: bret | Changeset: 1139

Get rid of the momentary command window when using FileField.set

1138 annotated / raw | Diffs: previous, other | Lines: 4399 ( +1, -0 )

Created: 2007-01-10 12:03:10 -0600 (3 years 2 months ago) | Author: bret | Changeset: 1138

Fixed file field unit test so that it will actually fail when FileField.set doesn't work.
And fixed FileField.set so that it will actually click the 'browse' button.

Fixes http://jira.openqa.org/browse/WTR-108.

1137 annotated / raw | Diffs: previous, other | Lines: 4398 ( +0, -4 )

Created: 2007-01-10 11:25:01 -0600 (3 years 2 months ago) | Author: charley | Changeset: 1137

Removing unneeded check from run_error_checks.

1136 annotated / raw | Diffs: previous, other | Lines: 4402 ( +8, -22 )

Created: 2007-01-05 15:24:54 -0600 (3 years 2 months ago) | Author: charley | Changeset: 1136

Rakefile includes the contrib directory for rdoc generation. Copyrights updated. Removed NAVIGATION_CHECKER from watir.rb and added to contrib/page_checker.rb which fixes the rdoc generation and mitigates the frame access errors: http://jira.openqa.org/browse/WTR-94.  

1135 annotated / raw | Diffs: previous, other | Lines: 4416 ( +4, -1 )

Created: 2006-12-21 00:18:40 -0600 (3 years 2 months ago) | Author: bret | Changeset: 1135

fix bug with Element#parent

1134 annotated / raw | Diffs: previous, other | Lines: 4413 ( +17, -8 )

Created: 2006-12-20 18:42:57 -0600 (3 years 2 months ago) | Author: bret | Changeset: 1134

Added support for relative specifiers. E.g.:
   link = $ie.link(:class => 'addtocart', :after? => @headline)
(This has been recently discussed on the list.)

1133 annotated / raw | Diffs: previous, other | Lines: 4404 ( +12, -0 )

Created: 2006-12-20 17:53:33 -0600 (3 years 2 months ago) | Author: bret | Changeset: 1133

Add new methods Element#after? and Element#before?

1132 annotated / raw | Diffs: previous, other | Lines: 4392 ( +7, -1 )

Created: 2006-12-19 19:13:35 -0600 (3 years 2 months ago) | Author: bret | Changeset: 1132

Added Element#parent more or less as suggested by Lonny.
http://www.mail-archive.com/wtr-general@rubyforge.org/msg05868.html

1131 annotated / raw | Diffs: previous, other | Lines: 4386 ( +17, -7 )

Created: 2006-12-13 22:46:23 -0600 (3 years 3 months ago) | Author: bret | Changeset: 1131

Fix for intermittent crashes occuring when using Watir with Ruby version > 1.8.2.
Fix for http://jira.openqa.org/browse/WTR-86
This fix prevents the Watir-modified win32ole.so library (compiled against 1.8.2) from
being used.

Consequently, IE#modal_dialog will not work (as before) with Ruby version > 1.8.2.
However, when this is attempted, this is the new error message:

 NoMethodError: IE#modal_dialog not supported with the current version of Ruby (1.8.4).
 See http://jira.openqa.org/browse/WTR-2 for details.
 undefined method `connect_unknown' for WIN32OLE:Class

1127 annotated / raw | Diffs: previous, other | Lines: 4376 ( +2, -0 )

Created: 2006-11-09 01:10:26 -0600 (3 years 4 months ago) | Author: angrez | Changeset: 1127

updated function create_rexml_document_object to give correct HTML source as input to REXML by replacing all the instances of &nbsp; with &#160;

1124 annotated / raw | Diffs: previous, other | Lines: 4374 ( +63, -44 )

Created: 2006-11-08 18:12:13 -0600 (3 years 4 months ago) | Author: bret | Changeset: 1124

Open-code calls to def_creator. This makes it easier to debug and generate rdoc for Watir's factory methods.

1121 annotated / raw | Diffs: previous, other | Lines: 4355 ( +5, -1 )

Created: 2006-10-29 21:49:09 -0600 (3 years 4 months ago) | Author: bret | Changeset: 1121

update rdoc for Watir.attach -- add reference to :hwnd

1120 annotated / raw | Diffs: previous, other | Lines: 4351 ( +15, -9 )

Created: 2006-10-20 13:53:13 -0500 (3 years 4 months ago) | Author: charley | Changeset: 1120

Changed file_field.set to use autoit instead of winclicker.

1119 annotated / raw | Diffs: previous, other | Lines: 4345 ( +5, -2 )

Created: 2006-10-18 13:35:08 -0500 (3 years 4 months ago) | Author: bret | Changeset: 1119

You can now reference an iframe using IE#frame(:id, 'whatever').
http://jira.openqa.org/browse/WTR-109

1118 annotated / raw | Diffs: previous, other | Lines: 4342 ( +16, -20 )

Created: 2006-10-18 12:44:24 -0500 (3 years 4 months ago) | Author: bret | Changeset: 1118

Simplify Frame#locate code.

1116 annotated / raw | Diffs: previous, other | Lines: 4346 ( +1, -1 )

Created: 2006-10-13 16:02:39 -0500 (3 years 5 months ago) | Author: bret | Changeset: 1116

Added 'map' and 'area' element support.

1111 annotated / raw | Diffs: previous, other | Lines: 4346 ( +13, -0 )

Created: 2006-10-06 15:43:44 -0500 (3 years 5 months ago) | Author: bret | Changeset: 1111

added SelectList#include? and SelectList#selected? (Bret and Jim Matthews pairing)

1110 annotated / raw | Diffs: previous, other | Lines: 4333 ( +1, -0 )

Created: 2006-10-04 15:00:35 -0500 (3 years 5 months ago) | Author: bret | Changeset: 1110

comment

1100 annotated / raw | Diffs: previous, other | Lines: 4332 ( +21, -20 )

Created: 2006-09-20 14:42:06 -0500 (3 years 5 months ago) | Author: bret | Changeset: 1100

Fixes for two bugs in contains_text (although people should still use ie.text.include? instead).
        frame.contains_text missing http://jira.openqa.org/browse/WTR-102
        exception thrown when contains_text called for empty ie http://jira.openqa.org/browse/WTR-95

Also added ie-new-process (and IE.new_process) to contrib

1095 annotated / raw | Diffs: previous, other | Lines: 4331 ( +7, -11 )

Created: 2006-09-19 01:31:09 -0500 (3 years 5 months ago) | Author: bret | Changeset: 1095

I believe this completes http://jira.openqa.org/browse/WTR-6
This repairs the code for click_no_wait in frames.
I _believe_ that this also makes frames in frames and frames in modals support
 click_no_wait. If not, that can be reported as a bug.

1094 annotated / raw | Diffs: previous, other | Lines: 4335 ( +1, -1 )

Created: 2006-09-18 15:19:11 -0500 (3 years 5 months ago) | Author: bret | Changeset: 1094

Fix for this error:

ERROR: While executing gem ... (TypeError)
     ./watir.rb:1286:in `+´: can´t convert nil into String

I assume that this happened because the gem was built from an export instead of a checkout.

1084 annotated / raw | Diffs: previous, other | Lines: 4335 ( +5, -14 )

Created: 2006-09-11 17:56:43 -0500 (3 years 6 months ago) | Author: bret | Changeset: 1084

complete followup of 1078:
- change IE#attach_command to attach by hwnd instead of title
- remove unneeded code causing compile errors

also added untested Frame#attach_command.

1083 annotated / raw | Diffs: previous, other | Lines: 4344 ( +7, -78 )

Created: 2006-09-11 17:31:24 -0500 (3 years 6 months ago) | Author: bret | Changeset: 1083

Backed out most of the changes from Revision 1078.
Moved enabled_popup to a new contrib directory (instead of reverting it).

method "attach_command" needs to be defined for frames (whence it should recursively call @page_container.attach_command).

1081 annotated / raw | Diffs: previous, other | Lines: 4415 ( +15, -36 )

Created: 2006-09-05 01:44:14 -0500 (3 years 6 months ago) | Author: bret | Changeset: 1081

small performance improvement affecting all elements, but which was particular
 bad with checkboxes.
minor changes to checkbox code
- fix highlight glitch
- simplify code

1079 annotated / raw | Diffs: previous, other | Lines: 4436 ( +20, -5 )

Created: 2006-08-23 02:54:32 -0500 (3 years 6 months ago) | Author: inetdavid | Changeset: 1079

As stated in bug WTR-77, this problem was caused by some performance improvement patches
I submitted a while back.  I don't normally use Regexp matches in my :id or :name elements
so I didn't see this in my working code.

There are actually two different problems in place here.  First of all, IE doesn't understand
regular expressions, so I've added code to make sure we only pass strings into getElementById()
and getElementsByName().  That will stop the crashes caused by the regular expressions.

The other problem is the one that causes the test case failure listed in WTR-77.  That is
caused by the fact that IE's getElementById() not only matches on :id, it will also matches
on the first matching :name.  I now double check the element returned by getElementById()
to make sure that it really HAS a matching :id, else we fall back to the slow method.

Lastly, not every element supports the fast get calls, but we can't use #respond_to? because
these are OLE methods, not Ruby methods.  Thus, the "fast" code is wrapped in a begin/rescue
block so any element not supporting the get method will drop down to the slower code.

All core tests now pass, including some new tests using regular expressions in :id and :name
searches.

David Schmidt

1078 annotated / raw | Diffs: previous, other | Lines: 4421 ( +110, -26 )

Created: 2006-08-23 01:26:08 -0500 (3 years 6 months ago) | Author: inetdavid | Changeset: 1078

# Modified click_no_wait and eval_in_spawned_process to support click_no_wait on elements
 in nested frames while still supporting modal dialogs spawned from modal dialogs.

1075 annotated / raw | Diffs: previous, other | Lines: 4337 ( +7, -15 )

Created: 2006-08-21 23:42:07 -0500 (3 years 6 months ago) | Author: bret | Changeset: 1075

Fix for WTR-69: error handling for IE#contains_text.
Also removed now-unnecessary retry logic.
Updated doc to mark method as deprecated.

1074 annotated / raw | Diffs: previous, other | Lines: 4345 ( +3, -2 )

Created: 2006-08-11 12:52:05 -0500 (3 years 7 months ago) | Author: charley | Changeset: 1074

Adding flash number parameter to Form class' override.

1073 annotated / raw | Diffs: previous, other | Lines: 4344 ( +4, -3 )

Created: 2006-08-10 04:41:19 -0500 (3 years 7 months ago) | Author: bret | Changeset: 1073

Added optional argument to Element#flash, indicating the number of times to flash.
Default, unchanged, is 10 times.
-- We should put an item in Jira to document this, my bad.

1065 annotated / raw | Diffs: previous, other | Lines: 4343 ( +11, -7 )

Created: 2006-07-26 19:04:08 -0500 (3 years 7 months ago) | Author: bret | Changeset: 1065

refactored code to create TaggedElementLocator#each_element

1054 annotated / raw | Diffs: previous, other | Lines: 4339 ( +1, -1 )

Created: 2006-07-10 13:09:14 -0500 (3 years 8 months ago) | Author: bret | Changeset: 1054

Fix bug "undefined method `exists' for class `Watir::IE' (NameError)" introduced in previous commit.

Branch point for: tag:watir-1.5.1.1054

1053 annotated / raw | Diffs: previous, other | Lines: 4339 ( +7, -2 )

Created: 2006-07-09 15:19:37 -0500 (3 years 8 months ago) | Author: bret | Changeset: 1053

add "exist?" as an alias for "exists?" -- as in Ruby

1052 annotated / raw | Diffs: previous, other | Lines: 4334 ( +10, -7 )

Created: 2006-07-07 16:42:11 -0500 (3 years 8 months ago) | Author: bret | Changeset: 1052

updates to wait_until code.

1049 annotated / raw | Diffs: previous, other | Lines: 4331 ( +8, -4 )

Created: 2006-06-26 03:39:14 -0500 (3 years 8 months ago) | Author: inetdavid | Changeset: 1049

Previous patch had a problem with elements that didnt have getElementById or getElementsByName.
This version fixes that by falling back to the previous method, but still fails one unit test
where getElementByID returns an element with a matching name, but NO id.  I'll work tomorrow
on a fix for these conditions where the IE calls are "lying"

1048 annotated / raw | Diffs: previous, other | Lines: 4327 ( +5, -1 )

Created: 2006-06-26 02:47:28 -0500 (3 years 8 months ago) | Author: inetdavid | Changeset: 1048

After more profiling I was seeing locate_input_element using over 60% of all time during
one of my web scraper tests.  Total time for the test was about 4 minutes, with one minute
of that waiting for page loads.

Most of my field lookups are by :id or :name so I checked for those "how's" and instead
of iterating through all page elements I used the OLE getElementById and getElementsByName
to find the element or collection.

The performance difference is amazing.  Before the 4 line change locate_input_element took
54.26% of the run time for my scrape.  After this change it took 0.63%.  Run time went from
3 minutes (ignoring page load times) down to about 1 minute (also ignoring page load times).

I'll keep looking for other ways to speed up Watir by using IE DHTML methods to minimize
iterating through page elements one at a time.

1046 annotated / raw | Diffs: previous, other | Lines: 4323 ( +7, -8 )

Created: 2006-06-22 02:39:36 -0500 (3 years 8 months ago) | Author: inetdavid | Changeset: 1046

After profiling a web scraper that was running much slower with 1.5.1 than with 1.4.1
I found that 69% of the time was spent in locate_input_element(), almost all of that time
in WIN32OLE#each.  I saw that the each loop was continuing to run even after an object
was found, so I re-wrote the loop so that the routine returns a value as soon as one
is found and now that routine is only using 57% of CPU on the same test.

1045 annotated / raw | Diffs: previous, other | Lines: 4324 ( +2, -2 )

Created: 2006-06-20 19:17:42 -0500 (3 years 8 months ago) | Author: bret | Changeset: 1045

removed annoying (to me) side effect of IE#visible=true -- not only would it make the window visible,
but it would also pop it to the front. this happened whenever you attached to a window.

1041 annotated / raw | Diffs: previous, other | Lines: 4324 ( +1, -1 )

Created: 2006-06-20 11:59:33 -0500 (3 years 8 months ago) | Author: bret | Changeset: 1041

bug fix: recent multi-attribute support broke default-attribute support (in buttons, forms, frames).

1039 annotated / raw | Diffs: previous, other | Lines: 4324 ( +2, -2 )

Created: 2006-06-14 18:43:25 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1039

rewrite system call based on advice from chris mcmahon

1038 annotated / raw | Diffs: previous, other | Lines: 4324 ( +3, -3 )

Created: 2006-06-13 15:24:11 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1038

finish adding multiple attribute support to cells and some other elements.
better fix to the problem of mistaking outlook windows for IE windows in IE.find.

1037 annotated / raw | Diffs: previous, other | Lines: 4324 ( +68, -20 )

Created: 2006-06-13 00:41:09 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1037

added support for multiple attributes for links and other non-input elements.

1036 annotated / raw | Diffs: previous, other | Lines: 4276 ( +1, -1 )

Created: 2006-06-12 21:47:59 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1036

added guard to avoid errors with outlook windows

1035 annotated / raw | Diffs: previous, other | Lines: 4276 ( +19, -14 )

Created: 2006-06-12 14:19:55 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1035

improve modal dialog code. correct name of IE.persis_ole_connection=.

1034 annotated / raw | Diffs: previous, other | Lines: 4271 ( +60, -46 )

Created: 2006-06-09 10:46:36 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1034

click_no_wait now works for elements in container elements. e.g. ie.span(:id, "foo").button(:text, "bar").click_no_wait

1033 annotated / raw | Diffs: previous, other | Lines: 4257 ( +3, -2 )

Created: 2006-06-08 21:38:06 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1033

minor change to Watir::TestCase (make add_assertion public). refactor modal support code.

1029 annotated / raw | Diffs: previous, other | Lines: 4256 ( +29, -19 )

Created: 2006-06-02 17:13:42 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1029

add support for a modal dialog launched from another modal dialog (as sick as that sounds).

1027 annotated / raw | Diffs: previous, other | Lines: 4246 ( +25, -13 )

Created: 2006-06-01 18:47:28 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1027

New method IE.find -- works like IE.attach, except that it returns nil if no match. Also it doesn't wait for window to appear.

1025 annotated / raw | Diffs: previous, other | Lines: 4234 ( +9, -9 )

Created: 2006-06-01 12:07:34 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1025

adjusted timeouts and sleeps

1024 annotated / raw | Diffs: previous, other | Lines: 4234 ( +6, -8 )

Created: 2006-05-31 12:34:30 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1024

refactor timeout logic in IE.attach

1023 annotated / raw | Diffs: previous, other | Lines: 4236 ( +4, -0 )

Created: 2006-05-30 17:24:37 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1023

add ModalDialog#title

1022 annotated / raw | Diffs: previous, other | Lines: 4232 ( +36, -94 )

Created: 2006-05-30 17:13:49 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1022

removing ie.attach_modal and ModalPage in favor of Schmidt's
ie.modal_dialog and ModalDialog.

1020 annotated / raw | Diffs: previous, other | Lines: 4290 ( +10, -1 )

Created: 2006-05-25 08:42:11 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1020

avoid benign errors in click_no_wait

1019 annotated / raw | Diffs: previous, other | Lines: 4281 ( +33, -18 )

Created: 2006-05-24 16:59:19 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1019

refactor timeout logic in window attachment code. add new Watir.close_all method.

1017 annotated / raw | Diffs: previous, other | Lines: 4266 ( +1, -1 )

Created: 2006-05-24 08:13:08 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1017

up version number to avoid gem problems
(due to the fact that our SVN revision has moved from (9xx to 1xxx)

1012 annotated / raw | Diffs: previous, other | Lines: 4266 ( +2, -2 )

Created: 2006-05-22 15:34:38 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1012

fix for bug NoMethodError: undefined method `innertext' for #<Watir::Link:0x35aafb8> reported by Manish Sapariya
on May 22, 2006 1:56 AM. link.to_s fails with NoMethodError

Branch point for: davids_click_no_wait

1009 annotated / raw | Diffs: previous, other | Lines: 4266 ( +159, -12 )

Created: 2006-05-20 05:15:14 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1009

Merged David Schmidt's modal dialog improvements from branches/modal-dialog.
This commit includes some duplicate code that still needs to be removed, particularly two different
classes for modal dialogs (ModalPage and ModalDialog).

1008 annotated / raw | Diffs: previous, other | Lines: 4119 ( +1, -1 )

Created: 2006-05-20 02:10:46 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1008

@down_load_time is now measured as a float instead of an integer

1005 annotated / raw | Diffs: previous, other | Lines: 4119 ( +40, -42 )

Created: 2006-05-18 15:23:37 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1005

Fix for WTR-16 reported by Mark Cain: error when window's close button was clicked.
http://jira.openqa.org/browse/WTR-16

1003 annotated / raw | Diffs: previous, other | Lines: 4121 ( +37, -35 )

Created: 2006-05-18 12:23:18 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1003

refactory IE#check_for_http_error; remove delay from IE#goto

1002 annotated / raw | Diffs: previous, other | Lines: 4119 ( +11, -6 )

Created: 2006-05-18 09:58:41 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1002

Fix for intermittent frame navigation error contributed by Konstantin Sobolev, Rubyforge patch #4355
http://rubyforge.org/tracker/index.php?func=detail&aid=4355&group_id=104&atid=489

1000 annotated / raw | Diffs: previous, other | Lines: 4114 ( +2, -1 )

Created: 2006-05-17 13:40:32 -0500 (3 years 9 months ago) | Author: bret | Changeset: 1000

Add SelectList#set (alias of select). This makes is consistent with TextField, CheckBox...

982 annotated / raw | Diffs: previous, other | Lines: 4113 ( +14, -14 )

Created: 2006-05-08 22:14:07 -0500 (3 years 10 months ago) | Author: bret | Changeset: 982

Copied to: branches/modal_dialog/trunk/watir/watir.rb 985

made it easier to disable default error_checker

Branch point for: modal_dialog

980 annotated / raw | Diffs: previous, other | Lines: 4113 ( +6, -3 )

Created: 2006-05-08 19:04:15 -0500 (3 years 10 months ago) | Author: bret | Changeset: 980

minor fixes and doc. remove install.rb (broken). add defaults to until_with_timeout.

974 annotated / raw | Diffs: previous, other | Lines: 4110 ( +1, -1 )

Created: 2006-05-02 13:59:21 -0500 (3 years 10 months ago) | Author: bret | Changeset: 974

added url to Access Denied error message

973 annotated / raw | Diffs: previous, other | Lines: 4110 ( +10, -10 )

Created: 2006-05-01 19:16:03 -0500 (3 years 10 months ago) | Author: bret | Changeset: 973

added IE.exists? which returns whether the browser still exists. removed Watir::exists? which never worked right anyway.

971 annotated / raw | Diffs: previous, other | Lines: 4110 ( +0, -1 )

Created: 2006-04-29 11:31:04 -0500 (3 years 10 months ago) | Author: bret | Changeset: 971

oops!

970 annotated / raw | Diffs: previous, other | Lines: 4111 ( +24, -21 )

Created: 2006-04-29 10:56:01 -0500 (3 years 10 months ago) | Author: bret | Changeset: 970

removed potential silent horror in the xpath code due to a begin/rescue block.

965 annotated / raw | Diffs: previous, other | Lines: 4108 ( +11, -6 )

Created: 2006-04-21 17:17:10 -0500 (3 years 10 months ago) | Author: bret | Changeset: 965

fix for "Unable to attach to Modal Window" error

958 annotated / raw | Diffs: previous, other | Lines: 4103 ( +3764, -3764 )

Created: 2006-04-19 12:59:06 -0500 (3 years 10 months ago) | Author: bret | Changeset: 958

reformatted code to use two spaces.

957 annotated / raw | Diffs: previous, other | Lines: 4103 ( +3, -1 )

Created: 2006-04-18 09:06:44 -0500 (3 years 10 months ago) | Author: bret | Changeset: 957

require rexml 3.1.4 or later (for xpath), now that it has been released.

956 annotated / raw | Diffs: previous, other | Lines: 4101 ( +15, -15 )

Created: 2006-04-17 23:01:09 -0500 (3 years 10 months ago) | Author: bret | Changeset: 956

code cleanup

955 annotated / raw | Diffs: previous, other | Lines: 4101 ( +4, -4 )

Created: 2006-04-17 20:38:07 -0500 (3 years 10 months ago) | Author: bret | Changeset: 955

Fixed xpath bug: Commands such as this weren't working:
       $ie.link(:xpath , "//a[text()='test1']").click
The problem was unnecessary whitespace padding in html_source.

950 annotated / raw | Diffs: previous, other | Lines: 4101 ( +3, -1 )

Created: 2006-04-16 15:31:19 -0500 (3 years 11 months ago) | Author: bret | Changeset: 950

bug fix. calls to wait would block in a modal dialog. this showed up in a call to SelectList#select
(which calls @container.wait).

949 annotated / raw | Diffs: previous, other | Lines: 4099 ( +34, -19 )

Created: 2006-04-15 18:23:52 -0500 (3 years 11 months ago) | Author: bret | Changeset: 949

Return ordinary collections from Container#rows and Container#cells

945 annotated / raw | Diffs: previous, other | Lines: 4084 ( +18, -3 )

Created: 2006-03-27 12:21:33 -0600 (3 years 11 months ago) | Author: bret | Changeset: 945

updates to attach_modal

942 annotated / raw | Diffs: previous, other | Lines: 4069 ( +17, -3 )

Created: 2006-03-26 18:23:13 -0600 (3 years 11 months ago) | Author: bret | Changeset: 942

This fixes a long standing nagging problem -- or at least one
that has been nagging me a lot, although there has been little
public discussion.

The problem showed up either as a delay when successively
running scripts. If you ran one script and then ran another
(as a new ruby process) then the second script would usually
wait about 30 seconds before running. This was really annoying
especially when running short unit tests.

The other way that the problem would show up would be that
a script would get unable to connect to OLE errors on first
running it.

Analysis showed that this problem was coincident with the
fact that there was an iexplore.exe process that was living
for about 30 seconds after a script exited. If you killed
this process manually, then the delayed/failed behavior would
be avoided.

This problem now appears to have been a side effect of a
solution to a similar problem. That problem was that users
would get OLE errors when they ran successive test scripts
(in the same test suite) that closed and opened browsers
(typically one per script).

The solution was to create an additional, hidden browser
that would essentially keep the iexplore process from closing
(which was the source of the OLE errors).

The new solution was to only create this additional, hidden
browser when the @@persist_ole_connection class variable is
true. It is now nil by default. Users that want to open and
close browsers in their scripts will want to set this to true.

934 annotated / raw | Diffs: previous, other | Lines: 4055 ( +1, -1 )

Created: 2006-03-10 14:44:38 -0600 (4 years ago) | Author: bret | Changeset: 934

Fix for ie.form().text_field bug (IEnum interface not found) that was reported by users of the webrecorder testing Google.

929 annotated / raw | Diffs: previous, other | Lines: 4055 ( +4, -3 )

Created: 2006-02-26 18:01:02 -0600 (4 years ago) | Author: bret | Changeset: 929

Created rdoc rake task.
Now use "rake rdoc" instead of "build-rdoc.bat" to generate rdoc
Changed Watir::IE::VERSION to include the scm revision number.
This is now automatically used as the version by the gem rake task.

928 annotated / raw | Diffs: previous, other | Lines: 4054 ( +13, -10 )

Created: 2006-02-26 11:05:24 -0600 (4 years ago) | Author: bret | Changeset: 928

svn revision number is now included in Watir::IE::VERSION; other doc updates

927 annotated / raw | Diffs: previous, other | Lines: 4051 ( +6, -5 )

Created: 2006-02-25 18:25:24 -0600 (4 years ago) | Author: bret | Changeset: 927

mark as version 1.5 preview

925 annotated / raw | Diffs: previous, other | Lines: 4050 ( +109, -48 )

Created: 2006-02-16 22:49:28 -0600 (4 years ago) | Author: bret | Changeset: 925

michael bolton's rdoc updates

924 annotated / raw | Diffs: previous, other | Lines: 3989 ( +18, -18 )

Created: 2006-02-14 00:22:08 -0600 (4 years 1 month ago) | Author: bret | Changeset: 924

fixes bug (hopefully) in IE#wait that allowed the call to IE#goto to return before the page had loaded.

923 annotated / raw | Diffs: previous, other | Lines: 3989 ( +3, -0 )

Created: 2006-02-13 21:30:50 -0600 (4 years 1 month ago) | Author: bret | Changeset: 923

modal dialog support -- use modified win32ole library

922 annotated / raw | Diffs: previous, other | Lines: 3986 ( +35, -5 )

Created: 2006-02-13 01:13:08 -0600 (4 years 1 month ago) | Author: bret | Changeset: 922

Define IE.attach_modal. This is planned to be merged into IE.attach...

921 annotated / raw | Diffs: previous, other | Lines: 3956 ( +19, -19 )

Created: 2006-02-13 00:28:46 -0600 (4 years 1 month ago) | Author: bret | Changeset: 921

more style, whitespace corrections

920 annotated / raw | Diffs: previous, other | Lines: 3956 ( +669, -658 )

Created: 2006-02-12 17:06:53 -0600 (4 years 1 month ago) | Author: bret | Changeset: 920

white space changes from Michael Bolton

915 annotated / raw | Diffs: previous, other | Lines: 3945 ( +7, -6 )

Created: 2006-02-03 19:21:03 -0600 (4 years 1 month ago) | Author: bret | Changeset: 915

fixed bug found by Angrez Singh. it still needs testing. (undefined var suppliedValue).

914 annotated / raw | Diffs: previous, other | Lines: 3944 ( +5, -9 )

Created: 2006-02-02 00:07:05 -0600 (4 years 1 month ago) | Author: bret | Changeset: 914

remove unneeded code

904 annotated / raw | Diffs: previous, other | Lines: 3948 ( +2, -2 )

Created: 2005-12-29 11:14:06 -0600 (4 years 2 months ago) | Author: bret | Changeset: 904

modify comment

903 annotated / raw | Diffs: previous, other | Lines: 3948 ( +6, -7 )

Created: 2005-12-29 10:18:38 -0600 (4 years 2 months ago) | Author: bret | Changeset: 903

Refactor highlight method to use Element#style

902 annotated / raw | Diffs: previous, other | Lines: 3949 ( +2, -0 )

Created: 2005-12-29 08:42:28 -0600 (4 years 2 months ago) | Author: bret | Changeset: 902

added Element#style

901 annotated / raw | Diffs: previous, other | Lines: 3947 ( +36, -51 )

Created: 2005-12-28 21:48:00 -0600 (4 years 2 months ago) | Author: bret | Changeset: 901

whitespace cleanup

900 annotated / raw | Diffs: previous, other | Lines: 3962 ( +14, -12 )

Created: 2005-12-28 21:12:15 -0600 (4 years 2 months ago) | Author: bret | Changeset: 900

Work in progress towards modal dialog support.

898 annotated / raw | Diffs: previous, other | Lines: 3960 ( +11, -3 )

Created: 2005-12-19 00:38:20 -0600 (4 years 2 months ago) | Author: angrez | Changeset: 898

1. Fixed bugs 2961 and 2978
2. Added new method attribute_value in Element class to return value of any attribute if present in the element.

895 annotated / raw | Diffs: previous, other | Lines: 3952 ( +3, -3 )

Created: 2005-11-28 03:57:42 -0600 (4 years 3 months ago) | Author: angrez | Changeset: 895

Renamed another function to use ruby style
getElementByAbsoluteXPath -> element_by_absolute_xpath

894 annotated / raw | Diffs: previous, other | Lines: 3952 ( +27, -3 )

Created: 2005-11-26 21:15:44 -0600 (4 years 3 months ago) | Author: bret | Changeset: 894

Added Element#click_no_wait doesn't wait and also won't block if a modal dialog appears. Also added IE#eval_in_spawned_process to watir.rb.

892 annotated / raw | Diffs: previous, other | Lines: 3928 ( +31, -36 )

Created: 2005-11-26 06:17:42 -0600 (4 years 3 months ago) | Author: angrez | Changeset: 892

1. Changed name of the functions used by xpath according to ruby coding conventions:
   a) getRexmlDocumentObject    -> rexml_document_object
   b) createRexmlDocumentObject -> create_rexml_document_object
   c) getHTMLSource             -> html_source
   d) tokenizeTagline           -> tokenize_tagline
   e) getAllAttributes          -> all_tag_attributes
   f) xmlEscape                 -> xml_escape
   g) getElementByXPath         -> element_by_xpath
   h) getElementsByXPath        -> elements_by_xpath

2. Changed code for getting FORM using XPath to use element_by_xpath directly rather than using getElementsByXPath(old version) and then checking for null condition and return first element in the array.

891 annotated / raw | Diffs: previous, other | Lines: 3933 ( +2, -2 )

Created: 2005-11-23 10:11:48 -0600 (4 years 3 months ago) | Author: bret | Changeset: 891

Corrected rdoc for SelectList#select() as per comments from Manish

890 annotated / raw | Diffs: previous, other | Lines: 3933 ( +12, -6 )

Created: 2005-11-21 01:07:22 -0600 (4 years 3 months ago) | Author: bret | Changeset: 890

Updated doc and tests with regard to image(:title, 'foo') -- actual functionality was already there. Various test cleanup also.

In response to Patch Request 2627 from  Albert Davidson Chou

http://rubyforge.org/tracker/index.php?func=detail&aid=2627&group_id=104&atid=489

889 annotated / raw | Diffs: previous, other | Lines: 3927 ( +32, -13 )

Created: 2005-11-20 17:47:24 -0600 (4 years 3 months ago) | Author: bret | Changeset: 889

IE.attach() now will wait for the specified window to appear, up to a timeout specified by IE.attach_timeout. The default is currently 0.2 seconds.

Fixed numerous html format problems caught by the latest version of XML Buddy.

Renamed IE#remote_eval to be IE#eval_in_spawned_process. This is accurate, even if a mouthful. We expect to wrap this in more user-friendly clothes later.

887 annotated / raw | Diffs: previous, other | Lines: 3908 ( +3, -4 )

Created: 2005-11-19 23:54:22 -0600 (4 years 3 months ago) | Author: bret | Changeset: 887

minor

883 annotated / raw | Diffs: previous, other | Lines: 3909 ( +16, -5 )

Created: 2005-11-19 23:30:14 -0600 (4 years 3 months ago) | Author: bret | Changeset: 883

added IE#speed

882 annotated / raw | Diffs: previous, other | Lines: 3898 ( +4, -4 )

Created: 2005-11-19 22:26:38 -0600 (4 years 3 months ago) | Author: bret | Changeset: 882

Rename IE#@DUMMY_EMPTY_TAG

879 annotated / raw | Diffs: previous, other | Lines: 3898 ( +271, -139 )

Created: 2005-11-18 07:24:32 -0600 (4 years 3 months ago) | Author: angrez | Changeset: 879

angrez & abhishek:
Added new implementation for XPath.
1. Added new functions in IE class:
   a). tokenizeTagline
   b). getAllAttributes
   c). xmlEscape
   d). getHTMLSource
2. Modified function in IE class:
   a). getElementByAbsoluteXpath
3. Added new variable @DUMMY_TAG to IE class. This variable is initialized in set_defaults method
4. Added support for accessing FORM tag using XPath

871 annotated / raw | Diffs: previous, other | Lines: 3766 ( +10, -9 )

Created: 2005-11-11 00:53:37 -0600 (4 years 4 months ago) | Author: bret | Changeset: 871

Fixed bug in IE#html and IE#text. Now they return the html/text of the entire page, rather than only the body.

869 annotated / raw | Diffs: previous, other | Lines: 3765 ( +1, -1 )

Created: 2005-11-05 11:59:02 -0600 (4 years 4 months ago) | Author: bret | Changeset: 869

corrected IE#title documentation

860 annotated / raw | Diffs: previous, other | Lines: 3765 ( +43, -27 )

Created: 2005-09-28 04:14:01 -0500 (4 years 5 months ago) | Author: bret | Changeset: 860

finish with table locate methods. (all that is left is frames and forms)

859 annotated / raw | Diffs: previous, other | Lines: 3749 ( +168, -152 )

Created: 2005-09-28 03:08:58 -0500 (4 years 5 months ago) | Author: bret | Changeset: 859

add locate methods to table objects; refactor code

857 annotated / raw | Diffs: previous, other | Lines: 3733 ( +191, -237 )

Created: 2005-09-28 00:33:54 -0500 (4 years 5 months ago) | Author: bret | Changeset: 857

Followups to new xpath support:
- Refactored calls to getElementsByXpath
- Reformated code
- Removed duplicate tests (and commented-out tests)
- Fixed a few tests that had been commented out
- Added patched version of rexml/element.rb (in watir/element.rb) -- this must be hand installed.
- Fixed xpath code in dragContentsTo
- Moved requires of tidy and rexml into xpath code -- that way this doesn't need to be installed if users aren't using it.

Now xpath_tests.rb: 69 tests, 309 assertions, 0 failures, 2 errors

856 annotated / raw | Diffs: previous, other | Lines: 3779 ( +341, -36 )

Created: 2005-09-27 23:21:26 -0500 (4 years 5 months ago) | Author: bret | Changeset: 856

Xpath support by Angrez Singh <angrez@gmail.com>, which requires the following:
- tidy (gem install tidy)
- rexml 3.1.4 (not yet released)
See the xpath doc included with this commit for details.

This commit is exactly what Angrez delivered to me, except:
- fixed mistaken change to legacy code in dragContentsTo
- uncommented 'require "watir/camel_case.rb"'
- there are now three, disjoint sets of tests: core_tests.rb, non_core_tests.rb and xpath_tests.rb

Note that i don't have Rexml 3.1.4 (I have whatever comes with Ruby 1.8.2)
When i run xpath_tests.rb, i get:
 75 tests, 242 assertions, 20 failures, 7 errors

854 annotated / raw | Diffs: previous, other | Lines: 3474 ( +23, -26 )

Created: 2005-09-23 11:27:51 -0500 (4 years 5 months ago) | Author: bret | Changeset: 854

towards lazy evaluation of tables

853 annotated / raw | Diffs: previous, other | Lines: 3477 ( +30, -39 )

Created: 2005-09-23 11:13:10 -0500 (4 years 5 months ago) | Author: bret | Changeset: 853

minor fixes

852 annotated / raw | Diffs: previous, other | Lines: 3486 ( +13, -30 )

Created: 2005-09-22 18:17:58 -0500 (4 years 5 months ago) | Author: bret | Changeset: 852

generalize accessors for tables, and add error handling

851 annotated / raw | Diffs: previous, other | Lines: 3503 ( +28, -166 )

Created: 2005-09-22 17:15:56 -0500 (4 years 5 months ago) | Author: bret | Changeset: 851

generalize accessors for most remaining elements to be any attribute (all except frames and forms)

850 annotated / raw | Diffs: previous, other | Lines: 3641 ( +18, -35 )

Created: 2005-09-22 10:50:05 -0500 (4 years 5 months ago) | Author: bret | Changeset: 850

generalize accessors for image elements to be any attribute

849 annotated / raw | Diffs: previous, other | Lines: 3658 ( +45, -71 )

Created: 2005-09-22 05:20:50 -0500 (4 years 5 months ago) | Author: bret | Changeset: 849

generalize accessors for input elements to be any attribute

848 annotated / raw | Diffs: previous, other | Lines: 3684 ( +36, -44 )

Created: 2005-09-22 02:57:51 -0500 (4 years 5 months ago) | Author: bret | Changeset: 848

more lazy evaluation

847 annotated / raw | Diffs: previous, other | Lines: 3692 ( +42, -80 )

Created: 2005-09-22 02:34:09 -0500 (4 years 5 months ago) | Author: bret | Changeset: 847

add lazy evaluation to more input element types

846 annotated / raw | Diffs: previous, other | Lines: 3730 ( +32, -34 )

Created: 2005-09-22 01:38:35 -0500 (4 years 5 months ago) | Author: bret | Changeset: 846

create generators for factory methods

845 annotated / raw | Diffs: previous, other | Lines: 3732 ( +13, -46 )

Created: 2005-09-15 10:59:34 -0500 (4 years 6 months ago) | Author: bret | Changeset: 845

type is only an attribute for input elements. removed type method from others.

840 annotated / raw | Diffs: previous, other | Lines: 3765 ( +17, -6 )

Created: 2005-09-14 15:13:41 -0500 (4 years 6 months ago) | Author: bret | Changeset: 840

autoit will now autoregister

839 annotated / raw | Diffs: previous, other | Lines: 3754 ( +6, -0 )

Created: 2005-09-14 01:19:47 -0500 (4 years 6 months ago) | Author: bret | Changeset: 839

fix for dreaded rpc error (2339). not pretty, but it works.

838 annotated / raw | Diffs: previous, other | Lines: 3748 ( +166, -174 )

Created: 2005-09-07 01:04:05 -0500 (4 years 6 months ago) | Author: bret | Changeset: 838

refactor TextField

837 annotated / raw | Diffs: previous, other | Lines: 3756 ( +27, -63 )

Created: 2005-09-06 23:31:20 -0500 (4 years 6 months ago) | Author: bret | Changeset: 837

refactor TextField

836 annotated / raw | Diffs: previous, other | Lines: 3792 ( +61, -1 )

Created: 2005-09-06 21:39:48 -0500 (4 years 6 months ago) | Author: bret | Changeset: 836

Jeff Wood adds support for PRE as per support request 2303
http://rubyforge.org/tracker/index.php?func=detail&aid=2303&group_id=104&atid=488

835 annotated / raw | Diffs: previous, other | Lines: 3732 ( +9, -28 )

Created: 2005-09-06 01:35:37 -0500 (4 years 6 months ago) | Author: bret | Changeset: 835

more refactoring of Elements and children

834 annotated / raw | Diffs: previous, other | Lines: 3751 ( +23, -23 )

Created: 2005-09-06 00:58:43 -0500 (4 years 6 months ago) | Author: bret | Changeset: 834

refactor form code

833 annotated / raw | Diffs: previous, other | Lines: 3751 ( +3, -9 )

Created: 2005-09-06 00:44:52 -0500 (4 years 6 months ago) | Author: bret | Changeset: 833

refactor form attribute code

832 annotated / raw | Diffs: previous, other | Lines: 3757 ( +5, -4 )

Created: 2005-09-06 00:32:45 -0500 (4 years 6 months ago) | Author: bret | Changeset: 832

fix for bug 1916 (wrong error message for bad attribute) thanks to Alex Verk.

829 annotated / raw | Diffs: previous, other | Lines: 3756 ( +28, -28 )

Created: 2005-09-01 17:42:04 -0500 (4 years 6 months ago) | Author: bret | Changeset: 829

make show_all_objects work with any object

828 annotated / raw | Diffs: previous, other | Lines: 3756 ( +37, -38 )

Created: 2005-09-01 17:36:14 -0500 (4 years 6 months ago) | Author: bret | Changeset: 828

formatting show* commands

827 annotated / raw | Diffs: previous, other | Lines: 3757 ( +4, -4 )

Created: 2005-09-01 00:29:10 -0500 (4 years 6 months ago) | Author: bret | Changeset: 827

fix for Jared Quinert's bug caused by xml data with id of 'tags'
(which overrides the normal document.all.tags method)
this is a general fix

826 annotated / raw | Diffs: previous, other | Lines: 3757 ( +3, -2 )

Created: 2005-09-01 00:13:29 -0500 (4 years 6 months ago) | Author: bret | Changeset: 826

quick fix for Jared Quinert's bug caused by xml data with id of 'tags'
(it overrides the normal document.all.tags method)
this fixes the specific problem reported; but not the general case (which does not have a ready workaround)

824 annotated / raw | Diffs: previous, other | Lines: 3756 ( +54, -33 )

Created: 2005-08-31 00:37:24 -0500 (4 years 6 months ago) | Author: bret | Changeset: 824

major refactoring: All Elements are now Containers!
(more tests to verify this would be good)

820 annotated / raw | Diffs: previous, other | Lines: 3735 ( +12, -14 )

Created: 2005-08-30 00:14:52 -0500 (4 years 6 months ago) | Author: bret | Changeset: 820

refactor Table.create_from_element

819 annotated / raw | Diffs: previous, other | Lines: 3737 ( +7, -3 )

Created: 2005-08-29 23:37:58 -0500 (4 years 6 months ago) | Author: bret | Changeset: 819

add rdoc

818 annotated / raw | Diffs: previous, other | Lines: 3733 ( +3, -2 )

Created: 2005-08-29 23:32:52 -0500 (4 years 6 months ago) | Author: bret | Changeset: 818

fix for failed unit test reported by paul:
test_table_from_element(TC_Tables):
NoMethodError: undefined method `parentElement' for nil:NilClass
   d:/workspace/watir/unittests/../watir.rb:2292:in `create_from_element'
   d:/workspace/watir/unittests/../unittests/table_test.rb:175:in `test_table_from_element'

814 annotated / raw | Diffs: previous, other | Lines: 3732 ( +8, -6 )

Created: 2005-08-26 22:12:30 -0500 (4 years 6 months ago) | Author: pmr16366 | Changeset: 814

moved class_name so it applies to all elements

778 annotated / raw | Diffs: previous, other | Lines: 3730 ( +9, -8 )

Created: 2005-08-20 15:22:25 -0500 (4 years 6 months ago) | Author: bret | Changeset: 778

include doc for attributes defined with def_wrap* (in Elements); change location of rdoc

Tags: v1_4_1

768 annotated / raw | Diffs: previous, other | Lines: 3729 ( +18, -13 )

Created: 2005-08-19 17:29:57 -0500 (4 years 6 months ago) | Author: dragonkh | Changeset: 768

worked on deferred binding of Button

765 annotated / raw | Diffs: previous, other | Lines: 3724 ( +21, -14 )

Created: 2005-08-19 01:18:29 -0500 (4 years 6 months ago) | Author: bret | Changeset: 765

first step in getting lazy references

763 annotated / raw | Diffs: previous, other | Lines: 3717 ( +5, -0 )

Created: 2005-08-18 22:36:39 -0500 (4 years 6 months ago) | Author: bret | Changeset: 763

finish fix for form bug 2661

761 annotated / raw | Diffs: previous, other | Lines: 3712 ( +7, -7 )

Created: 2005-08-18 19:21:21 -0500 (4 years 6 months ago) | Author: bret | Changeset: 761

finish frame refactoring. remove last vestiges of IEController.

760 annotated / raw | Diffs: previous, other | Lines: 3712 ( +178, -188 )

Created: 2005-08-18 15:06:40 -0500 (4 years 6 months ago) | Author: bret | Changeset: 760

frame and form refactoring; partial fix for form bug 2261

757 annotated / raw | Diffs: previous, other | Lines: 3722 ( +91, -97 )

Created: 2005-08-17 18:24:55 -0500 (4 years 6 months ago) | Author: bret | Changeset: 757

white space cleanup; form/frame/container refactoring

756 annotated / raw | Diffs: previous, other | Lines: 3728 ( +4, -7 )

Created: 2005-08-17 17:42:21 -0500 (4 years 6 months ago) | Author: bret | Changeset: 756

frame and form are now containers rather than subclasses of IE

755 annotated / raw | Diffs: previous, other | Lines: 3731 ( +180, -193 )

Created: 2005-08-15 02:23:32 -0500 (4 years 7 months ago) | Author: bret | Changeset: 755

Corrected lots of incorrectly named methods, properties and classes.
Using correct names revealed some apparently incorrect code in various length methods, which was consequently reworked.
Also removed some unnecessary code.

754 annotated / raw | Diffs: previous, other | Lines: 3744 ( +14, -3 )

Created: 2005-08-12 16:33:38 -0500 (4 years 7 months ago) | Author: dragonkh | Changeset: 754

Added bring_to_front and front? methods and added tests

753 annotated / raw | Diffs: previous, other | Lines: 3733 ( +0, -22 )

Created: 2005-08-10 14:22:10 -0500 (4 years 7 months ago) | Author: bret | Changeset: 753

remove IE#capture_events which never worked very well and is unnecessary now that we have IE.attach

752 annotated / raw | Diffs: previous, other | Lines: 3755 ( +4, -4 )

Created: 2005-08-09 13:15:37 -0500 (4 years 7 months ago) | Author: bret | Changeset: 752

fixed references to style that should have been renamed

747 annotated / raw | Diffs: previous, other | Lines: 3755 ( +1, -1 )

Created: 2005-08-08 21:16:37 -0500 (4 years 7 months ago) | Author: bret | Changeset: 747

stop printing warning message from wait code

743 annotated / raw | Diffs: previous, other | Lines: 3755 ( +1, -1 )

Created: 2005-08-04 01:01:11 -0500 (4 years 7 months ago) | Author: bret | Changeset: 743

updates for 1.4

Branch point for: watir1_4truly

Tags: v1_4

742 annotated / raw | Diffs: previous, other | Lines: 3755 ( +3, -3 )

Created: 2005-08-03 23:41:19 -0500 (4 years 7 months ago) | Author: bret | Changeset: 742

fix method name for accessing class name of P/Span/Div (change from style to class_name)

734 annotated / raw | Diffs: previous, other | Lines: 3755 ( +14, -14 )

Created: 2005-07-30 17:37:41 -0500 (4 years 7 months ago) | Author: bret | Changeset: 734

doc fix -- changed each do ... end to each {} -- this conforms to pickaxe ruby style; also removed unnecessary (and confusing) semicolons

732 annotated / raw | Diffs: previous, other | Lines: 3755 ( +2, -2 )

Created: 2005-07-27 18:57:48 -0500 (4 years 7 months ago) | Author: pmr16366 | Changeset: 732

fix for bug 2152 (frame index in show_frames off by 1)

730 annotated / raw | Diffs: previous, other | Lines: 3755 ( +8, -0 )

Created: 2005-07-27 17:35:53 -0500 (4 years 7 months ago) | Author: pmr16366 | Changeset: 730

added alt as a property to image

729 annotated / raw | Diffs: previous, other | Lines: 3747 ( +41, -12 )

Created: 2005-07-27 17:17:46 -0500 (4 years 7 months ago) | Author: pmr16366 | Changeset: 729

added file_fields

728 annotated / raw | Diffs: previous, other | Lines: 3718 ( +25, -37 )

Created: 2005-07-27 12:56:23 -0500 (4 years 7 months ago) | Author: pmr16366 | Changeset: 728

fixed textare#to_s, improved rdocs, moved reset button to buttons class

724 annotated / raw | Diffs: previous, other | Lines: 3730 ( +46, -150 )

Created: 2005-07-24 23:47:54 -0500 (4 years 7 months ago) | Author: bret | Changeset: 724

refactoring, removing unnecessary code

722 annotated / raw | Diffs: previous, other | Lines: 3834 ( +60, -200 )

Created: 2005-07-24 21:26:47 -0500 (4 years 7 months ago) | Author: bret | Changeset: 722

refactor factory methods; back out default attribute code

720 annotated / raw | Diffs: previous, other | Lines: 3974 ( +9, -0 )

Created: 2005-07-23 13:02:16 -0500 (4 years 7 months ago) | Author: bret | Changeset: 720

add IE#send_keys

Tags: before_backing_out_default_attribute_code

719 annotated / raw | Diffs: previous, other | Lines: 3965 ( +20, -13 )

Created: 2005-07-22 18:42:18 -0500 (4 years 7 months ago) | Author: bret | Changeset: 719

frames can now be referenced using regexps and ids

715 annotated / raw | Diffs: previous, other | Lines: 3958 ( +21, -6 )

Created: 2005-07-17 12:59:14 -0500 (4 years 7 months ago) | Author: bret | Changeset: 715

added IE#minimize, IE#maximize, IE#restore -- thanks to Tuyet Cong-Ton-Nu

713 annotated / raw | Diffs: previous, other | Lines: 3943 ( +4, -1 )

Created: 2005-07-14 15:12:06 -0500 (4 years 8 months ago) | Author: bret | Changeset: 713

added onChange and onBlur events to TextField#set

712 annotated / raw | Diffs: previous, other | Lines: 3940 ( +1, -1 )

Created: 2005-07-14 14:04:36 -0500 (4 years 8 months ago) | Author: bret | Changeset: 712

privatized new method created by paul's nice refactor of radio/checkbox code

711 annotated / raw | Diffs: previous, other | Lines: 3940 ( +10, -12 )

Created: 2005-07-14 13:45:58 -0500 (4 years 8 months ago) | Author: bret | Changeset: 711

remove 'Include Watir' which confuses some people

709 annotated / raw | Diffs: previous, other | Lines: 3942 ( +16, -8 )

Created: 2005-07-14 11:22:56 -0500 (4 years 8 months ago) | Author: pmr16366 | Changeset: 709

added default option to set for checkbox

708 annotated / raw | Diffs: previous, other | Lines: 3934 ( +19, -14 )

Created: 2005-07-10 13:33:19 -0500 (4 years 8 months ago) | Author: pmr16366 | Changeset: 708

refactor radio/checkbox set/clear

707 annotated / raw | Diffs: previous, other | Lines: 3929 ( +4, -0 )

Created: 2005-07-02 00:03:33 -0500 (4 years 8 months ago) | Author: pmr16366 | Changeset: 707

added colspan method to tablecell

706 annotated / raw | Diffs: previous, other | Lines: 3925 ( +2, -1 )

Created: 2005-07-01 23:52:34 -0500 (4 years 8 months ago) | Author: pmr16366 | Changeset: 706

fix for bug reported by Scott P, wrong objects are sometimes found

705 annotated / raw | Diffs: previous, other | Lines: 3924 ( +45, -4 )

Created: 2005-07-01 23:04:41 -0500 (4 years 8 months ago) | Author: pmr16366 | Changeset: 705

fixed bug with radio/checkboxes doing multiple fireevents

704 annotated / raw | Diffs: previous, other | Lines: 3883 ( +5, -2 )

Created: 2005-07-01 22:26:01 -0500 (4 years 8 months ago) | Author: pmr16366 | Changeset: 704

fix for table, id and reg exp

698 annotated / raw | Diffs: previous, other | Lines: 3880 ( +2, -1 )

Created: 2005-06-10 14:07:31 -0500 (4 years 9 months ago) | Author: bret | Changeset: 698

wait for page load before returning from IE.attach

697 annotated / raw | Diffs: previous, other | Lines: 3879 ( +273, -480 )

Created: 2005-06-02 00:56:16 -0500 (4 years 9 months ago) | Author: bret | Changeset: 697

refactorings from watir_2_0 branch. remove refresh.

682 annotated / raw | Diffs: previous, other | Lines: 4086 ( +4, -10 )

Created: 2005-05-26 01:31:03 -0500 (4 years 9 months ago) | Author: bret | Changeset: 682

corrected default_attribute accessors

Branch point for: watir2_0

Tags: Root_watir2_0

681 annotated / raw | Diffs: previous, other | Lines: 4092 ( +68, -34 )

Created: 2005-05-24 23:26:26 -0500 (4 years 9 months ago) | Author: pmr16366 | Changeset: 681

improved rdocs

675 annotated / raw | Diffs: previous, other | Lines: 4058 ( +95, -39 )

Created: 2005-05-24 22:05:07 -0500 (4 years 9 months ago) | Author: pmr16366 | Changeset: 675

support and tests for refresh method

674 annotated / raw | Diffs: previous, other | Lines: 4002 ( +15, -2 )

Created: 2005-05-24 17:39:46 -0500 (4 years 9 months ago) | Author: pmr16366 | Changeset: 674

added refresh method to spans/divs/p and unit test

672 annotated / raw | Diffs: previous, other | Lines: 3989 ( +61, -39 )

Created: 2005-05-23 22:59:39 -0500 (4 years 9 months ago) | Author: bret | Changeset: 672

update to select_list -- new interface still in progress

666 annotated / raw | Diffs: previous, other | Lines: 3967 ( +221, -17 )

Created: 2005-05-23 11:40:26 -0500 (4 years 9 months ago) | Author: pmr16366 | Changeset: 666

added default attribute methods

665 annotated / raw | Diffs: previous, other | Lines: 3763 ( +139, -0 )

Created: 2005-05-23 11:13:04 -0500 (4 years 9 months ago) | Author: pmr16366 | Changeset: 665

added .show method to iterators

664 annotated / raw | Diffs: previous, other | Lines: 3624 ( +2, -2 )

Created: 2005-05-23 10:57:47 -0500 (4 years 9 months ago) | Author: pmr16366 | Changeset: 664

fix for flashing objects in table cells

663 annotated / raw | Diffs: previous, other | Lines: 3624 ( +51, -2 )

Created: 2005-05-23 10:50:42 -0500 (4 years 9 months ago) | Author: pmr16366 | Changeset: 663

added flash for forms

662 annotated / raw | Diffs: previous, other | Lines: 3575 ( +63, -36 )

Created: 2005-05-21 20:50:05 -0500 (4 years 9 months ago) | Author: bret | Changeset: 662

reworking select_list code

661 annotated / raw | Diffs: previous, other | Lines: 3548 ( +141, -193 )

Created: 2005-05-21 01:47:34 -0500 (4 years 9 months ago) | Author: bret | Changeset: 661

refactor 'iteration' objects

660 annotated / raw | Diffs: previous, other | Lines: 3600 ( +51, -93 )

Created: 2005-05-20 23:53:01 -0500 (4 years 9 months ago) | Author: bret | Changeset: 660

refactor "iterators" and div-spans

659 annotated / raw | Diffs: previous, other | Lines: 3642 ( +6, -33 )

Created: 2005-05-20 22:14:24 -0500 (4 years 9 months ago) | Author: bret | Changeset: 659

whitespace; rename misnamed classes

658 annotated / raw | Diffs: previous, other | Lines: 3669 ( +40, -70 )

Created: 2005-05-20 21:38:30 -0500 (4 years 9 months ago) | Author: bret | Changeset: 658

move aliases to separate file

649 annotated / raw | Diffs: previous, other | Lines: 3699 ( +1, -1 )

Created: 2005-05-14 09:07:31 -0500 (4 years 10 months ago) | Author: bret | Changeset: 649

flash returns nil instead of the curious '10'

643 annotated / raw | Diffs: previous, other | Lines: 3699 ( +0, -3 )

Created: 2005-05-12 15:31:02 -0500 (4 years 10 months ago) | Author: bret | Changeset: 643

removed ScreenCapture module from IE class

627 annotated / raw | Diffs: previous, other | Lines: 3702 ( +1, -1 )

Created: 2005-05-10 15:48:49 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 627

updated version number

Tags: v1_31

622 annotated / raw | Diffs: previous, other | Lines: 3702 ( +56, -0 )

Created: 2005-05-08 19:56:08 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 622

added P tags

618 annotated / raw | Diffs: previous, other | Lines: 3646 ( +6, -6 )

Created: 2005-05-08 15:56:06 -0500 (4 years 10 months ago) | Author: bret | Changeset: 618

trim foo.text

613 annotated / raw | Diffs: previous, other | Lines: 3646 ( +1, -1 )

Created: 2005-05-06 10:41:45 -0500 (4 years 10 months ago) | Author: sipea | Changeset: 613

Image.save now uses the timeout arg of autoit.WinWait to avoid a potential hang

612 annotated / raw | Diffs: previous, other | Lines: 3646 ( +5, -0 )

Created: 2005-05-06 09:45:57 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 612

added ie method to frame object to prevent failures of links in frames using each

609 annotated / raw | Diffs: previous, other | Lines: 3641 ( +1, -1 )

Created: 2005-05-06 08:02:18 -0500 (4 years 10 months ago) | Author: sipea | Changeset: 609

changed the join time on the save dialog to 5 seconds

608 annotated / raw | Diffs: previous, other | Lines: 3641 ( +24, -24 )

Created: 2005-05-06 07:19:16 -0500 (4 years 10 months ago) | Author: sipea | Changeset: 608

updated Image.save to use execCommand & AutoIT vs the IE Cache

604 annotated / raw | Diffs: previous, other | Lines: 3641 ( +1, -20 )

Created: 2005-05-05 23:54:22 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 604

removed an unused class. fixed version number

601 annotated / raw | Diffs: previous, other | Lines: 3660 ( +2, -9 )

Created: 2005-05-05 22:54:59 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 601

renamed html methods to be consistant

Tags: v1_3

598 annotated / raw | Diffs: previous, other | Lines: 3667 ( +37, -6 )

Created: 2005-05-05 22:22:55 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 598

bug fix for images and links in cells

594 annotated / raw | Diffs: previous, other | Lines: 3636 ( +9, -1 )

Created: 2005-05-03 19:12:26 -0500 (4 years 10 months ago) | Author: sipea | Changeset: 594

added new row_values method to Table, minor doc changes

590 annotated / raw | Diffs: previous, other | Lines: 3628 ( +1, -1 )

Created: 2005-05-01 12:30:50 -0500 (4 years 10 months ago) | Author: bret | Changeset: 590

improve error message in image.save

589 annotated / raw | Diffs: previous, other | Lines: 3628 ( +30, -0 )

Created: 2005-04-30 23:27:03 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 589

fix for flash for tables

588 annotated / raw | Diffs: previous, other | Lines: 3598 ( +13, -0 )

Created: 2005-04-30 22:48:44 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 588

added 2 new methods to ObjectActions, innerHTMl and outerHTML

586 annotated / raw | Diffs: previous, other | Lines: 3585 ( +31, -2 )

Created: 2005-04-30 13:54:39 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 586

now throws exception on 404, 500 errors

583 annotated / raw | Diffs: previous, other | Lines: 3556 ( +2, -4 )

Created: 2005-04-30 10:25:16 -0500 (4 years 10 months ago) | Author: sipea | Changeset: 583

removed the default strm param, now using the mock stdout to do the test

578 annotated / raw | Diffs: previous, other | Lines: 3558 ( +10, -3 )

Created: 2005-04-30 01:50:58 -0500 (4 years 10 months ago) | Author: bret | Changeset: 578

remove spinner, add fast mode, cleanup returns and whitespace

577 annotated / raw | Diffs: previous, other | Lines: 3551 ( +21, -73 )

Created: 2005-04-30 01:34:43 -0500 (4 years 10 months ago) | Author: bret | Changeset: 577

remove spinner, add fast mode, cleanup returns and whitespace

576 annotated / raw | Diffs: previous, other | Lines: 3603 ( +191, -50 )

Created: 2005-04-29 23:01:05 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 576

more rdoc comments, added include Enumerable to iterators class

573 annotated / raw | Diffs: previous, other | Lines: 3462 ( +4, -2 )

Created: 2005-04-29 21:59:00 -0500 (4 years 10 months ago) | Author: sipea | Changeset: 573

Added stream param to show_links to support unit test

566 annotated / raw | Diffs: previous, other | Lines: 3460 ( +34, -7 )

Created: 2005-04-29 19:38:39 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 566

improving rdocs

565 annotated / raw | Diffs: previous, other | Lines: 3433 ( +138, -6 )

Created: 2005-04-29 19:31:18 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 565

improving rdocs

560 annotated / raw | Diffs: previous, other | Lines: 3301 ( +7, -9 )

Created: 2005-04-29 17:38:15 -0500 (4 years 10 months ago) | Author: bret | Changeset: 560

doc changes mostly

556 annotated / raw | Diffs: previous, other | Lines: 3303 ( +47, -42 )

Created: 2005-04-29 10:39:17 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 556

Fixed bug with images and links in tablecells

555 annotated / raw | Diffs: previous, other | Lines: 3298 ( +105, -0 )

Created: 2005-04-28 20:38:14 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 555

added support for labels

554 annotated / raw | Diffs: previous, other | Lines: 3193 ( +21, -7 )

Created: 2005-04-28 10:55:21 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 554

added support for frames by index

552 annotated / raw | Diffs: previous, other | Lines: 3179 ( +4, -0 )

Created: 2005-04-27 22:20:25 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 552

added screen_capture

548 annotated / raw | Diffs: previous, other | Lines: 3175 ( +26, -1 )

Created: 2005-04-21 16:05:00 -0500 (4 years 10 months ago) | Author: sipea | Changeset: 548

added save method to Image class

546 annotated / raw | Diffs: previous, other | Lines: 3150 ( +16, -2 )

Created: 2005-04-18 11:18:09 -0500 (4 years 10 months ago) | Author: pmr16366 | Changeset: 546

added onKeyUp and onKeyDown to text_fields#set. Added tests for these events. Fixed bug in text_fields iterator where it wasnt iterating through password or text ares. Added test for password fields

542 annotated / raw | Diffs: previous, other | Lines: 3136 ( +10, -0 )

Created: 2005-04-15 00:01:56 -0500 (4 years 11 months ago) | Author: pmr16366 | Changeset: 542

add new column_value method

538 annotated / raw | Diffs: previous, other | Lines: 3126 ( +1, -1 )

Created: 2005-04-13 09:39:58 -0500 (4 years 11 months ago) | Author: pmr16366 | Changeset: 538

minor bug fix

537 annotated / raw | Diffs: previous, other | Lines: 3126 ( +86, -38 )

Created: 2005-04-12 22:54:39 -0500 (4 years 11 months ago) | Author: pmr16366 | Changeset: 537

added some new table methods, more comments, minor refactoring

536 annotated / raw | Diffs: previous, other | Lines: 3078 ( +73, -77 )

Created: 2005-04-12 16:52:57 -0500 (4 years 11 months ago) | Author: pmr16366 | Changeset: 536

spand and div now act as containers, so can do ie.div(:index,1).button(:index.2).click

535 annotated / raw | Diffs: previous, other | Lines: 3082 ( +608, -571 )

Created: 2005-04-09 18:13:34 -0500 (4 years 11 months ago) | Author: pmr16366 | Changeset: 535

moved many methods into sepetare module to allow constructs like table(:index,1)[1][1].button(:index,2)

532 annotated / raw | Diffs: previous, other | Lines: 3045 ( +90, -42 )

Created: 2005-04-04 21:30:09 -0500 (4 years 11 months ago) | Author: pmr16366 | Changeset: 532

added hidden field support, and iterator method

531 annotated / raw | Diffs: previous, other | Lines: 2997 ( +100, -13 )

Created: 2005-04-04 18:14:25 -0500 (4 years 11 months ago) | Author: pmr16366 | Changeset: 531

added index to print out from show_xx methods. Link shows img src if an image is used

529 annotated / raw | Diffs: previous, other | Lines: 2910 ( +1, -1 )

Created: 2005-04-03 18:24:07 -0500 (4 years 11 months ago) | Author: pmr16366 | Changeset: 529

updated Release number

518 annotated / raw | Diffs: previous, other | Lines: 2910 ( +21, -3 )

Created: 2005-03-30 22:37:48 -0600 (4 years 11 months ago) | Author: pmr16366 | Changeset: 518

new url_list methods

Tags: v1_2

513 annotated / raw | Diffs: previous, other | Lines: 2892 ( +1, -1 )

Created: 2005-03-30 12:30:55 -0600 (4 years 11 months ago) | Author: pmr16366 | Changeset: 513

fix for :url and reg exp in links

508 annotated / raw | Diffs: previous, other | Lines: 2892 ( +23, -0 )

Created: 2005-03-29 10:23:53 -0600 (4 years 11 months ago) | Author: pmr16366 | Changeset: 508

Added :title as a way of finding links. Added a title attribute

506 annotated / raw | Diffs: previous, other | Lines: 2869 ( +106, -15 )

Created: 2005-03-28 23:35:51 -0600 (4 years 11 months ago) | Author: pmr16366 | Changeset: 506

added TableBody and TableBodies method and tests for them. These still have more methods to be added

494 annotated / raw | Diffs: previous, other | Lines: 2778 ( +1, -1 )

Created: 2005-03-25 14:39:50 -0600 (4 years 11 months ago) | Author: jonathankohl | Changeset: 494

fixed typo

489 annotated / raw | Diffs: previous, other | Lines: 2778 ( +1, -1 )

Created: 2005-03-23 18:33:06 -0600 (4 years 11 months ago) | Author: ljorquera | Changeset: 489

Fixed to allow nested tables, getting rows with invoke("rows") (John Lloyd-Jones idea)

480 annotated / raw | Diffs: previous, other | Lines: 2778 ( +43, -40 )

Created: 2005-03-20 21:00:57 -0600 (4 years 11 months ago) | Author: pmr16366 | Changeset: 480

More updates for tables

479 annotated / raw | Diffs: previous, other | Lines: 2775 ( +107, -271 )

Created: 2005-03-20 10:05:19 -0600 (4 years 11 months ago) | Author: pmr16366 | Changeset: 479

Some table changes to fix problems identified this week

476 annotated / raw | Diffs: previous, other | Lines: 2939 ( +439, -61 )

Created: 2005-03-18 18:51:21 -0600 (4 years 11 months ago) | Author: pmr16366 | Changeset: 476

minor refactoring, many new rdoc comments, commented out code for table refactoring

473 annotated / raw | Diffs: previous, other | Lines: 2561 ( +19, -45 )

Created: 2005-03-14 22:24:59 -0600 (5 years ago) | Author: pmr16366 | Changeset: 473

updates and bug fixes to iterator methods after completing unt tests

472 annotated / raw | Diffs: previous, other | Lines: 2587 ( +40, -1 )

Created: 2005-03-14 12:13:08 -0600 (5 years ago) | Author: pmr16366 | Changeset: 472

added text_fields and divs as iterators

471 annotated / raw | Diffs: previous, other | Lines: 2548 ( +193, -27 )

Created: 2005-03-14 11:56:24 -0600 (5 years ago) | Author: pmr16366 | Changeset: 471

Added iterators for mosy html object types

469 annotated / raw | Diffs: previous, other | Lines: 2382 ( +14, -0 )

Created: 2005-03-13 12:09:21 -0600 (5 years ago) | Author: pmr16366 | Changeset: 469

bug fix to the Links object, new methods, length and []

462 annotated / raw | Diffs: previous, other | Lines: 2368 ( +3, -3 )

Created: 2005-03-12 18:42:18 -0600 (5 years ago) | Author: pmr16366 | Changeset: 462

minor changes once unit tests were added

456 annotated / raw | Diffs: previous, other | Lines: 2368 ( +253, -107 )

Created: 2005-03-12 13:52:56 -0600 (5 years ago) | Author: pmr16366 | Changeset: 456

removed get and set property replaced with direct methods. NO UNIT TESTS - this is really just a bckup, although existing tests still run

449 annotated / raw | Diffs: previous, other | Lines: 2222 ( +34, -4 )

Created: 2005-03-11 23:15:49 -0600 (5 years ago) | Author: pmr16366 | Changeset: 449

added reset object and factory method. Made value= and value into public methods

444 annotated / raw | Diffs: previous, other | Lines: 2192 ( +12, -6 )

Created: 2005-03-10 00:38:08 -0600 (5 years ago) | Author: pmr16366 | Changeset: 444

rename pageContainsText to contains_text ( still has an  alias to pageCOntainsText) Added revision and version numbers

Tags: v1_1

440 annotated / raw | Diffs: previous, other | Lines: 2186 ( +2, -2 )

Created: 2005-03-09 11:44:11 -0600 (5 years ago) | Author: pmr16366 | Changeset: 440

fix for table unit test failures

436 annotated / raw | Diffs: previous, other | Lines: 2186 ( +133, -60 )

Created: 2005-03-04 20:45:00 -0600 (5 years ago) | Author: ljorquera | Changeset: 436

Added table modifications to allow table[][].button.click syntax. Also to allow creation of a table from an object that belongs to it

433 annotated / raw | Diffs: previous, other | Lines: 2113 ( +16, -2 )

Created: 2005-03-01 19:32:39 -0600 (5 years ago) | Author: pmr16366 | Changeset: 433

changed links method to return a watir link object

424 annotated / raw | Diffs: previous, other | Lines: 2099 ( +27, -2 )

Created: 2005-02-21 20:19:04 -0600 (5 years ago) | Author: pmr16366 | Changeset: 424

First attempt at adding a links object

423 annotated / raw | Diffs: previous, other | Lines: 2074 ( +22, -4 )

Created: 2005-02-21 19:40:40 -0600 (5 years ago) | Author: pmr16366 | Changeset: 423

added span

422 annotated / raw | Diffs: previous, other | Lines: 2056 ( +1, -2 )

Created: 2005-02-18 03:12:37 -0600 (5 years ago) | Author: bret | Changeset: 422

fix for spinner error introduced in prior commit

420 annotated / raw | Diffs: previous, other | Lines: 2057 ( +25, -14 )

Created: 2005-02-18 02:48:14 -0600 (5 years ago) | Author: bret | Changeset: 420

refactor

419 annotated / raw | Diffs: previous, other | Lines: 2046 ( +2, -2 )

Created: 2005-02-15 23:37:26 -0600 (5 years ago) | Author: pmr16366 | Changeset: 419

fixed a typo

417 annotated / raw | Diffs: previous, other | Lines: 2046 ( +45, -9 )

Created: 2005-02-15 23:21:44 -0600 (5 years ago) | Author: pmr16366 | Changeset: 417

Added new error checkers, replaced showLinks, moved a few lines of code

416 annotated / raw | Diffs: previous, other | Lines: 2010 ( +5, -1 )

Created: 2005-02-15 11:44:30 -0600 (5 years ago) | Author: pmr16366 | Changeset: 416

added switches to turn off spinner

415 annotated / raw | Diffs: previous, other | Lines: 2006 ( +10, -5 )

Created: 2005-02-15 11:34:06 -0600 (5 years ago) | Author: pmr16366 | Changeset: 415

added enable_spinner switch to turn off the spinner

414 annotated / raw | Diffs: previous, other | Lines: 2001 ( +6, -2 )

Created: 2005-02-15 11:26:28 -0600 (5 years ago) | Author: pmr16366 | Changeset: 414

made goto method return the download time

407 annotated / raw | Diffs: previous, other | Lines: 1997 ( +67, -111 )

Created: 2005-02-05 04:04:43 -0600 (5 years 1 month ago) | Author: bret | Changeset: 407

refactoring

406 annotated / raw | Diffs: previous, other | Lines: 2041 ( +8, -11 )

Created: 2005-02-05 02:51:12 -0600 (5 years 1 month ago) | Author: bret | Changeset: 406

uncommented some logging statements

405 annotated / raw | Diffs: previous, other | Lines: 2044 ( +53, -52 )

Created: 2005-02-05 02:18:31 -0600 (5 years 1 month ago) | Author: bret | Changeset: 405

debug messages no longer print by default

404 annotated / raw | Diffs: previous, other | Lines: 2043 ( +5, -1 )

Created: 2005-02-05 00:35:55 -0600 (5 years 1 month ago) | Author: bret | Changeset: 404

complete most of the rubyization; make some methods private

403 annotated / raw | Diffs: previous, other | Lines: 2039 ( +25, -21 )

Created: 2005-02-05 00:25:14 -0600 (5 years 1 month ago) | Author: bret | Changeset: 403

rubyize method names; refactor

402 annotated / raw | Diffs: previous, other | Lines: 2035 ( +74, -87 )

Created: 2005-02-04 23:01:48 -0600 (5 years 1 month ago) | Author: bret | Changeset: 402

refactoring

401 annotated / raw | Diffs: previous, other | Lines: 2048 ( +21, -20 )

Created: 2005-02-04 18:34:30 -0600 (5 years 1 month ago) | Author: bret | Changeset: 401

renamed more methods from camel case to underscore

400 annotated / raw | Diffs: previous, other | Lines: 2047 ( +7, -7 )

Created: 2005-02-04 18:07:13 -0600 (5 years 1 month ago) | Author: bret | Changeset: 400

fixed an unreported form bug i introduced recently; reinstated rescue in wait

399 annotated / raw | Diffs: previous, other | Lines: 2047 ( +15, -17 )

Created: 2005-02-03 01:21:58 -0600 (5 years 1 month ago) | Author: bret | Changeset: 399

begin replacing camelCaps with under_score methods

398 annotated / raw | Diffs: previous, other | Lines: 2049 ( +1, -1 )

Created: 2005-02-03 00:56:20 -0600 (5 years 1 month ago) | Author: bret | Changeset: 398

IE#title now works correctly for local files

396 annotated / raw | Diffs: previous, other | Lines: 2049 ( +31, -0 )

Created: 2005-02-01 00:51:54 -0600 (5 years 1 month ago) | Author: jmccarthy | Changeset: 396

Added FileField object.  Added setFileDialog, external process which calls back into winClicker, passing the full path of the file to be uploaded.  Rudimentary unit test.

391 annotated / raw | Diffs: previous, other | Lines: 2018 ( +45, -204 )

Created: 2005-01-28 21:37:58 -0600 (5 years 1 month ago) | Author: bret | Changeset: 391

removed FrameHandler, added Frame

388 annotated / raw | Diffs: previous, other | Lines: 2177 ( +2, -0 )

Created: 2005-01-27 17:34:37 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 388

added :title as a way of finding divs

Tags: v1_0_4

385 annotated / raw | Diffs: previous, other | Lines: 2175 ( +1, -1 )

Created: 2005-01-27 11:44:04 -0600 (5 years 1 month ago) | Author: bret | Changeset: 385

added guard to rescue. prior change appears to have been backed out in error.

383 annotated / raw | Diffs: previous, other | Lines: 2175 ( +63, -0 )

Created: 2005-01-26 21:12:24 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 383

Added new div object

379 annotated / raw | Diffs: previous, other | Lines: 2112 ( +3, -2 )

Created: 2005-01-26 11:53:15 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 379

fix for giving a window focus

376 annotated / raw | Diffs: previous, other | Lines: 2111 ( +1, -1 )

Created: 2005-01-26 01:00:23 -0600 (5 years 1 month ago) | Author: bret | Changeset: 376

added guard to rescue. clarified how to run unit tests.

375 annotated / raw | Diffs: previous, other | Lines: 2111 ( +41, -17 )

Created: 2005-01-25 23:34:34 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 375

added :index for images and made the flash method work on images

374 annotated / raw | Diffs: previous, other | Lines: 2087 ( +15, -0 )

Created: 2005-01-25 23:09:08 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 374

added beforeText and afterText as a way of finding links

373 annotated / raw | Diffs: previous, other | Lines: 2072 ( +83, -1 )

Created: 2005-01-25 22:22:25 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 373

added methods for table rows and cells and also document.focus

371 annotated / raw | Diffs: previous, other | Lines: 1990 ( +35, -88 )

Created: 2005-01-25 10:01:18 -0600 (5 years 1 month ago) | Author: bret | Changeset: 371

form refactorings; reorg frame tests

370 annotated / raw | Diffs: previous, other | Lines: 2043 ( +40, -37 )

Created: 2005-01-24 20:50:50 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 370

fix for closing windows

368 annotated / raw | Diffs: previous, other | Lines: 2040 ( +6, -2 )

Created: 2005-01-23 20:33:30 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 368

added :beforeText and :afterText as a means of finding controls

366 annotated / raw | Diffs: previous, other | Lines: 2036 ( +35, -6 )

Created: 2005-01-21 18:49:27 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 366

added ability to select items in select boxes based on value
fixed a bug with tables and index

363 annotated / raw | Diffs: previous, other | Lines: 2007 ( +43, -1 )

Created: 2005-01-20 00:31:55 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 363

added dragContentsTo method to text fields

361 annotated / raw | Diffs: previous, other | Lines: 1965 ( +2, -2 )

Created: 2005-01-19 22:23:08 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 361

fixed issues when using some of the show methods with frames

360 annotated / raw | Diffs: previous, other | Lines: 1965 ( +2, -2 )

Created: 2005-01-19 22:12:38 -0600 (5 years 1 month ago) | Author: pmr16366 | Changeset: 360

changed showframes so that an access denied error message is displayed, if the frame cant be loaded because of the cross site scripting

358 annotated / raw | Diffs: previous, other | Lines: 1965 ( +12, -17 )

Created: 2005-01-17 00:43:15 -0600 (5 years 1 month ago) | Author: bret | Changeset: 358

Fixed exception in showForms; added test that revealed it

355 annotated / raw | Diffs: previous, other | Lines: 1970 ( +3, -4 )

Created: 2005-01-16 14:36:51 -0600 (5 years 1 month ago) | Author: bret | Changeset: 355

incomplete attempt to fix IE::capture_events

354 annotated / raw | Diffs: previous, other | Lines: 1971 ( +37, -12 )

Created: 2005-01-16 13:26:46 -0600 (5 years 1 month ago) | Author: bret | Changeset: 354

Changed IE.new(nil, foo, bar) to IE.attach(foo, bar)
Added IE.start("url")
Changed IE.new(logger) to IE.new.set_logger(logger)

353 annotated / raw | Diffs: previous, other | Lines: 1946 ( +5, -5 )

Created: 2005-01-16 11:37:21 -0600 (5 years 1 month ago) | Author: bret | Changeset: 353

updated doc and examples to use new Watir module
renamed BrowserFacade as Browser

352 annotated / raw | Diffs: previous, other | Lines: 1946 ( +10, -19 )

Created: 2005-01-16 01:46:50 -0600 (5 years 1 month ago) | Author: bret | Changeset: 352

IE::pageContainsText returns match when regexp matches (as requested by Shashank Date)

351 annotated / raw | Diffs: previous, other | Lines: 1955 ( +8, -10 )

Created: 2005-01-15 04:33:14 -0600 (5 years 2 months ago) | Author: bret | Changeset: 351

slight refactor of forms code
i realize i need to fix a lot of the tests before making more changes

349 annotated / raw | Diffs: previous, other | Lines: 1957 ( +35, -8 )

Created: 2005-01-15 04:16:59 -0600 (5 years 2 months ago) | Author: bret | Changeset: 349

Fixed bug with forms -- not finding form by name correctly
Also more tests, including one that exposed this bug.

348 annotated / raw | Diffs: previous, other | Lines: 1930 ( +46, -14 )

Created: 2005-01-15 02:53:24 -0600 (5 years 2 months ago) | Author: bret | Changeset: 348

new BrowserFacade.start and BrowserFacade.attach

347 annotated / raw | Diffs: previous, other | Lines: 1898 ( +31, -16 )

Created: 2005-01-15 01:44:04 -0600 (5 years 2 months ago) | Author: bret | Changeset: 347

refactoring IE.initialize

346 annotated / raw | Diffs: previous, other | Lines: 1883 ( +5, -5 )

Created: 2005-01-15 00:01:09 -0600 (5 years 2 months ago) | Author: bret | Changeset: 346

tidy comments

342 annotated / raw | Diffs: previous, other | Lines: 1883 ( +9, -9 )

Created: 2005-01-14 12:05:11 -0600 (5 years 2 months ago) | Author: bret | Changeset: 342

style cleanup

338 annotated / raw | Diffs: previous, other | Lines: 1883 ( +7, -5 )

Created: 2005-01-14 03:50:51 -0600 (5 years 2 months ago) | Author: bret | Changeset: 338

made several methods private

337 annotated / raw | Diffs: previous, other | Lines: 1881 ( +331, -326 )

Created: 2005-01-14 03:19:38 -0600 (5 years 2 months ago) | Author: bret | Changeset: 337

moved a lot of code; removed some dead code

335 annotated / raw | Diffs: previous, other | Lines: 1876 ( +0, -53 )

Created: 2005-01-14 01:27:18 -0600 (5 years 2 months ago) | Author: bret | Changeset: 335

moved cookie manager code into separate lib

334 annotated / raw | Diffs: previous, other | Lines: 1929 ( +10, -91 )

Created: 2005-01-14 01:18:14 -0600 (5 years 2 months ago) | Author: bret | Changeset: 334

Moved exceptions to their own file and module

333 annotated / raw | Diffs: previous, other | Lines: 2010 ( +1874, -1874 )

Created: 2005-01-14 00:53:58 -0600 (5 years 2 months ago) | Author: bret | Changeset: 333

reformat -- whitespace change only

332 annotated / raw | Diffs: previous, other | Lines: 2010 ( +100, -23 )

Created: 2005-01-14 00:51:54 -0600 (5 years 2 months ago) | Author: bret | Changeset: 332

put watir library in Watir module

329 annotated / raw | Diffs: previous, other | Lines: 1933 ( +5, -5 )

Created: 2005-01-13 21:28:49 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 329

changed waitForIE to get rid of a potential race condition

Tags: v1_0_3

318 annotated / raw | Diffs: previous, other | Lines: 1933 ( +197, -70 )

Created: 2005-01-12 23:22:45 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 318

added nested frames code

316 annotated / raw | Diffs: previous, other | Lines: 1806 ( +8, -0 )

Created: 2005-01-12 20:29:16 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 316

added name as a way of finding links

314 annotated / raw | Diffs: previous, other | Lines: 1798 ( +34, -7 )

Created: 2005-01-12 20:02:35 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 314

added showActive method, and improved some rdoc comments

313 annotated / raw | Diffs: previous, other | Lines: 1771 ( +47, -0 )

Created: 2005-01-12 09:32:47 -0600 (5 years 2 months ago) | Author: ati_ozgur | Changeset: 313

I added WatirHelper Class and deleteSpecialFolderContents Functions

310 annotated / raw | Diffs: previous, other | Lines: 1724 ( +3, -3 )

Created: 2005-01-11 20:39:13 -0600 (5 years 2 months ago) | Author: jonathankohl | Changeset: 310

added getStatus method to capture window status

309 annotated / raw | Diffs: previous, other | Lines: 1724 ( +7, -0 )

Created: 2005-01-11 20:14:03 -0600 (5 years 2 months ago) | Author: jonathankohl | Changeset: 309

added getStatus method to capture window status

304 annotated / raw | Diffs: previous, other | Lines: 1717 ( +1290, -1290 )

Created: 2005-01-11 13:06:19 -0600 (5 years 2 months ago) | Author: esh | Changeset: 304

added tests to verify that the link object is nil if no link is found.  Also pretty-d up watir.rb.

302 annotated / raw | Diffs: previous, other | Lines: 1717 ( +15, -1 )

Created: 2005-01-11 12:39:43 -0600 (5 years 2 months ago) | Author: jonathankohl | Changeset: 302

added fireEvent method to allow users to trigger a javascript event if needed

299 annotated / raw | Diffs: previous, other | Lines: 1703 ( +2, -0 )

Created: 2005-01-11 08:15:12 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 299

new test for onclick in checkboxes and radios

296 annotated / raw | Diffs: previous, other | Lines: 1701 ( +9, -3 )

Created: 2005-01-09 12:03:36 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 296

added exception when an existing window isnt founf

293 annotated / raw | Diffs: previous, other | Lines: 1695 ( +8, -0 )

Created: 2005-01-09 10:45:17 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 293

addeed waitforIE to new back, forward methods, and added a title method to retreive the page title

287 annotated / raw | Diffs: previous, other | Lines: 1687 ( +9, -5 )

Created: 2005-01-08 22:10:45 -0600 (5 years 2 months ago) | Author: esh | Changeset: 287

Changed watir.rb to raise an exception if there are no links on a page and getLink is called.  Added tests and changed the mock to support the change.

286 annotated / raw | Diffs: previous, other | Lines: 1683 ( +19, -2 )

Created: 2005-01-08 20:29:41 -0600 (5 years 2 months ago) | Author: bret | Changeset: 286

adding back, forward and refresh methods from paul

284 annotated / raw | Diffs: previous, other | Lines: 1666 ( +6, -16 )

Created: 2005-01-08 19:19:00 -0600 (5 years 2 months ago) | Author: esh | Changeset: 284

w/ Mike Kelly - refactored IE.initialize to pull out createBrowser so we could use a Mock.  Removed method original_initialize.  Added a nascent IE mock and a unit test that uses it.

280 annotated / raw | Diffs: previous, other | Lines: 1676 ( +29, -29 )

Created: 2005-01-07 23:20:13 -0600 (5 years 2 months ago) | Author: bret | Changeset: 280

refactor some form code

279 annotated / raw | Diffs: previous, other | Lines: 1676 ( +3, -2 )

Created: 2005-01-07 10:50:30 -0600 (5 years 2 months ago) | Author: ati_ozgur | Changeset: 279

changed watir so that textfields now support textarea fields. added a new unit test and html file also

276 annotated / raw | Diffs: previous, other | Lines: 1675 ( +2, -2 )

Created: 2005-01-06 00:45:36 -0600 (5 years 2 months ago) | Author: bret | Changeset: 276

fixed bug surfaced with scripting101
problem when doing set on textfields in forms

270 annotated / raw | Diffs: previous, other | Lines: 1675 ( +6, -26 )

Created: 2005-01-05 17:22:54 -0600 (5 years 2 months ago) | Author: bret | Changeset: 270

refactor selectbox code

Tags: v1_0_2

269 annotated / raw | Diffs: previous, other | Lines: 1695 ( +4, -2 )

Created: 2005-01-05 17:12:47 -0600 (5 years 2 months ago) | Author: bret | Changeset: 269

fixed errors showing up in googlesuite test due to a missing wait in selectbox code.
also removed extraneous code from googlesuite test

261 annotated / raw | Diffs: previous, other | Lines: 1693 ( +52, -1 )

Created: 2005-01-04 23:05:38 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 261

added code to find existing windows, as supplied by Atila

Tags: v1_0_1

256 annotated / raw | Diffs: previous, other | Lines: 1642 ( +174, -163 )

Created: 2005-01-04 18:32:36 -0600 (5 years 2 months ago) | Author: jonathankohl | Changeset: 256

made minor edits to comments for RDoc readability

Tags: v1_0_0

255 annotated / raw | Diffs: previous, other | Lines: 1631 ( +1, -3 )

Created: 2005-01-04 02:00:46 -0600 (5 years 2 months ago) | Author: bret | Changeset: 255

*** empty log message ***

254 annotated / raw | Diffs: previous, other | Lines: 1633 ( +78, -119 )

Created: 2005-01-04 01:47:49 -0600 (5 years 2 months ago) | Author: bret | Changeset: 254

refactoring - removing duplicate code

253 annotated / raw | Diffs: previous, other | Lines: 1674 ( +59, -88 )

Created: 2005-01-04 00:59:59 -0600 (5 years 2 months ago) | Author: bret | Changeset: 253

refactoring - removing duplicate code

239 annotated / raw | Diffs: previous, other | Lines: 1703 ( +480, -442 )

Created: 2005-01-02 22:38:25 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 239

changes to accomodate the installer

added detail to all the exceptions
fixed a few minor typos
added patch supplied by Atilla Ozgur for clicking links with IDs

231 annotated / raw | Diffs: previous, other | Lines: 1665 ( +1, -1 )

Created: 2004-12-22 15:17:26 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 231

fixed bug with regexp and links

229 annotated / raw | Diffs: previous, other | Lines: 1665 ( +401, -397 )

Created: 2004-12-22 14:53:45 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 229

fixed bug with getting buttons using a reg exp on the caption

228 annotated / raw | Diffs: previous, other | Lines: 1661 ( +5, -0 )

Created: 2004-12-22 09:14:32 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 228

Fixed a path problem with winclickers

225 annotated / raw | Diffs: previous, other | Lines: 1656 ( +22, -0 )

Created: 2004-12-20 11:27:43 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 225

New Windows support added

222 annotated / raw | Diffs: previous, other | Lines: 1634 ( +55, -1 )

Created: 2004-12-19 20:38:23 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 222

added code for javascript alerts

219 annotated / raw | Diffs: previous, other | Lines: 1580 ( +48, -3 )

Created: 2004-12-17 20:39:51 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 219

submit a form using an image. Maybe be a bug in getObjectWithValue - need to check

217 annotated / raw | Diffs: previous, other | Lines: 1535 ( +13, -0 )

Created: 2004-12-17 16:16:53 -0600 (5 years 2 months ago) | Author: pmr16366 | Changeset: 217

added ability to use images based on alt tag

198 annotated / raw | Diffs: previous, other | Lines: 1522 ( +24, -5 )

Created: 2004-11-26 21:52:46 -0600 (5 years 3 months ago) | Author: pmr16366 | Changeset: 198

added some new methods for links, images. Fixed some bugs in select boxes

195 annotated / raw | Diffs: previous, other | Lines: 1503 ( +11, -0 )

Created: 2004-11-26 12:05:28 -0600 (5 years 3 months ago) | Author: pmr16366 | Changeset: 195

Added showLinks method

194 annotated / raw | Diffs: previous, other | Lines: 1492 ( +17, -6 )

Created: 2004-11-24 13:22:50 -0600 (5 years 3 months ago) | Author: pmr16366 | Changeset: 194

added onchange event to select boxes\n changed the waitforIE so keypresses are excluded

190 annotated / raw | Diffs: previous, other | Lines: 1481 ( +14, -0 )

Created: 2004-11-23 10:15:07 -0600 (5 years 3 months ago) | Author: pmr16366 | Changeset: 190

added waits for document.readystate o help with a problem with links

185 annotated / raw | Diffs: previous, other | Lines: 1467 ( +315, -103 )

Created: 2004-11-22 18:36:07 -0600 (5 years 3 months ago) | Author: pmr16366 | Changeset: 185

various bug fixes
several new methods

181 annotated / raw | Diffs: previous, other | Lines: 1255 ( +4, -2 )

Created: 2004-11-14 10:24:45 -0600 (5 years 4 months ago) | Author: bret | Changeset: 181

added -b command line switch -- it makes IE invisible

172 annotated / raw | Diffs: previous, other | Lines: 1253 ( +5, -7 )

Created: 2004-11-13 14:56:16 -0600 (5 years 4 months ago) | Author: bret | Changeset: 172

added :value as a synonym for :caption -- this matches up to the terminology in the DOM inspector

163 annotated / raw | Diffs: previous, other | Lines: 1255 ( +94, -88 )

Created: 2004-11-12 13:59:21 -0600 (5 years 4 months ago) | Author: bret | Changeset: 163

refactor -- create new Form object

161 annotated / raw | Diffs: previous, other | Lines: 1249 ( +10, -16 )

Created: 2004-11-12 10:55:46 -0600 (5 years 4 months ago) | Author: bret | Changeset: 161

one line fix for FORMS bug
white space tightening
new RDOC

155 annotated / raw | Diffs: previous, other | Lines: 1255 ( +1, -1 )

Created: 2004-11-11 20:50:30 -0600 (5 years 4 months ago) | Author: bret | Changeset: 155

remove duplicate example

146 annotated / raw | Diffs: previous, other | Lines: 1255 ( +75, -16 )

Created: 2004-11-11 00:15:26 -0600 (5 years 4 months ago) | Author: pmr16366 | Changeset: 146

more code for forms. The forms code needs to be refactored out into a seperate object

142 annotated / raw | Diffs: previous, other | Lines: 1196 ( +1, -1 )

Created: 2004-11-10 11:39:00 -0600 (5 years 4 months ago) | Author: pmr16366 | Changeset: 142

Fix to the way objects are found. It now finds the first object

140 annotated / raw | Diffs: previous, other | Lines: 1196 ( +3, -66 )

Created: 2004-11-10 11:12:06 -0600 (5 years 4 months ago) | Author: bret | Changeset: 140

whitespace tightening

137 annotated / raw | Diffs: previous, other | Lines: 1259 ( +112, -6 )

Created: 2004-11-09 00:09:37 -0600 (5 years 4 months ago) | Author: pmr16366 | Changeset: 137

added code for:
images
forms

136 annotated / raw | Diffs: previous, other | Lines: 1153 ( +133, -40 )

Created: 2004-11-08 15:39:47 -0600 (5 years 4 months ago) | Author: bret | Changeset: 136

Paul's support for Forms

135 annotated / raw | Diffs: previous, other | Lines: 1060 ( +11, -3 )

Created: 2004-11-05 12:39:21 -0600 (5 years 4 months ago) | Author: bret | Changeset: 135

new wait and close methods for IE

133 annotated / raw | Diffs: previous, other | Lines: 1052 ( +18, -3 )

Created: 2004-10-21 18:13:22 -0500 (5 years 4 months ago) | Author: pmr16366 | Changeset: 133

added caption as a default way of clicking a button

131 annotated / raw | Diffs: previous, other | Lines: 1037 ( +6, -1 )

Created: 2004-10-20 21:18:12 -0500 (5 years 4 months ago) | Author: pmr16366 | Changeset: 131

fixed bug when running the google test

128 annotated / raw | Diffs: previous, other | Lines: 1032 ( +236, -85 )

Created: 2004-10-18 22:49:20 -0500 (5 years 4 months ago) | Author: pmr16366 | Changeset: 128

added rdoc comments

126 annotated / raw | Diffs: previous, other | Lines: 881 ( +128, -17 )

Created: 2004-10-18 14:12:41 -0500 (5 years 4 months ago) | Author: pmr16366 | Changeset: 126

added getting elements by index

125 annotated / raw | Diffs: previous, other | Lines: 770 ( +61, -4 )

Created: 2004-10-13 23:25:31 -0500 (5 years 5 months ago) | Author: pmr16366 | Changeset: 125

added links

123 annotated / raw | Diffs: previous, other | Lines: 713 ( +1, -1 )

Created: 2004-10-13 13:36:10 -0500 (5 years 5 months ago) | Author: pmr16366 | Changeset: 123

added a version

122 annotated / raw | Diffs: previous, other | Lines: 713 ( +4, -0 )

Created: 2004-10-13 13:35:53 -0500 (5 years 5 months ago) | Author: pmr16366 | Changeset: 122

added a version

121 annotated / raw | Diffs: previous, other | Lines: 709 ( +38, -9 )

Created: 2004-10-13 13:34:15 -0500 (5 years 5 months ago) | Author: pmr16366 | Changeset: 121

first check in of radio buttons

119 annotated / raw | Diffs: previous, other | Lines: 680 ( +78, -3 )

Created: 2004-10-13 09:58:06 -0500 (5 years 5 months ago) | Author: pmr16366 | Changeset: 119

added highlights for select boxes, and added checkboxes

116 annotated / raw | Diffs: previous, other | Lines: 605 ( +128, -8 )

Created: 2004-10-12 22:44:08 -0500 (5 years 5 months ago) | Author: pmr16366 | Changeset: 116

select boxes also some debug in pageContainsText to help with a problem Jonathan had

113 annotated / raw | Diffs: previous, other | Lines: 485 ( +112, -3 )

Created: 2004-10-08 00:00:43 -0500 (5 years 5 months ago) | Author: pmr16366 | Changeset: 113

new methods for text fields

109 annotated / raw | Diffs: previous, other | Lines: 376 ( +65, -4 )

Created: 2004-10-05 08:28:23 -0500 (5 years 5 months ago) | Author: pmr16366 | Changeset: 109

*** empty log message ***

105 new annotated / raw | Lines: 315 ( +315, -0 )

Created: 2004-09-30 09:15:08 -0500 (5 years 5 months ago) | Author: pmr16366 | Changeset: 105

Initial revision

Branch point for: paul

latest revision Branch davids_click_no_wait

1015 annotated / raw | Diffs: previous, other | Lines: 4324 ( +25, -2 )

Created: 2006-05-22 18:41:22 -0500 (3 years 9 months ago) | Author: inetdavid | Changeset: 1015

Added method_name overides into classes who's method doesn't follow the default
naming convention.  (i.e., class PopUp -> method popup)

All tests in method_names_test.rb now pass: 30 tests, 55 assertions, 0 failures, 0 errors

1014 annotated / raw | Diffs: previous, other | Lines: 4301 ( +35, -0 )

Created: 2006-05-22 18:30:57 -0500 (3 years 9 months ago) | Author: inetdavid | Changeset: 1014

Added unittests/method_names_test.rb, all 30 tests fail to begin with.

Added method_name class to watir.rb.

method_names_test.rb: 30 tests, 47 assertions, 6 failures, 1 errors

1013 new annotated / raw | Diffs: previous, other | Lines: 4266 ( +0, -0 )

Created: 2006-05-22 17:51:07 -0500 (3 years 9 months ago) | Author: inetdavid | Changeset: 1013

create branch for fixing click_no_wait

latest revision Branch modal_dialog

1077 annotated / raw | Diffs: previous, other | Lines: 4422 ( +1, -1 )

Created: 2006-08-22 15:46:17 -0500 (3 years 6 months ago) | Author: inetdavid | Changeset: 1077

# modified #writable? so that it invokes assert_not_readonly if the current element is TextField

1068 annotated / raw | Diffs: previous, other | Lines: 4422 ( +4, -4 )

Created: 2006-07-31 14:22:18 -0500 (3 years 7 months ago) | Author: inetdavid | Changeset: 1068

Changed exceptions raised by modal_dialog to more specific Watir exception.
Fixed places in WinClicker.rb where returns weren't properly terminating a enum_windows
callback, causing "DL::DLError: too many callbacks" errors.

1064 annotated / raw | Diffs: previous, other | Lines: 4422 ( +8, -1 )

Created: 2006-07-26 16:20:29 -0500 (3 years 7 months ago) | Author: inetdavid | Changeset: 1064

commented out extra diagnostic puts in winClicker
Changed exception type for modal_dialog attachment to NoMatchingWindowFoundException

1050 annotated / raw | Diffs: previous, other | Lines: 4415 ( +23, -13 )

Created: 2006-06-26 03:49:25 -0500 (3 years 8 months ago) | Author: inetdavid | Changeset: 1050

After more profiling I was seeing locate_input_element using over 60% of all time during
one of my web scraper tests.  Total time for the test was about 4 minutes, with one minute
of that waiting for page loads.

Most of my field lookups are by :id or :name so I checked for those "how's" and instead
of iterating through all page elements I used the OLE getElementById and getElementsByName
to find the element or collection.

The performance difference is amazing.  Before the 4 line change locate_input_element took
54.26% of the run time for my scrape.  After this change it took 0.63%.  Run time went from
3 minutes (ignoring page load times) down to about 1 minute (also ignoring page load times).

I'll keep looking for other ways to speed up Watir by using IE DHTML methods to minimize
iterating through page elements one at a time.

Previous patch had a problem with elements that didnt have getElementById or getElementsByName.
This version fixes that by falling back to the previous method, but still fails one unit test
where getElementByID returns an element with a matching name, but NO id.  I'll work tomorrow
on a fix for these conditions where the IE calls are "lying"

1040 annotated / raw | Diffs: previous, other | Lines: 4405 ( +4, -1 )

Created: 2006-06-16 11:40:23 -0500 (3 years 9 months ago) | Author: inetdavid | Changeset: 1040

Added "visible?" method which determines if an element is visible by iterating up the DOM
element tree and ensuring that no parent element is hidden or display:none.

1030 annotated / raw | Diffs: previous, other | Lines: 4402 ( +5, -4 )

Created: 2006-06-02 19:27:03 -0500 (3 years 9 months ago) | Author: inetdavid | Changeset: 1030

Altered writable? a bit to make it work for more element types.

1026 annotated / raw | Diffs: previous, other | Lines: 4401 ( +94, -21 )

Created: 2006-06-01 17:31:25 -0500 (3 years 9 months ago) | Author: inetdavid | Changeset: 1026

bring modal_dialog up to day with my working copy

# added writable? to Element
# Misc changes to prevent ole errors in wait

1010 annotated / raw | Diffs: previous, other | Lines: 4328 ( +6, -20 )

Created: 2006-05-21 23:35:36 -0500 (3 years 9 months ago) | Author: inetdavid | Changeset: 1010

Checkin to move to home computer.

1004 annotated / raw | Diffs: previous, other | Lines: 4342 ( +1, -0 )

Created: 2006-05-18 12:59:56 -0500 (3 years 9 months ago) | Author: inetdavid | Changeset: 1004

# Added to_identifier_test.rb which tests the to_identifier method.  Many more tests to add here,
 but so far it's testing IE, modal_page (which fails currently), modal_dialog and form.
# Fixed small bug in modal_dialog where the hwnd value of the modal dialog wasn't saved for ModalDialog(:hwnd)
# Added id attribute to 2nd form in form2.html
# Added missing :id tests to forms_test.rb

1001 annotated / raw | Diffs: previous, other | Lines: 4341 ( +76, -21 )

Created: 2006-05-17 14:51:23 -0500 (3 years 9 months ago) | Author: inetdavid | Changeset: 1001

# re-factored to_identify so that each element is created by it's own object.
# created Container#method_name to return the proper method name for a Watir element
# Wrote method_names_test to check that all method names are correct.
# (to_identifier_test.rb will be next test written.)

999 annotated / raw | Diffs: previous, other | Lines: 4286 ( +5, -3 )

Created: 2006-05-16 19:12:01 -0500 (3 years 10 months ago) | Author: bret | Changeset: 999

fix for HWND errors that were hard to reproduce

995 annotated / raw | Diffs: previous, other | Lines: 4284 ( +1, -4 )

Created: 2006-05-16 13:57:10 -0500 (3 years 10 months ago) | Author: inetdavid | Changeset: 995

# Removed temporary dependancies to some WET files
# Added more asserts to modal_dialog_test.rb to test enabled_popup and hwnd functions.

994 annotated / raw | Diffs: previous, other | Lines: 4287 ( +184, -179 )

Created: 2006-05-16 11:33:28 -0500 (3 years 10 months ago) | Author: inetdavid | Changeset: 994

# Moved show_ methods into Container so that they work with Frames and ModalDialogs
# More minor fixes for ModalDialogs.

993 annotated / raw | Diffs: previous, other | Lines: 4282 ( +49, -38 )

Created: 2006-05-15 00:45:02 -0500 (3 years 10 months ago) | Author: inetdavid | Changeset: 993

Factored out the code to detect a modal_dialog as a new method called
"enabled_popup" in module Container.  This will allow users to call
click_no_wait and then call enabled_popup to see if any popups were
created.

Moved the Win32API call declarations to the front of watir.rb and brought
in some requires for the DL library in preparation for converting all
Win32API calls to DL library calls.

992 annotated / raw | Diffs: previous, other | Lines: 4271 ( +180, -22 )

Created: 2006-05-14 19:29:49 -0500 (3 years 10 months ago) | Author: inetdavid | Changeset: 992

# Added :hwnd “how” method to attach_to_browser
# Added to_identifier method to Container which creates a string that can be
 used to duplicate an element in another process.
# Modified click_no_wait to use to_identifier.
# Moved click_no_wait to Container as it now works for all Containers.
# Modified eval_in_spawned_process for click_no_wait
# Moved eval_in_spawned_process to Container to make it accessible from all
 Containers.
# Added modal_dialog to Container
# Moved html and text methods from IE to Container to make them available
 to all containers.
# Added hwnd method to Containers and overrode IE.hwnd to get IE.ie.HWND
 from a Watir::IE object.
# Added ModalDialog to allow attaching to modal dialogs.
# Fixed some unit tests using .url which returns a CGI.escaped URL.  Added
 CGI.unescape to .url results so unit tests could pass when the Watir
 repository is in a directory with spaces in the path name.

984 new annotated / raw | Diffs: previous, other | Lines: 4113 ( +0, -0 )

Created: 2006-05-12 17:32:52 -0500 (3 years 10 months ago) | Author: bret | Changeset: 984

workspace for david schmidt's changes

latest revision Branch paul

106 new annotated / raw | Diffs: previous, other | Lines: 315 ( +0, -0 )

Created: 2004-09-30 09:15:08 -0500 (5 years 5 months ago) | Author: no_author | Changeset: 106

This commit was manufactured by cvs2svn to create branch 'paul'.

Tags: initial_check_in

latest revision Branch watir1_4truly

789 annotated / raw | Diffs: previous, other | Lines: 3744 ( +1, -1 )

Created: 2005-08-20 16:48:46 -0500 (4 years 6 months ago) | Author: bret | Changeset: 789

release 1.4.1 -- see readme.rb for details

781 annotated / raw | Diffs: previous, other | Lines: 3744 ( +19, -30 )

Created: 2005-08-20 16:37:13 -0500 (4 years 6 months ago) | Author: bret | Changeset: 781

release 1.4.1 -- see readme.rb for details

770 new annotated / raw | Diffs: previous, other | Lines: 3755 ( +0, -0 )

Created: 2005-08-20 12:38:49 -0500 (4 years 6 months ago) | Author: no_author | Changeset: 770

This commit was manufactured by cvs2svn to create branch
'watir1_4truly'.

latest revision Branch watir2_0

691 annotated / raw | Diffs: previous, other | Lines: 3879 ( +16, -13 )

Created: 2005-05-30 05:01:43 -0500 (4 years 9 months ago) | Author: bret | Changeset: 691

refactor readonly code

690 annotated / raw | Diffs: previous, other | Lines: 3876 ( +152, -170 )

Created: 2005-05-30 04:30:38 -0500 (4 years 9 months ago) | Author: bret | Changeset: 690

rename internal classes and methods

689 annotated / raw | Diffs: previous, other | Lines: 3894 ( +61, -160 )

Created: 2005-05-29 06:43:12 -0500 (4 years 9 months ago) | Author: bret | Changeset: 689

refactoring element classes (removing duplication)

688 annotated / raw | Diffs: previous, other | Lines: 3993 ( +34, -81 )

Created: 2005-05-29 05:08:01 -0500 (4 years 9 months ago) | Author: bret | Changeset: 688

refactor ObjectActions. remove outerhtml method. make highLight private.

687 annotated / raw | Diffs: previous, other | Lines: 4040 ( +15, -4 )

Created: 2005-05-28 11:14:40 -0500 (4 years 9 months ago) | Author: bret | Changeset: 687

add TableRow#column_count & exists?{} method

686 annotated / raw | Diffs: previous, other | Lines: 4029 ( +13, -70 )

Created: 2005-05-28 09:49:11 -0500 (4 years 9 months ago) | Author: bret | Changeset: 686

backed out refresh methods; fixed default_attribute tests

685 new annotated / raw | Diffs: previous, other | Lines: 4086 ( +0, -0 )

Created: 2005-05-26 01:32:02 -0500 (4 years 9 months ago) | Author: no_author | Changeset: 685

This commit was manufactured by cvs2svn to create branch 'watir2_0'.