On Fri, 13 Jan 2006, Bret Pettichord wrote:

> On 1/13/06, Hugh Sasse <[EMAIL PROTECTED]> wrote:
> >
> > Also, I encountered problems at first because of the active content
> > warnings in IE.  I have left the warning popup to display every
> 
> 
> I see you've since read our instructions that indicate that this setting
> needs to be changed to make the unit tests run.

Maybe the warning could be integrated into the test?  I don't know how to
interrogate the registry, I'm more at home on unix.
> 
> This is the setting is in Tools-> Internet Options, Advanced Pane, Security
> section, called "Allow active content to run in files on My Computer". You

Yes.  [A rather silly name given the ambiguity with the My Computer icon etc
on the desktop, but I digress. Frequently!]

> don't need to turn this setting on for Watir in general, but it is required
> for the unit tests. It is the nature of this kind of setting that it can't
> be set automatically (e.g. from the unit tests). That would undermine it's
> ability to control security. At least that's my understanding: if anyone
> knows otherwise, speak up. I would love to take care of this automatically
> in the unit tests.

The page your further documentation links to:

http://www.winxptutor.com/lmzunlock.htm

says:
<quote>
WORKAROUND

In some cases, say when you're building and testing a webpage locally (Local 
Machine Zone), you may still see the Information Bar when the web page executes 
any script, initiates a Pop-up windows, or a download. For testing purposes, 
one needs to follow any of these workarounds:

    * Rename the .HTM file to .HTA (Example.. Index.HTM to Index.HTA
      and test the file locally). HTA files have more privileges
      than the HTM files, can run active content on Local Machine by
      default.

      -or-
       
    * add the Mark Of The Web code such as <!-- saved from
      url=(0023)http://www.contoso.com/ --> to a Web page, where the
      (0023) value is the string length of your URL that follows it
      and Contoso is the name of your Web site.

The above is an extract from Local Machine Zone Lockdown - Developer 
Implications. See page for more information about the two workarounds above.
</quote>

However, I have just tried the approach with hta  and it doesn't work for me.
See the patchcluster below (not sure if I can attach it to this
list, so it's included.)

        Hugh
> 

> Bret
> 



--- attachToExistingWindow_test_orig.rb 2006-01-13 16:48:40.468750000 +0000
+++ attachToExistingWindow_test.rb      2006-01-13 16:52:57.593750000 +0000
@@ -12,7 +12,7 @@
     end
 
     def test_ExistingWindow
-       goto_page 'buttons1.html'
+       goto_page 'buttons1.hta'
        ie3=nil
 
        assert_raises( NoMatchingWindowFoundException ) { ie3 = 
IE.attach(:title , "missing") }
@@ -29,7 +29,7 @@
        assert_equal( "Test page for buttons" , ie3.title)
        ie3=nil
 
-       ie3 = IE.attach(:url, /buttons1.html/ )
+       ie3 = IE.attach(:url, /buttons1.hta/ )
        assert_equal( "Test page for buttons" , ie3.title)
        ie3=nil
 
--- buttons_test_orig.rb        2006-01-13 16:48:40.468750000 +0000
+++ buttons_test.rb     2006-01-13 16:53:49.828125000 +0000
@@ -8,11 +8,11 @@
     include Watir
     
     def setup
-        $ie.goto($htmlRoot + "buttons1.html")
+        $ie.goto($htmlRoot + "buttons1.hta")
     end
     
     def goto_frames_page()
-        $ie.goto($htmlRoot + "frame_buttons.html")
+        $ie.goto($htmlRoot + "frame_buttons.hta")
     end
     
     def aatest_Spinner
--- checkbox_test_orig.rb       2006-01-13 16:48:40.484375000 +0000
+++ checkbox_test.rb    2006-01-13 16:54:08.484375000 +0000
@@ -8,7 +8,7 @@
     include Watir
 
     def setup()
-        $ie.goto($htmlRoot + "checkboxes1.html")
+        $ie.goto($htmlRoot + "checkboxes1.hta")
     end
 
     def test_checkbox_properties
--- css_test_orig.rb    2006-01-13 16:48:40.484375000 +0000
+++ css_test.rb 2006-01-13 16:54:28.218750000 +0000
@@ -41,7 +41,7 @@
     end
 
     def gotoCSSPage()
-        $ie.goto($htmlRoot + "cssTest.html")
+        $ie.goto($htmlRoot + "cssTest.hta")
     end
 
     def test_SuccessMessage
--- div_test_orig.rb    2006-01-13 16:48:40.515625000 +0000
+++ div_test.rb 2006-01-13 16:54:43.750000000 +0000
@@ -8,7 +8,7 @@
     include Watir
     
     def setup()
-        $ie.goto($htmlRoot + "div.html")
+        $ie.goto($htmlRoot + "div.hta")
     end
     
     def test_divs
@@ -176,4 +176,4 @@
         end
         assert_equal( count-1 ,  $ie.ps.length)
     end
-end
\ No newline at end of file
+end
--- errorchecker_test_orig.rb   2006-01-13 16:48:40.531250000 +0000
+++ errorchecker_test.rb        2006-01-13 16:55:22.734375000 +0000
@@ -17,11 +17,11 @@
         }
 
         $ie.add_checker(button_checker )
