one more thing:
> $ie.text_field(:name,"text1").set("This is the text in the popup")
> $ie.button(:name,"submit").click
> check_for_popups("Microsoft Internet Explorer", "OK")
>
You should be using "click_no_wait()" for handling the pop ups. Else your
script will get block. Basic idea is to use "
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 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 with "$"
>
> -D
I figured out the WIN32OLE issue - all the tests are now passing on 1.9.
--~--~-~--~~~---~--~~
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
Befor
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.
some text here
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 (
http://antoniocangiano.com/2009/08/04/a-faster-ruby-on-window
thx guys
2009/8/4 George
>
> Might want to check out this site:
>
> http://rubyonwindows.blogspot.com/
>
>
>
> On Aug 4, 12:38 pm, anna barbara ostrowska
> wrote:
> > Hi there,
> > Can you recommend me any tool/ruby library that allows me convert data
> > (metrics) to graph/charts ect?
> > Than
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 wrote:
> 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 fo
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 b
please don't post the same message with different subjects.
On Wed, Aug 5, 2009 at 11:29 AM, supriya wrote:
>
> 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_
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 C:/Ruby/lib/ruby/gems
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 'win32ole
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')
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 variabl
> On Aug 4, 12:38 pm, anna barbara ostrowska
> 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
--~--~-~--~~~---~--~~
You r
14 matches
Mail list logo