Hi All,

 

I am not too sure whether I should post it here or in a Ruby forum.

 

But there is a problem that I am facing while scripting a data driven Watir
suite.

 

1)       I have a class (say the base class) wherein I am fetching data from
excel and storing them in a variable.

2)       Now there's a generic method in the application which is stored in
another Ruby file (not in a  class, not in a module)

3)       I need to call this generic method with the object of the base
class (since the object has the data allotted to the variables)

4)       But when I do this it says   "undefined method `methodName' for
main:Object".

 

So can somebody help me with this? What can I do so that I can access the
methods and at the same time the data is set to variables for every row of
excel sheet.

 

Thanks in advance.

Thanks,
Rohan Ojha
 Blue Star Infotech l*+91 900 4955058l * +91 22 6688 6969 l 6 +91 22 6688
6999 l *  <mailto:rohan.o...@bsil.com> rohan.o...@bsil.com
   <http://www.bsil.com/> www.bsil.com - Where Partnerships Are Built on
Trust 

 


--~--~---------~--~----~------------~-------~--~----~
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