-        assert_raises( RuntimeError ) { goto_page('forms3.html') }
-        assert_nothing_raised { goto_page('buttons1.html') }
+        assert_raises( RuntimeError ) { goto_page('forms3.hta') }
+        assert_nothing_raised { goto_page('buttons1.hta') }
 
         $ie.disable_checker( button_checker )
-        assert_nothing_raised { goto_page('forms3.html') }
+        assert_nothing_raised { goto_page('forms3.hta') }
 
     end
 
--- filefield_test_orig.rb      2006-01-13 16:48:40.531250000 +0000
+++ filefield_test.rb   2006-01-13 16:55:42.203125000 +0000
@@ -8,7 +8,7 @@
   include Watir
 
   def gotoPage()
-       $ie.goto($htmlRoot + "fileupload.html")
+       $ie.goto($htmlRoot + "fileupload.hta")
   end
 
   def test_fileField_Exists
@@ -20,7 +20,7 @@
        assert_false($ie.fileField(:name, "missing").exists?)   
        assert_false($ie.fileField(:name,"totallybogus").exists?)
        #pop one open and put something in it.
-       $ie.fileField(:name,"file1").set($htmlRoot + "fileupload.html") 
+       $ie.fileField(:name,"file1").set($htmlRoot + "fileupload.hta")  
        #click the upload button
        $ie.button(:name,"upload").click
 
--- form_test_orig.rb   2006-01-13 16:48:40.562500000 +0000
+++ form_test.rb        2006-01-13 16:57:55.953125000 +0000
@@ -6,7 +6,7 @@
 
 class TC_Forms2 < Test::Unit::TestCase
     def setup()
-        $ie.goto($htmlRoot + "forms2.html")
+        $ie.goto($htmlRoot + "forms2.hta")
     end
     
     def test_Form_Exists
@@ -22,7 +22,7 @@
         assert($ie.form(:method, "get").exists?)   
         assert_false($ie.form(:method, "missing").exists?)   
         
-        assert($ie.form(:action, "pass.html").exists?)   
+        assert($ie.form(:action, "pass.hta").exists?)   
         assert_false($ie.form(:action, "missing").exists?)   
     end
     
@@ -35,7 +35,7 @@
 class TC_Form_Display < Test::Unit::TestCase
     include MockStdoutTestCase                
     def test_showforms
-        $ie.goto($htmlRoot + "forms2.html")
+        $ie.goto($htmlRoot + "forms2.hta")
         $stdout = @mockout
         $ie.showForms
         assert_equal(<<END_OF_MESSAGE, @mockout)
@@ -43,26 +43,26 @@
 Form name: 
        id: 
    method: get
