[wtr-general] Re: Verify does not work while checking the links.

2009-08-06 Thread Yuvraj Jagadale
Hi Wesley, I have tried by replacing @ with $, but i doesn't made any difference to final output. By using @@, it gives error 'uninitalised class variable' Is there any solution for this? Thanks, On Thu, Aug 6, 2009 at 3:00 PM, Wesley Chen cjq@gmail.com wrote: Don't use @, instead, please

[wtr-general] Re: Verify does not work while checking the links.

2009-08-06 Thread George
This sounds like more a fundamental Ruby issue than anything. I'm not sure how your first assert statement would work since you're calling a local 'browser' variable within your method. Try this out: ## require 'watir' require 'watir/testcase' class VerifyTest

[wtr-general] Re: Verify does not work while checking the links.

2009-08-05 Thread Dylan
Well, I'm not sure if this is your problem but that isn't a global variable, its an instance variable. Global variables start with $ -Dylan On Aug 5, 2:51 am, Yuvraj yuvrajjagad...@gmail.com wrote: Hi, I have installed the ruby 1.8.6 and WATIR 1.6.2. I am checking whether a link is active

[wtr-general] Re: Verify does not work while checking the links.

2009-08-05 Thread Yuvraj Jagadale
Agree with you that its an instance variable. But is there any way to resolve the issue? Thanks, Yuvraj On Wed, Aug 5, 2009 at 9:50 PM, Dylan mej...@gmail.com wrote: Well, I'm not sure if this is your problem but that isn't a global variable, its an instance variable. Global variables start