[wtr-general] Re: How to access methods from Modules

2009-10-22 Thread abhisheksreepal
Hi Zeljko, Thanks for the reply. I'll start using Regular watir But incase if anyone wanted to use .. i got a SOLUTION Solution 1:Better one I just added this setter method in this file (C:\Ruby\lib\ruby\gems \1.8\gems\watir-1.6.2\lib\watir\watir_simple) def assignBrowser(brow

[wtr-general] Re: How to access methods from Modules

2009-10-22 Thread Željko Filipin
On Thu, Oct 22, 2009 at 12:28 PM, abhisheksreepal wrote: > require 'watir/watir_simple' > include Watir::Simple I think that watir simple is not supported any more. You should use regular watir, it is not more complicated. Start here: http://wiki.openqa.org/display/WTR/Tutorial Željko --~--~--

[wtr-general] Re: How to access methods from Modules

2009-10-22 Thread abhisheksreepal
Hi Tiffany, Thanks for the reply. I have modified my code require 'test/unit' require "watir" require 'watir/testcase' require 'watir/watir_simple' include Watir::Simple class Login < Watir::TestCase def test_login ie=Watir::IE.new ie.goto("SOME LINK") ie.link(:href,

[wtr-general] Re: How to access methods from Modules

2009-10-22 Thread Željko Filipin
On Thu, Oct 22, 2009 at 4:07 AM, Bret Pettichord wrote: > I don't know if any one is using it any more. Sounds to me like it should be removed from Watir. :) Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are subscr

[wtr-general] Re: How to access methods from Modules

2009-10-21 Thread Bret Pettichord
I don't know if any one is using it any more. Bret Tiffany Fodor wrote: > Hi! > > You don't need this line: > s = Watir::Simple > > Your assert should read: > ie.assert_text_in_body("Please enter your Username",nil) > > (the second parameter, 'nil' is optional, so you could leave it out). > > I

[wtr-general] Re: How to access methods from Modules

2009-10-21 Thread Tiffany Fodor
Hi! You don't need this line: s = Watir::Simple Your assert should read: ie.assert_text_in_body("Please enter your Username",nil) (the second parameter, 'nil' is optional, so you could leave it out). I just did some searching and found that you need to include Watir::Simple, but the discussio