[wtr-general] Re: graph/charts

2009-08-05 Thread Anna Gabutero
On Aug 4, 12:38 pm, anna barbara ostrowska ab.ostrow...@gmail.com wrote: Hi there, Can you recommend me any tool/ruby library that allows me convert data (metrics) to graph/charts ect? Take a look at Gruff: http://nubyonrails.com/pages/gruff

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

2009-08-05 Thread Yuvraj
Hi, I have installed the ruby 1.8.6 and WATIR 1.6.2. I am checking whether a link is active or not with the following verify statement. verify((browser.link(:text, 1).exists?), message=Link not active.) The above statement works fine. But when I use the above statement with global variable

[wtr-general] hw to handle java script popups

2009-08-05 Thread supriya
sir i tried this code : require 'rubygems' require 'watir' require 'watir/ie' require 'watir\contrib\enabled_popup' require 'win32ole' $ie=WATIR.IE.new def check_for_popups(title=Microsoft Internet Explorer, button=OK) popup=Thread.new { autoit=WIN32OLE.new('AutoItX3.Control')

[wtr-general] handling popups

2009-08-05 Thread supriya
i am using ruby 1.8.6 and watir 1.6.2 here am using this code to click ok button of the java script popup generated after clicking a button ,but it is not working..it is throwing errors require'rubygems' require 'watir' require 'watir/ie' require 'watir\contrib\enabled_popup' require

[wtr-general] Re: handling popups

2009-08-05 Thread Angrez Singh
I think the error is self explanatory: $ie=WATIR::IE.new the errors: ruby testingpopup2.rb C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/ dependencies.rb:443:in `load_missing_constant': uninitialized constant WATIR (NameError) from

[wtr-general] Trouble testing dynamically-created HTML

2009-08-05 Thread Burdette Lamar
I’ve been having a lot of trouble with stuff that Javascript builds in the DOM after the complete HTML page is returned. I’ve tried to counter that with extreme defensiveness. For example, this extension to Watir::SelectList is meant to bullet- proof SelectList#select against Javascript that’s

[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: graph/charts

2009-08-05 Thread anna barbara ostrowska
thx guys 2009/8/4 George george.sand...@gmail.com Might want to check out this site: http://rubyonwindows.blogspot.com/ On Aug 4, 12:38 pm, anna barbara ostrowska ab.ostrow...@gmail.com wrote: Hi there, Can you recommend me any tool/ruby library that allows me convert data

[wtr-general] Watir on Ruby 1.9.1

2009-08-05 Thread Jari Bakken
Hello, I've made some progress getting Watir to run on Ruby 1.9.1 using the preview installer provided by the RubyInstaller guys ( http://rubyinstaller.org/downloads/). A recent benchmark comparing the various interpreters on Windows (

[wtr-general] Dynamically generated elements on Ajax app

2009-08-05 Thread HK
I am trying to automate testing on Ajax applications and only using Watir for 7 weeks. Majority of elements are dynamically generated. Values for id's keep changing and class values are not unique. Does anyone have suggestions how to deal with them? Some sample below. DIV class=x-panel-header

[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