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(browser)
         @@browser = browser;               #Abhishek Sreepal added for his
convenience
         end

To access another methods First we have to call this method
(assignBrowser)and then we can call another methods like
"navigate_to" and "assert_text_in_body'

Solution 2:

To access methods like "navigate_to" and "assert_text_in_body' , first
we need to call the first method which is "new_browser_at(url)" and
then we can call methods like "navigate_to" and "assert_text_in_body'
--~--~---------~--~----~------------~-------~--~----~
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