I found a way.
Popup an alert when click pause button.
but this is not a googld solution, if you have a good one, please
share your idea,
def btn_evt(event)
if @button1.get_label =~ /pause/
@button1.set_label('resume')
ie.document.parentWindow.execScript(alert('click to
Yet,It works fine,thanks for all of your guys!
On Aug 8, 10:14 am, Marlon Mojares marlonmoja...@gmail.com wrote:
I hope this helps
*if link:*
begin
assert(ie.link(:name,Signout).exists?)
puts login successfully
rescue = e
puts login failed + e.message + \n +
Hi Guys,
We have Windows based large database application for testing.
Is there any way to test these types of applications using ruby?
Please guide.
Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
hi
i tried object click no wait command, and after it clicks on it,, it shows a
pop up after almost 60 seconds...
has everyone seen this...
thanks
On Mon, Aug 10, 2009 at 10:38 AM, Pallavi Sharma write2pall...@gmail.comwrote:
Hi Dylan
Version is: ruby 1.8.6 (2007-09-24 patchlevel 111)
Sorry that my last email was cutoff. I was able to interact using :text for
a number of controls and tabs. Certainly this will not be my last issue on
ajax application but I will search the group and then will start a new
thread for a new issue. At this point, the development will not change
I got one problem while running the automation script:
I am having 20 checkboxes in a page .NOw i want check that whether
each check box is checked or unchecked.if it is checked i want to
print a message.
Snippet of code that i used is:
require 'watir'
require 'win32ole'
require'rubygems'
They are updated to 1.6.2. Why do you say they aren't updated?
Bret
On Aug 9, 9:13 pm, Brandon bfalo...@gmail.com wrote:
These docs are still at 1.5.6 and need to be
updated...http://wtr.rubyforge.org/rdoc/
Please let me know if I can assist...
Brandon
This looks handy. I would like to have these tests run on
watirbuild.com, once i get that up and running again.
On Aug 7, 12:40 pm, Jari Bakken jari.bak...@gmail.com wrote:
I've factored out the bulk of Celerity's rspec suite to a separate
project, available on GitHub at
On Aug 6, 7:18 pm, Jari Bakken jari.bak...@gmail.com wrote:
Bret: Any chance of getting watirbuild.com back up again?
I'll see if i can get on this this week. Thanks for your work on the
1.9.1 support.
--~--~-~--~~~---~--~~
You received this message because you
This is so great, Jari.
Thanks for working on this.
- Original Message
From: Jari Bakken jari.bak...@gmail.com
To: watir-general@googlegroups.com
Sent: Sunday, August 9, 2009 3:49:59 AM
Subject: [wtr-general] Re: Watir on Ruby 1.9.1
On Fri, Aug 7, 2009 at 2:18 AM, Jari
Hi guys,
I was trying to install watir on windows.
However after typeing 'gem install watir' I have experienced following
error:
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR: could not find gem watir locally or in a repository
Any ideas how to deal with it?
Thanks
The only way I have been able to find is that the HTML of the checkbox
changes when it is checked, adding CHECKED in there somewhere. You
can check the html: checkbox(:id,YourID).html =~ /CHECKED/
Or you can add this function to your input_elements.rb file in the
watir gem under the CheckBox
http://rubyforge.org/projects/rumbster/
works a treat!
On Fri, Aug 7, 2009 at 8:35 PM, Darryl (gem dandy) Brown
d-l-br...@roadrunner.com wrote:
Hello Bret,
I'm doing email testing on our web based monitoring cards.
Currently using a tweaked version of the Python mock
SMTP server -
As I mentioned in a previous message, I'm trying to model my
application to enforce code reuse in my scripts. I think I've managed
to find a way around the answer for my previous question, but I'm
having a difficult time subclassing the Watir::Table class.
If I try the following:
require watir
The most likely situation is that you're behind a proxy server:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIgeminstallWatirbehindaproxyserver%3F
Charley Baker
blog: http://blog.charleybaker.org/
Lead Developer, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct
On Mon, Aug 10,
On Mon, Aug 10, 2009 at 4:46 PM, Bret Pettichordbpettich...@gmail.com wrote:
They are updated to 1.6.2. Why do you say they aren't updated?
Bret
As a side note, It's pretty easy to get docs auto-generated on GitHub:
http://docs.github.com/
http://rdoc.info/
I just took a quick look at the Watir code (latest from trunk). I see
an include? method but not an includes? method.
Bret
On Aug 5, 9:32 am, Burdette Lamar burdettela...@yahoo.com wrote:
I’ve been having a lot of trouble with stuff that Javascript builds in
the DOM after the complete HTML
Can you show us what you tried?
On Aug 10, 9:07 am, Jim Evans jim.ev...@numarasoftware.com wrote:
I have a web application that I'm trying to create a model of in
Watir, to encourage code reuse in the scripts, and I've hit a little
snag. I have a table on the main page of the application, the
Add this line to your script:
require 'watir/ie'
Bret
On Aug 10, 1:03 pm, Jim Evans jim.ev...@numarasoftware.com wrote:
As I mentioned in a previous message, I'm trying to model my
application to enforce code reuse in my scripts. I think I've managed
to find a way around the answer for my
Hi, anyone here knows how to run multiple scripts at the same time? I
wanted run for example 2 different scripts concurrently,
Thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
You can do this in ruby with threads (http://ruby-doc.org/core/classes/
Thread.html) although you need to be very careful that the two threads
don't interfere.
-Dylan
On Aug 10, 7:44 pm, Marlon marlonmoja...@gmail.com wrote:
Hi, anyone here knows how to run multiple scripts at the same time? I
for example:
require 'thread'
require 'watir'
class search
def test_google
ie = Watir::IE.start('http://www.google.com')
ie.text_field(:name, q).set(pickaxe)
ie.button(:value, Google Search).click
ie.close
end
def test_yahoo
ie =
22 matches
Mail list logo