I tried to use web metrics but now I am getting different error message, "C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require': no such file to load"
Can someone help?? On Jan 12, 3:34 pm, "Darryl L. Brown" <d-l-br...@roadrunner.com> wrote: > Hello, > > Glad that I could help. > > Gem Dandy > >H2006 wrote: > > Hi Dandy, > > > first, Thank you so much for the information. I am currently using IE > > developer toolbar. when I click on find element and click on the text > > field, it is highlighted but script does not recognize it. my > > application only works on IE so fire bug will not help. Let me try out > > the Webmetrics, if that helps.. I really appreciate the information > > that you have provided. > > > -H2006 > > > On Sat, Jan 10, 2009 at 6:04 AM, gem dandy <d-l-br...@roadrunner.com > > <mailto:d-l-br...@roadrunner.com>> wrote: > > > Hello H2006, > > > If you can't identify the element with the IE Developer toolbar > > or Firebug (my favorite), Give Webmetrics a try. It's basically > > a Watir recorder /helper and will get you started. > > > The tool download - > > http://www.webmetrics.com/products/script_recorder.html > > > You will also need to apply this patch after installing the tool - > > http://www.webmetrics.com/scriptrecorder/vs_piaredist.exe > > > I feel your pain. I was a Watir virgin 6 weeks ago. > > > Take a look at this post for some links to some very good > > material for newbies- > > http://groups.google.com/group/watir-general/browse_thread/thread/811... > > > Regards, > > Gem (newbie) Dandy > > --Walk before you run > > > On Jan 10, 2:42 am, Anna Gabutero <a...@lavabit.com > > <mailto:a...@lavabit.com>> wrote: > > > Hi, > > > > On Fri, Jan 09, 2009 at 06:23:32PM -0800, H2006 wrote: > > > > > Hello, > > > > > I am newbie to Waitr & Ruby. I am testing windows application that > > > > works only on IE. I am exploring some front end automation > > tool and > > > > found Watir might be the great choice. I have followed the > > tutorial > > > > and simple google search test and it works fine. I am so > > excited to > > > > use this tool for my web application > > > > But the problem I am facing is when i tried to create simple > > search > > > > for my test application, i am getting ' Unable to locate' error.. > > > > Same error appears with all possible methods that i tried > > > > ( ex: .click, .flash, .set etc..) Only ".exists? " and > > > > " .include" command works in my script. > > > > > Can anyone help me? Am I missing anything for installation? Do > > I need > > > > to add anything else other than " require 'watir' "in the > > beginning > > > > of my script? > > > > > Watir version: 1.6.2 > > > > Ruby version 1.8.6 > > > > > Error: " c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ > > > > element.rb:52:in `assert_exists': Unable to locate element, > > > > using :id, /txtSegSearch/ > > (Watir::Exception::UnknownObjectException) > > > > "" > > > > Watir simply can't find the element based on the criteria you > > gave it. > > > The .exists? method works because it only checks for the > > existence of > > > the element, but it's probably returning "false". Maybe this > > text field > > > isn't in the frMain frame? > > > > If you're having trouble with the structure of the document you're > > > testing, you can use the IE developer toolbar to help you > > understand it. > > > > HTH, > > > Anna > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > > Checked by AVG -http://www.avg.com > > Version: 8.0.176 / Virus Database: 270.10.6/1889 - Release Date: 1/12/2009 > > 8:18 PM --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---