-   action: pass.html
+   action: pass.hta
 Form name: test2
        id: 
    method: get
-   action: pass2.html
+   action: pass2.hta
 Form name: test3
        id: 
    method: get
-   action: pass2.html
+   action: pass2.hta
 Form name: test2
        id: 
    method: get
-   action: pass2.html
+   action: pass2.hta
 END_OF_MESSAGE
     end
 end
 
 class TC_Forms3 < Test::Unit::TestCase
     def setup()
-        $ie.goto($htmlRoot + "forms3.html")
+        $ie.goto($htmlRoot + "forms3.hta")
     end
     
     def test_Form_Exists
@@ -78,7 +78,7 @@
         assert($ie.form(:method, "get").exists?)   
         assert_false($ie.form(:method, "missing").exists?)   
         
-        assert($ie.form(:action, "pass.html").exists?)   
+        assert($ie.form(:action, "pass.hta").exists?)   
         assert_false($ie.form(:action, "missing").exists?)   
     end
 
@@ -170,7 +170,7 @@
 
 class TC_Forms4 < Test::Unit::TestCase
     def setup()
-        $ie.goto($htmlRoot + "forms4.html")
+        $ie.goto($htmlRoot + "forms4.hta")
     end
     
     def test_find_text_field_ignoring_form
@@ -200,7 +200,7 @@
 
 class TC_Hidden_Fields < Test::Unit::TestCase
     def setup
-        $ie.goto($htmlRoot + "forms3.html")
+        $ie.goto($htmlRoot + "forms3.hta")
     end
     
     def test_hidden
@@ -276,4 +276,4 @@
         assert_equal("hid1" , $ie.hiddens[1].name )
         assert_equal("hidden_1" , $ie.hiddens[2].id )
     end
-end
\ No newline at end of file
+end
--- frame_test_orig.rb  2006-01-13 16:48:40.562500000 +0000
+++ frame_test.rb       2006-01-13 16:58:42.765625000 +0000
@@ -8,7 +8,7 @@
     include Watir
 
     def setup()
-        $ie.goto($htmlRoot + "frame_buttons.html")
+        $ie.goto($htmlRoot + "frame_buttons.hta")
     end
 
     def test_frame_no_what
@@ -57,7 +57,7 @@
     include Watir
     
     def setup()
-        $ie.goto($htmlRoot + "frame_multi.html")
+        $ie.goto($htmlRoot + "frame_multi.hta")
     end
 
     def test_frame_with_no_name
@@ -73,7 +73,7 @@
     include Watir
    
     def setup()
-        $ie.goto($htmlRoot + "nestedFrames.html")
+        $ie.goto($htmlRoot + "nestedFrames.hta")
     end
 
     def test_frame
@@ -91,7 +91,7 @@
     include Watir
 
     def setup()
-        $ie.goto($htmlRoot + "iframeTest.html")
+        $ie.goto($htmlRoot + "iframeTest.hta")
     end
 
     def test_Iframe
@@ -114,7 +114,7 @@
     end
       
     def test_show_nested_frames
-        capture_and_compare("nestedFrames.html", <<END_OF_MESSAGE)
+        capture_and_compare("nestedFrames.hta", <<END_OF_MESSAGE)
 there are 2 frames
 frame  index: 1 name: nestedFrame
 frame  index: 2 name: nestedFrame2
@@ -122,7 +122,7 @@
     end
 
     def test_button_frames
-        capture_and_compare("frame_buttons.html", <<END_OF_MESSAGE)
+        capture_and_compare("frame_buttons.hta", <<END_OF_MESSAGE)
 there are 2 frames
 frame  index: 1 name: buttonFrame
 frame  index: 2 name: buttonFrame2
@@ -130,7 +130,7 @@
     end
 
     def test_iframes
-        capture_and_compare("iframeTest.html", <<END_OF_MESSAGE)
+        capture_and_compare("iframeTest.hta", <<END_OF_MESSAGE)
 there are 2 frames
 frame  index: 1 name: senderFrame
 frame  index: 2 name: receiverFrame
