We have released a new development gem for Watir.
- Fixes all reported bugs with contains_text.
- New Watir::TestCase#verify method (and verify_equal and verify_match).
- The click_no_wait method now works in frames.
- Released new IE.new_process method to 'watir/contrib/ie-new-process'. This starts up a new IE process for each IE window, which is really how it should be done. To close these use IE#kill. Any one getting intermittent RPC errors when opening windows may want to use this instead.
- Several examples have been updated.
- Moved enabled_popup to a new contrib directory.
- Added several tests.
Accompanying this gem is a (new) bonus zip file that contains:
- documentation (user guide)
- rdoc
- examples
- unit tests
The following changes were made since the last development gem (1.5.1.1081).
Revision: 1105
Author: charley
Date: 7:05:28 PM, Friday, September 22, 2006
Message:
Adding pkg directory if it doesn't exist.
Modified : /trunk/watir/rakefile.rb
Revision: 1104
Author: bret
Date: 5:22:54 PM, Friday, September 22, 2006
Message:
Reorganized and bonus zip task. Bonus zip file now has a name that parallels the gem.
Modified : /trunk/watir
Modified : /trunk/watir/install_dev_gems.bat
Modified : /trunk/watir/rakefile.rb
Revision: 1103
Author: charley
Date: 12:36:22 PM, Friday, September 22, 2006
Message:
Checking in simple bat file to install the rubyzip gem required by bonus file zip task in the rakefile. Changed the rakefile to use rubyzip instead of a system call to zip. http://jira.openqa.org/browse/WTR-105
Added : /trunk/watir/install_dev_gems.bat
Modified : /trunk/watir/rakefile.rb
Revision: 1102
Author: bret
Date: 1:17:22 PM, Thursday, September 21, 2006
Message:
update gem to include contrib directory
Modified : /trunk/watir/watir.gemspec
Revision: 1101
Author: bret
Date: 11:14:55 AM, Thursday, September 21, 2006
Message:
Add verify, verify_equal and verify_match methods to Watir::TestCase.
These methods work like assert, assert_equal and assert_match, except that these methods
will only log a failure when they fail. They will not raise an exception nor will they abort
a test case.
Anyone tempted to wrap a rescue block around an assert (shudder), should really use these methods instead.
Added : /trunk/watir/unittests/testcase/verify.rb
Modified : /trunk/watir/watir/testcase.rb
Revision: 1100
Author: bret
Date: 2:42:06 PM, Wednesday, September 20, 2006
Message:
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
Modified : /trunk/watir/unittests/ie_mock.rb
Modified : /trunk/watir/unittests/pagecontainstext_test.rb
Added : /trunk/watir/watir/contrib/ie-new-process.rb
Modified : /trunk/watir/watir.rb
Revision: 1099
Author: bret
Date: 3:11:26 AM, Wednesday, September 20, 2006
Message:
revise gem requirements
Modified : /trunk/watir/watir.gemspec
Revision: 1098
Author: bret
Date: 10:58:01 AM, Tuesday, September 19, 2006
Message:
move a test into window_tests.rb because it makes IE visible
Modified : /trunk/watir/unittests/setup.rb
Revision: 1097
Author: charley
Date: 9:59:04 AM, Tuesday, September 19, 2006
Message:
Stripping closing input tag which is valid in xhtml but not straight html.
Modified : /trunk/watir/unittests/html/textfields1.html
Revision: 1096
Author: charley
Date: 9:56:54 AM, Tuesday, September 19, 2006
Message:
Added an additional tab for textfields1.html change.
Modified : /trunk/watir/unittests/send_keys_test.rb
Revision: 1095
Author: bret
Date: 1:31:09 AM, Tuesday, September 19, 2006
Message:
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.
Added : /trunk/watir/unittests/frame_links_test.rb
Modified : /trunk/watir/unittests/modal_dialog_test.rb
Modified : /trunk/watir/watir.rb
Revision: 1094
Author: bret
Date: 3:19:11 PM, Monday, September 18, 2006
Message:
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.
Modified : /trunk/watir/watir.rb
Revision: 1093
Author: charley
Date: 11:52:44 AM, Monday, September 18, 2006
Message:
Additional fixes for examples due to external site changes.
Modified : /trunk/watir/examples/mouse_over.rb
Modified : /trunk/watir/examples/yahooCheckbox_test.rb
Revision: 1092
Author: charley
Date: 10:46:19 AM, Monday, September 18, 2006
Message:
Fixes for non-english users to google tests. Jira ticket: http://jira.openqa.org/browse/WTR-72
Modified : /trunk/watir/examples/articleExample.rb
Modified : /trunk/watir/examples/googleSuite_test.rb
Modified : /trunk/watir/examples/google_maps.rb
Revision: 1091
Author: charley
Date: 10:56:20 AM, Friday, September 15, 2006
Message:
Minor updates for examples, some html controls changed on yahoo and google.
Modified : /trunk/watir/examples/articleExample.rb
Modified : /trunk/watir/examples/google_maps.rb
Modified : /trunk/watir/examples/yahooPrintAssertions.rb
Revision: 1090
Author: charley
Date: 3:56:08 PM, Wednesday, September 13, 2006
Message:
Some simple tests to verify checked? on radio buttons. checked? is aliased to isSet?
Modified : /trunk/watir/unittests/radios_test.rb
Revision: 1089
Author: charley
Date: 1:53:33 PM, Wednesday, September 13, 2006
Message:
Checking in tests for http://jira.openqa.org/browse/WTR-89
, the performance enhancements tweaks are gone but good to have additional tests.
Modified : /trunk/watir/unittests/html/textfields1.html
Modified : /trunk/watir/unittests/textfields_test.rb
Revision: 1088
Author: charley
Date: 1:10:10 PM, Wednesday, September 13, 2006
Message:
Cleaning up WinClicker, added some comments and consistent indentation. Added set_text as a private method, returning nil from getTextValueForFileNameField.
Modified : /trunk/watir/watir/winClicker.rb
Revision: 1087
Author: bret
Date: 6:44:13 PM, Tuesday, September 12, 2006
Message:
fixed test – it now demonstrates modal/frame works although it still fails
Modified : /trunk/watir/unittests/modal_dialog_test.rb
Revision: 1086
Author: charley
Date: 2:08:31 PM, Tuesday, September 12, 2006
Message:
Adding text_area.set for div tests, and modals with frames.
Modified : /trunk/watir/unittests/div_test.rb
Modified : /trunk/watir/unittests/html/div.html
Modified : /trunk/watir/unittests/html/modal_dialog.html
Modified : /trunk/watir/unittests/modal_dialog_test.rb
Revision: 1085
Author: bret
Date: 6:05:39 PM, Monday, September 11, 2006
Message:
minor comments
Modified : /trunk/watir/readme.rb
Modified : /trunk/watir/watir/contrib/enabled_popup.rb
Revision: 1084
Author: bret
Date: 5:56:43 PM, Monday, September 11, 2006
Message:
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.
Modified : /trunk/watir/watir.rb
Revision: 1083
Author: bret
Date: 5:31:24 PM, Monday, September 11, 2006
Message:
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).
Modified : /trunk/watir/unittests/modal_dialog_test.rb
Added : /trunk/watir/watir/contrib/enabled_popup.rb
Modified : /trunk/watir/watir.rb
Revision: 1082
Author: bret
Date: 5:31:20 PM, Monday, September 11, 2006
Message:
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).
Added : /trunk/watir/watir/contrib