If you install Ruby in your c:\, please run command:
regsvr32 C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir\AutoItX3.dll


Thanks.
Wesley Chen.


On Tue, Mar 3, 2009 at 5:23 PM, Vikas Tulashyam <[email protected]>wrote:

>
> 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 [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to