--- images_test_orig.rb 2006-01-13 16:48:40.578125000 +0000
+++ images_test.rb      2006-01-13 16:59:20.406250000 +0000
@@ -16,7 +16,7 @@
     end
     
     def gotoImagePage()
-        $ie.goto($htmlRoot + "images1.html")
+        $ie.goto($htmlRoot + "images1.hta")
     end
 
     def test_imageExists
--- js_events_test_orig.rb      2006-01-13 16:48:40.640625000 +0000
+++ js_events_test.rb   2006-01-13 16:59:51.437500000 +0000
@@ -9,7 +9,7 @@
 
     
     def gotoJavaScriptEventsPage()
-        $ie.goto($htmlRoot + "javascriptevents.html")
+        $ie.goto($htmlRoot + "javascriptevents.hta")
     end
 
   
--- links_test_orig.rb  2006-01-13 16:48:40.671875000 +0000
+++ links_test.rb       2006-01-13 17:02:09.250000000 +0000
@@ -8,11 +8,11 @@
     include Watir
 
     def gotoLinksPage()
-        $ie.goto($htmlRoot + "links1.html")
+        $ie.goto($htmlRoot + "links1.hta")
     end
 
     def gotoFrameLinksPage()
-        $ie.goto($htmlRoot + "frame_links.html")
+        $ie.goto($htmlRoot + "frame_links.hta")
     end
 
     def setup()
@@ -60,8 +60,8 @@
        # but what we get back from $htmlRoot is a mixed case, so its almost 
impossible for use to test this correctly
        # 
assert($ie.link(:url,'file:///C:/watir_bonus/unitTests/html/links1.HTML' 
).exists?)   
 
-       assert($ie.link(:url, /link_pass.html/).exists?)   
-       assert_false($ie.link(:url, "alsomissing.html").exists?)   
+       assert($ie.link(:url, /link_pass.hta/).exists?)   
+       assert_false($ie.link(:url, "alsomissing.hta").exists?)   
 
        assert($ie.link(:id, "link_id").exists?)   
        assert_false($ie.link(:id, "alsomissing").exists?)   
@@ -89,7 +89,7 @@
         assert( $ie.contains_text("Links2-Pass") ) 
 
         gotoLinksPage()
-        $ie.link(:url, /link_pass.html/).click
+        $ie.link(:url, /link_pass.hta/).click
         assert( $ie.contains_text("Links3-Pass") ) 
 
         gotoLinksPage()
@@ -146,19 +146,19 @@
     include MockStdoutTestCase
     
     def test_showLinks
