Hi Friends,
I am not able to use the maximize method of IE class. Please see the
below code. An error is thrown for maximize method. Please suggest if
something wrong-->


require 'watir'
require 'test/unit'

class TestSuite_IRCTC < Test::Unit::TestCase

$ie = Watir::Browser.new
$test_site = 'http://www.irctc.co.in'

  def test_01_OpenApps

  puts 'TC_RR_001- Open the IRCTC site: www.irctc.co.ic'
    $ie.maximize
    $ie.goto($test_site)


  end


end




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to