| watir:/trunk/watir/unittests/form_test.rb |
Line History |
History |
latest revision Branch trunk1655 annotated / raw | Diffs: previous, other | Lines: 293 ( +2, -2 ) Created: 2008-12-12 15:46:32 -0600 (4 years 5 months ago) | Author: bret | Changeset: 1655 patch from jarib to fix non-us-english bug
1513 annotated / raw | Diffs: previous, other | Lines: 293 ( +0, -1 ) Created: 2008-10-14 16:00:53 -0500 (4 years 7 months ago) | Author: bret | Changeset: 1513 Rework code to track down http://jira.openqa.org/browse/WTR-80, which is not being fixed. See Jira for details.Branch point for: attach Tags: watir-1.6.0 watir-1.6.1 watir-1.6.2 1509 annotated / raw | Diffs: previous, other | Lines: 294 ( +11, -6 ) Created: 2008-10-13 22:06:42 -0500 (4 years 7 months ago) | Author: bret | Changeset: 1509 test cleanup: forms
1507 annotated / raw | Diffs: previous, other | Lines: 289 ( +54, -52 ) Created: 2008-10-13 19:49:18 -0500 (4 years 7 months ago) | Author: bret | Changeset: 1507 More test cleanup.
1506 annotated / raw | Diffs: previous, other | Lines: 287 ( +27, -44 ) Created: 2008-10-13 19:41:45 -0500 (4 years 7 months ago) | Author: bret | Changeset: 1506 Test cleanup.- General cleanup of forms_test.rb - General replacement of "value" for "getContents" (obsolete)
1505 annotated / raw | Diffs: previous, other | Lines: 304 ( +20, -20 ) Created: 2008-10-13 19:26:20 -0500 (4 years 7 months ago) | Author: bret | Changeset: 1505 Reinstate calls to assert_false.
1470 annotated / raw | Diffs: previous, other | Lines: 304 ( +4, -1 ) Created: 2008-09-30 14:36:49 -0500 (4 years 7 months ago) | Author: bret | Changeset: 1470 tagged all watir/ie/core tests that did not work with firewatir.
1431 annotated / raw | Diffs: previous, other | Lines: 301 ( +2, -1 ) Created: 2008-09-16 12:23:27 -0500 (4 years 8 months ago) | Author: bret | Changeset: 1431 test groups (core, xpath) are now defined by tags (and class names for xpath) instead of by hard-coded file lists.
1421 annotated / raw | Diffs: previous, other | Lines: 300 ( +3, -3 ) Created: 2008-09-03 16:26:26 -0500 (4 years 8 months ago) | Author: bret | Changeset: 1421 Replaced calls to obsolete showAllObjects, getHTML and getText.
1417 annotated / raw | Diffs: previous, other | Lines: 300 ( +1, -1 ) Created: 2008-09-03 15:01:44 -0500 (4 years 8 months ago) | Author: bret | Changeset: 1417 Enable watir tests to test firewatir even when executed using the test runner in eclipse.
1391 annotated / raw | Diffs: previous, other | Lines: 300 ( +126, -126 ) Created: 2008-08-27 16:20:37 -0500 (4 years 8 months ago) | Author: bret | Changeset: 1391 replaced '$ie' with 'browser' in the core unit tests.
1348 annotated / raw | Diffs: previous, other | Lines: 300 ( +6, -6 ) Created: 2008-06-03 13:15:00 -0500 (4 years 11 months ago) | Author: bret | Changeset: 1348 test cleanup: replace use_page with goto_page.Branch point for: tag:watir-1.5.5 tag:watir-1.5.6
1321 annotated / raw | Diffs: previous, other | Lines: 300 ( +6, -6 ) Created: 2008-04-28 00:54:42 -0500 (5 years ago) | Author: bret | Changeset: 1321 Use calls to use_page to make tests more readable and easier to maintain.With this commit, all the low-hanging fruit has been plucked.
1294 annotated / raw | Diffs: previous, other | Lines: 300 ( +2, -14 ) Created: 2007-10-24 10:38:54 -0500 (5 years 6 months ago) | Author: charley | Changeset: 1294 Reverting form test changes from 1290 and 1291.
Tags: watir-1.5.4 1291 annotated / raw | Diffs: previous, other | Lines: 312 ( +9, -1 ) Created: 2007-10-23 12:25:08 -0500 (5 years 6 months ago) | Author: charley | Changeset: 1291 Update for showforms.
1290 annotated / raw | Diffs: previous, other | Lines: 304 ( +5, -1 ) Created: 2007-10-23 12:22:50 -0500 (5 years 6 months ago) | Author: charley | Changeset: 1290 Failing unit tests for div and table specified forms.
1079 annotated / raw | Diffs: previous, other | Lines: 300 ( +16, -6 ) Created: 2006-08-23 02:54:32 -0500 (6 years 8 months ago) | Author: inetdavid | Changeset: 1079 Copied to: branches/watir-1.5/unittests/form_test.rb 1233 As stated in bug WTR-77, this problem was caused by some performance improvement patchesI 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 Branch point for: tag:watir-1.5.3
1009 annotated / raw | Diffs: previous, other | Lines: 290 ( +6, -3 ) Created: 2006-05-20 05:15:14 -0500 (6 years 11 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). Branch point for: davids_click_no_wait tag:watir-1.5.1.1054
962 annotated / raw | Diffs: previous, other | Lines: 287 ( +19, -19 ) Created: 2006-04-19 21:04:26 -0500 (7 years ago) | Author: bret | Changeset: 962 Copied to: branches/modal_dialog/trunk/watir/unittests/form_test.rb 985 remove assert_false (confuses users who find it's not in Test::Unit::Assert)Branch point for: modal_dialog
960 annotated / raw | Diffs: previous, other | Lines: 287 ( +3, -3 ) Created: 2006-04-19 20:46:00 -0500 (7 years ago) | Author: bret | Changeset: 960 removed extraneous final "()" (consistency)
958 annotated / raw | Diffs: previous, other | Lines: 287 ( +233, -233 ) Created: 2006-04-19 12:59:06 -0500 (7 years ago) | Author: bret | Changeset: 958 reformatted code to use two spaces.
878 annotated / raw | Diffs: previous, other | Lines: 287 ( +2, -2 ) Created: 2005-11-17 23:36:43 -0600 (7 years 5 months ago) | Author: bret | Changeset: 878 replace references to IE#contains_text with IE#text.include?
850 annotated / raw | Diffs: previous, other | Lines: 287 ( +1, -1 ) Created: 2005-09-22 10:50:05 -0500 (7 years 7 months ago) | Author: bret | Changeset: 850 generalize accessors for image elements to be any attribute
763 annotated / raw | Diffs: previous, other | Lines: 287 ( +13, -1 ) Created: 2005-08-18 22:36:39 -0500 (7 years 8 months ago) | Author: bret | Changeset: 763 finish fix for form bug 2661
Tags: v1_4_1 760 annotated / raw | Diffs: previous, other | Lines: 275 ( +18, -22 ) Created: 2005-08-18 15:06:40 -0500 (7 years 8 months ago) | Author: bret | Changeset: 760 frame and form refactoring; partial fix for form bug 2261
727 annotated / raw | Diffs: previous, other | Lines: 279 ( +14, -6 ) Created: 2005-07-27 12:53:47 -0500 (7 years 9 months ago) | Author: pmr16366 | Changeset: 727 tests for reset now moved to buttons testsBranch point for: watir1_4truly Tags: v1_4 706 annotated / raw | Diffs: previous, other | Lines: 271 ( +5, -0 ) Created: 2005-07-01 23:52:34 -0500 (7 years 10 months ago) | Author: pmr16366 | Changeset: 706 fix for bug reported by Scott P, wrong objects are sometimes found
Tags: before_backing_out_default_attribute_code 670 annotated / raw | Diffs: previous, other | Lines: 266 ( +1, -1 ) Created: 2005-05-23 20:52:55 -0500 (7 years 11 months ago) | Author: pmr16366 | Changeset: 670 fixed a test failure that was probably caused by the default_attribute not being clearedBranch point for: watir2_0 Tags: Root_watir2_0 567 annotated / raw | Diffs: previous, other | Lines: 266 ( +65, -92 ) Created: 2005-04-29 21:26:12 -0500 (8 years ago) | Author: bret | Changeset: 567 tidy-up
Tags: v1_3 v1_31 532 annotated / raw | Diffs: previous, other | Lines: 293 ( +93, -0 ) Created: 2005-04-04 21:30:09 -0500 (8 years 1 month ago) | Author: pmr16366 | Changeset: 532 added hidden field support, and iterator method
457 annotated / raw | Diffs: previous, other | Lines: 200 ( +8, -8 ) Created: 2005-03-12 13:53:32 -0600 (8 years 2 months ago) | Author: pmr16366 | Changeset: 457 updated unit tests for removal of set/getproperty
Tags: v1_2 448 annotated / raw | Diffs: previous, other | Lines: 200 ( +39, -14 ) Created: 2005-03-11 23:14:31 -0600 (8 years 2 months ago) | Author: pmr16366 | Changeset: 448 update unittests to use train_wreck_case
400 annotated / raw | Diffs: previous, other | Lines: 175 ( +10, -0 ) Created: 2005-02-04 18:07:13 -0600 (8 years 3 months ago) | Author: bret | Changeset: 400 fixed an unreported form bug i introduced recently; reinstated rescue in wait
Tags: v1_1 359 annotated / raw | Diffs: previous, other | Lines: 165 ( +1, -2 ) Created: 2005-01-18 01:29:42 -0600 (8 years 3 months ago) | Author: bret | Changeset: 359 updates to TC_FormDisplay to match email
Tags: v1_0_4 358 annotated / raw | Diffs: previous, other | Lines: 166 ( +32, -8 ) Created: 2005-01-17 00:43:15 -0600 (8 years 3 months ago) | Author: bret | Changeset: 358 Fixed exception in showForms; added test that revealed it
357 annotated / raw | Diffs: previous, other | Lines: 142 ( +2, -3 ) Created: 2005-01-16 22:46:12 -0600 (8 years 3 months ago) | Author: bret | Changeset: 357 header now indicates whether it is a feature or unit test
356 annotated / raw | Diffs: previous, other | Lines: 143 ( +0, -81 ) Created: 2005-01-16 22:34:52 -0600 (8 years 3 months ago) | Author: bret | Changeset: 356 removed duplicate checkbox tests located in TC_Forms (form_test.rb)
351 annotated / raw | Diffs: previous, other | Lines: 224 ( +1, -17 ) Created: 2005-01-15 04:33:14 -0600 (8 years 4 months ago) | Author: bret | Changeset: 351 slight refactor of forms codei realize i need to fix a lot of the tests before making more changes
350 annotated / raw | Diffs: previous, other | Lines: 240 ( +154, -0 ) Created: 2005-01-15 04:28:53 -0600 (8 years 4 months ago) | Author: bret | Changeset: 350 combined all form tests into one file
348 annotated / raw | Diffs: previous, other | Lines: 86 ( +1, -1 ) Created: 2005-01-15 02:53:24 -0600 (8 years 4 months ago) | Author: bret | Changeset: 348 new BrowserFacade.start and BrowserFacade.attach
344 annotated / raw | Diffs: previous, other | Lines: 86 ( +9, -28 ) Created: 2005-01-14 17:46:48 -0600 (8 years 4 months ago) | Author: bret | Changeset: 344 uncommented more assertions that seem to be valid
343 annotated / raw | Diffs: previous, other | Lines: 105 ( +5, -57 ) Created: 2005-01-14 12:35:41 -0600 (8 years 4 months ago) | Author: bret | Changeset: 343 uncommented 5 tests that were commented out from day onethey seem to work
332 annotated / raw | Diffs: previous, other | Lines: 157 ( +1, -1 ) Created: 2005-01-14 00:51:54 -0600 (8 years 4 months ago) | Author: bret | Changeset: 332 put watir library in Watir module
322 annotated / raw | Diffs: previous, other | Lines: 157 ( +1, -1 ) Created: 2005-01-13 18:37:02 -0600 (8 years 4 months ago) | Author: bret | Changeset: 322 changed load path so that error messages are less confusing
Tags: v1_0_3 321 annotated / raw | Diffs: previous, other | Lines: 157 ( +1, -0 ) Created: 2005-01-13 18:00:52 -0600 (8 years 4 months ago) | Author: bret | Changeset: 321 make units executable from command line (again)
271 annotated / raw | Diffs: previous, other | Lines: 156 ( +0, -1 ) Created: 2005-01-05 17:32:19 -0600 (8 years 4 months ago) | Author: bret | Changeset: 271 removed loadpath statement from unittests
Tags: v1_0_2 251 annotated / raw | Diffs: previous, other | Lines: 157 ( +2, -1 ) Created: 2005-01-03 23:27:36 -0600 (8 years 4 months ago) | Author: bret | Changeset: 251 Recent changes broke the unit tests -- they would only test the watir.rb that was installed.If none were installed they would fail. In the process regularized all requires. Also, now you require 'watir' instead of 'watir/watir' - Added other contributors to readme.txt - Changed popups_test to use rubyw instead of ruby - NOTE: all_tests.rb would hang when it included popups_test in the suite -- so i excluded it
Tags: v1_0_0 v1_0_1 240 annotated / raw | Diffs: previous, other | Lines: 156 ( +1, -6 ) Created: 2005-01-02 22:48:39 -0600 (8 years 4 months ago) | Author: pmr16366 | Changeset: 240 changes to accomodate the installeradded tests for patch supplied by Atilla Ozgur for clicking links with IDs
189 annotated / raw | Diffs: previous, other | Lines: 161 ( +1, -1 ) Created: 2004-11-23 10:14:13 -0600 (8 years 5 months ago) | Author: pmr16366 | Changeset: 189 added a global variable to easily change where the pages are served from
149 annotated / raw | Diffs: previous, other | Lines: 161 ( +1, -0 ) Created: 2004-11-11 12:49:21 -0600 (8 years 6 months ago) | Author: bret | Changeset: 149 tests should now be able to run singly from command line again
145 annotated / raw | Diffs: previous, other | Lines: 160 ( +1, -3 ) Created: 2004-11-10 12:44:35 -0600 (8 years 6 months ago) | Author: bret | Changeset: 145 now works with cygwin
144 annotated / raw | Diffs: previous, other | Lines: 162 ( +2, -7 ) Created: 2004-11-10 12:16:01 -0600 (8 years 6 months ago) | Author: bret | Changeset: 144 only one browser when you run all unit tests
latest revision Branch attachlatest revision Branch davids_click_no_waitlatest revision Branch modal_dialog1004 annotated / raw | Diffs: previous, other | Lines: 290 ( +6, -3 ) Created: 2006-05-18 12:59:56 -0500 (7 years 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
latest revision Branch watir1_4truly |