You still did not provide code that causes the problem. Željko
On Thu, Mar 14, 2013 at 1:24 PM, Ashish <[email protected]> wrote: > Hi Zeljko, > thanks for the feedback and we are still getting the same error. > Below is the setup i have at my end. > - Ruby version 1.9.1 > - Watir 1.8.0. > however we have also verified with different version combination of Ruby > and Watir and are constantly getting this error: > > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > C:/Ruby191/lib/ruby/gems/1.9.1/gems/commonwatir-1.8.0/lib/watir/testcase.rb:94:in > `public': undefined method `add_assertion' for class `Watir::TestCase' > (NameError) > from > C:/Ruby191/lib/ruby/gems/1.9.1/gems/commonwatir-1.8.0/lib/watir/testcase.rb:94:in > `<class:TestCase>' > from > C:/Ruby191/lib/ruby/gems/1.9.1/gems/commonwatir-1.8.0/lib/watir/testcase.rb:45:in > `<module:Watir>' > from > C:/Ruby191/lib/ruby/gems/1.9.1/gems/commonwatir-1.8.0/lib/watir/testcase.rb:4:in > `<top (required)>' > from C:/<Project scripts locations>/TC_1135n36EditContactInfo.rb:28:in > `require' > from C:/<Project scripts locations>/TC_1135n36EditContactInfo.rb:28:in > `<main>' > > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > we have included : > require 'rubygems' > require 'test/unit' > require 'watir/testcase' > require 'test/unit/ui/console/testrunner' > require 'ci/reporter/rake/test_unit_loader.rb'. > > Also the gem installed are: > *** LOCAL GEMS *** > > builder (3.2.0) > commonwatir (1.8.0) > ffi (1.4.0 x86-mingw32) > firewatir (1.8.0) > hoe (3.5.1) > nokogiri (1.5.6 x86-mingw32) > rake (10.0.3) > rubygems-update (2.0.3) > s4t-utils (1.0.4) > user-choices (1.1.6.1) > watir (1.8.0) > win32-api (1.4.8 x86-mingw32) > win32-process (0.7.1) > windows-api (0.4.2) > windows-pr (1.2.2) > xml-simple (1.1.2) > > we are not sure as this complete framework was working perfectly fine > however now its giving issues with "add_assertion" method. > > thanks > Ashish > > > On Wednesday, December 5, 2012 6:38:06 PM UTC+5:30, Željko Filipin wrote: > >> On Wed, Dec 5, 2012 at 1:59 PM, Ashish <[email protected]> wrote: >> > I am using ruby 1.9.3 with watir 1.8.1 for testing an application. >> However i am getting Error "undefined method `add_assertion' for class >> `Watir::TestCase' (NameError)" on running a script. >> >> Please provide relevant code. >> >> > Also m getting an error "Use 1.9.0 version of ruby for 32-bit Win XP" >> while installing watir 1.8.1 with ruby 1.8.7. >> >> Relevant code, again. And the entire error message. >> >> Željko >> -- >> https://leanpub.com/watirbook >> > -- > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