-        $ie.goto($htmlRoot + "links1.html")
+        $ie.goto($htmlRoot + "links1.hta")
         $stdout = @mockout
         $ie.showLinks
         expected = [/^index name +id +href + text\/src$/,
-                    get_path_regex(1, "links2.html","test1"),
-                    get_path_regex(2, "link_pass.html","test1"),
-                    get_path_regex(3, "pass3.html", " / 
file:///#{$myDir.downcase}/html/images/button.jpg"),
-                    get_path_regex(4, "textarea.html", "new window"),
-                    get_path_regex(5, "textarea.html", "new window"),
-                    get_path_regex(6, "links1.html", "link using an id", 
"link_id"),
-                    get_path_regex(7, "links1.html", "link using a name", 
"link_name"),
-                    get_path_regex(8, "links1.html", "link using a title"),
-                    get_path_regex(9, "pass.html", "image and a text link / 
file:///#{$myDir.downcase}/html/images/triangle.jpg")]
+                    get_path_regex(1, "links2.hta","test1"),
+                    get_path_regex(2, "link_pass.hta","test1"),
+                    get_path_regex(3, "pass3.hta", " / 
file:///#{$myDir.downcase}/html/images/button.jpg"),
+                    get_path_regex(4, "textarea.hta", "new window"),
+                    get_path_regex(5, "textarea.hta", "new window"),
+                    get_path_regex(6, "links1.hta", "link using an id", 
"link_id"),
+                    get_path_regex(7, "links1.hta", "link using a name", 
"link_name"),
+                    get_path_regex(8, "links1.hta", "link using a title"),
+                    get_path_regex(9, "pass.hta", "image and a text link / 
file:///#{$myDir.downcase}/html/images/triangle.jpg")]
         items = @mockout.split(/\n/).collect {|s|s.downcase.strip}
         expected.each_with_index{|regex, x| assert_match(regex, items[x])}
     end
--- minmax_test_orig.rb 2006-01-13 16:48:40.671875000 +0000
+++ minmax_test.rb      2006-01-13 17:02:23.453125000 +0000
@@ -7,7 +7,7 @@
 class TC_MinMax< Test::Unit::TestCase
     include Watir
     def setup
-        $ie.goto($htmlRoot + 'pass.html')
+        $ie.goto($htmlRoot + 'pass.hta')
     end        
     def teardown
         $ie.restore
@@ -20,7 +20,7 @@
     end
     def test_front
         assert $ie.front?
-        ie2 = IE.start($htmlRoot + 'blankpage.html')
+        ie2 = IE.start($htmlRoot + 'blankpage.hta')
         assert ie2.front?
         assert_false $ie.front?
         $ie.bring_to_front
--- navigate_test_orig.rb       2006-01-13 16:48:40.671875000 +0000
+++ navigate_test.rb    2006-01-13 17:02:46.218750000 +0000
@@ -14,14 +14,14 @@
     def test_navigation
 
        $ie.clear_url_list
-       gotoPage( 'buttons1.html')
+       gotoPage( 'buttons1.hta')
        url = $ie.url.downcase.gsub('///' , '//')   # no idea why this happens 
- we get 3 / after file:
-       assert_equal(url.downcase , ( $htmlRoot + 'buttons1.html' ).downcase )  
# the downcase is that sometimes we get capital drivee letters 
+       assert_equal(url.downcase , ( $htmlRoot + 'buttons1.hta' ).downcase )  
# the downcase is that sometimes we get capital drivee letters 
 
        assert_equal( 1, $ie.url_list.length )
        assert_equal( url , $ie.url_list[0].gsub('\\', '/').downcase )
 
-       gotoPage( 'checkboxes1.html')
+       gotoPage( 'checkboxes1.hta')
        url = $ie.url.downcase.gsub('///' , '//')   # no idea why this happens 
- we get 3 / after file:
 
        assert_equal($ie.title , "Test page for Check Boxes") 
--- pagecontainstext_test_orig.rb       2006-01-13 16:48:40.703125000 +0000
+++ pagecontainstext_test.rb    2006-01-13 17:03:18.937500000 +0000
@@ -8,7 +8,7 @@
     include Watir
 
     def setup
-        $ie.goto($htmlRoot + "textsearch.html")
+        $ie.goto($htmlRoot + "textsearch.hta")
     end        
     
     def test_text_found
@@ -46,4 +46,4 @@
                         
 end
 
-    
\ No newline at end of file
+    
--- popups_test_orig.rb 2006-01-13 16:48:40.703125000 +0000
+++ popups_test.rb      2006-01-13 17:03:39.015625000 +0000
@@ -8,7 +8,7 @@
     include Watir
 
     def setup
-        $ie.goto("file://#{$myDir}/html/popups1.html")
+        $ie.goto("file://#{$myDir}/html/popups1.hta")
     end
 
     def startClicker( button , waitTime = 0.5)
--- radios_test_orig.rb 2006-01-13 16:48:40.703125000 +0000
+++ radios_test.rb      2006-01-13 17:03:58.234375000 +0000
@@ -8,7 +8,7 @@
     include Watir
 
     def setup()
-        $ie.goto($htmlRoot + "radioButtons1.html")
+        $ie.goto($htmlRoot + "radioButtons1.hta")
     end
 
     def test_Radio_Exists
--- screen_capture_test_orig.rb 2006-01-13 16:48:40.718750000 +0000
+++ screen_capture_test.rb      2006-01-13 17:04:15.984375000 +0000
@@ -11,7 +11,7 @@
     
     def setup
         delete_captured_files( [ 'jpeg1.jpg' , 'jpeg2.jpg' , 'bmp1.bmp', 
'bmp2.bmp' ] )
-        $ie.goto($htmlRoot + 'buttons1.html' )
+        $ie.goto($htmlRoot + 'buttons1.hta' )
         @file_list = []       
     end
     
--- selectbox_test_orig.rb      2006-01-13 16:48:40.718750000 +0000
+++ selectbox_test.rb   2006-01-13 17:04:44.968750000 +0000
@@ -8,7 +8,7 @@
     include Watir
     
     def setup()
-        $ie.goto($htmlRoot + "selectboxes1.html")
+        $ie.goto($htmlRoot + "selectboxes1.hta")
     end
     
     def test_SelectList_exists
@@ -40,7 +40,7 @@
     include Watir
     
     def setup()
-        $ie.goto($htmlRoot + "selectboxes1.html")
+        $ie.goto($htmlRoot + "selectboxes1.hta")
     end
     
     def test_selectBox_Exists
@@ -186,7 +186,7 @@
     include Watir
     
     def setup()
-        $ie.goto($htmlRoot + "select_tealeaf.html")
+        $ie.goto($htmlRoot + "select_tealeaf.hta")
     end
     
     def test_options_text
--- send_keys_test_orig.rb      2006-01-13 16:48:40.718750000 +0000
+++ send_keys_test.rb   2006-01-13 17:04:56.843750000 +0000
@@ -8,7 +8,7 @@
     include Watir
     
     def setup()
-        $ie.goto($htmlRoot + "textfields1.html")
+        $ie.goto($htmlRoot + "textfields1.hta")
     end
     
     def test_tabbing
@@ -26,4 +26,4 @@
     end
     
 end
- 
\ No newline at end of file
+ 
--- table_test_orig.rb  2006-01-13 16:48:40.734375000 +0000
+++ table_test.rb       2006-01-13 17:06:59.437500000 +0000
@@ -12,7 +12,7 @@
     end
 
     def gotoTablePage()
-        $ie.goto($htmlRoot + "table1.html")
+        $ie.goto($htmlRoot + "table1.hta")
     end
 
     def test_Table_Exists
@@ -74,7 +74,7 @@
     end
 
     def test_simple_table_access
-         $ie.goto($htmlRoot + "simple_table.html")
+         $ie.goto($htmlRoot + "simple_table.hta")
  
          table = $ie.table(:index,1)
     
@@ -85,7 +85,7 @@
     end
   
     def test_simple_table_buttons
-        $ie.goto($htmlRoot + "simple_table_buttons.html")
+        $ie.goto($htmlRoot + "simple_table_buttons.hta")
  
         table = $ie.table(:index,1)
    
@@ -120,7 +120,7 @@
     end
  
     def test_simple_table_gif
-        $ie.goto($htmlRoot + "simple_table_buttons.html")
+        $ie.goto($htmlRoot + "simple_table_buttons.hta")
  
         table = $ie.table(:index,2)
 
@@ -143,7 +143,7 @@
     end
 
     def test_table_with_hidden_or_visible_rows
-        $ie.goto($htmlRoot + "simple_table_buttons.html")
+        $ie.goto($htmlRoot + "simple_table_buttons.hta")
         t = $ie.table(:id , 'show_hide')
 
         # expand the table
@@ -169,7 +169,7 @@
     end
 
     def test_table_from_element
-        $ie.goto($htmlRoot + "simple_table_buttons.html")
+        $ie.goto($htmlRoot + "simple_table_buttons.hta")
      
         button = $ie.button(:id,"b1")
         table = Table.create_from_element($ie,button)
@@ -179,7 +179,7 @@
     end
 
     def test_complex_table_access
-        $ie.goto($htmlRoot + "complex_table.html")
+        $ie.goto($htmlRoot + "complex_table.hta")
      
         table = $ie.table(:index,1)
        
@@ -261,12 +261,12 @@
     end
 
     def test_get_columnvalues_single_column
-        $ie.goto($htmlRoot + "simple_table_columns.html")
+        $ie.goto($htmlRoot + "simple_table_columns.hta")
         assert_equal(["R1C1", "R2C1", "R3C1"], $ie.table(:index, 
1).column_values(1))
     end
 
     def test_colspan
-        $ie.goto($htmlRoot + "simple_table_columns.html")
+        $ie.goto($htmlRoot + "simple_table_columns.hta")
         assert_equal(2, $ie.table(:index, 3)[2][1].colspan)
         assert_equal(1, $ie.table(:index, 3)[1][1].colspan)
         assert_equal(3, $ie.table(:index, 3)[4][1].colspan)
@@ -277,29 +277,29 @@
 
 
     def test_get_columnvalues_multiple_column
-        $ie.goto($htmlRoot + "simple_table_columns.html")
+        $ie.goto($htmlRoot + "simple_table_columns.hta")
         assert_equal(["R1C1", "R2C1", "R3C1"], $ie.table(:index, 
2).column_values(1))
         assert_equal(["R1C3", "R2C3", "R3C3"], $ie.table(:index, 
2).column_values(3))
     end
 
     def test_get_columnvalues_with_colspan
-        $ie.goto($htmlRoot + "simple_table_columns.html")
+        $ie.goto($htmlRoot + "simple_table_columns.hta")
         assert_equal(["R1C1", "R2C1", "R3C1", "R4C1", "R5C1", "R6C2"], 
$ie.table(:index, 3).column_values(1))
         (2..4).each{|x|assert_raises(UnknownCellException){$ie.table(:index, 
3).column_values(x)}}
     end
     
     def test_get_rowvalues_full_row
-        $ie.goto($htmlRoot + "simple_table_columns.html")
+        $ie.goto($htmlRoot + "simple_table_columns.hta")
         assert_equal(["R1C1", "R1C2", "R1C3"], $ie.table(:index, 
3).row_values(1))
     end
     
     def test_get_rowvalues_with_colspan
-        $ie.goto($htmlRoot + "simple_table_columns.html")
+        $ie.goto($htmlRoot + "simple_table_columns.hta")
         assert_equal(["R2C1", "R2C2"], $ie.table(:index, 3).row_values(2))
     end
     
     def test_getrowvalues_with_rowspan
-        $ie.goto($htmlRoot + "simple_table_columns.html")
+        $ie.goto($htmlRoot + "simple_table_columns.hta")
         assert_equal(["R5C1", "R5C2", "R5C3"], $ie.table(:index, 
3).row_values(5))
         assert_equal(["R6C2", "R6C3"], $ie.table(:index, 3).row_values(6))
     end
--- textAreafields_test_orig.rb 2006-01-13 16:48:40.734375000 +0000
+++ textAreafields_test.rb      2006-01-13 17:07:14.781250000 +0000
@@ -8,7 +8,7 @@
     include Watir
 
     def gotoPage()
-        $ie.goto($htmlRoot + "textArea.html")
+        $ie.goto($htmlRoot + "textArea.hta")
     end
 
     def test_textarea_field_exists
@@ -78,4 +78,4 @@
 
     end
 
-end
\ No newline at end of file
+end
--- textfields_test_orig.rb     2006-01-13 16:48:40.734375000 +0000
+++ textfields_test.rb  2006-01-13 17:07:28.562500000 +0000
@@ -8,7 +8,7 @@
     include Watir
 
     def setup()
-        $ie.goto($htmlRoot + "textfields1.html")
+        $ie.goto($htmlRoot + "textfields1.hta")
     end
 
     def test_text_field_exists
@@ -236,4 +236,4 @@
 
     
 
-end
\ No newline at end of file
+end
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to