Hi Zeljko,
It worked. Thanks a lot. Now I'm happy again :)
Claudiu
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I am having a weird issue. I hope someone can clear it up... this was
never a problem before.
Sometimes I have need to start up Watir from the command line. So when
I start IRB from c:\, then require 'watir', everything works fine.
(Ruby and gems are installed under c:\ruby).
But now, if I
Hi,
I need to verify the Frame title and Content inside the frame. I tried by using
this code
require 'watir'
include Watir
require 'test/unit'
class TC_title Test::Unit::TestCase
def test_title
ie = IE.new
ie.goto(https://login.aspx')
ie.link(:url,
On 7/10/07, Paul Rogers [EMAIL PROTECTED] wrote:
ie.status
I did not know this exists. This is so wiki page material.
http://wiki.openqa.org/display/WTR/How+To
Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
you dont need this line:
ie = Watir::IE.attach(:url, https///FaqPage.aspx'/FaqPage.aspx')
or if its a new window, use a different name, it will help understanding
Which is line 10?
I dont think frames have titles - where would you see it?
try just
ie.title
to get the title of the
What would you suggest for running mutiple threads, BUT each thread using
different variables. I've 'stolen' the following code from Brett (thanks!)
which does exactly as expected, BUT how would I, for instance, search for a
different value (instead of 'pickaxe') in each thread?
require
Ahhh... maybe, just MAYBE, I should try something before I give up and post.
This appeared to work:
require 'thread'
require 'watir'
@var1='pickaxe'
@var2='axepick'
@var3='pckexai'
def test_google(varvar)
ie = Watir::IE.start('http://www.google.com')
ie.text_field(:name,
Must be a cleaner way?
Yes - an array - you'll figure it out ;-)
- Original Message -
From: Jason [EMAIL PROTECTED]
Date: Wednesday, July 11, 2007 9:37 am
Subject: Re: [Wtr-general] Concurrent Threads and different variables in
each thread
To: wtr-general@rubyforge.org
A quick check will tell you if it's a modal dialog. Open ie to the page that
launches the dialog. Open irb in a command window. In irb type:
require 'watir'
ie = Watir::IE.attach(:title, /some part of the ie title/)
Launch the dialog. Back in irb type:
puts ie.modal_dialog.title
If you get a
Yes - an array - you'll figure it out ;-)
Nice. Appreciate your confidence.
Appears to do the trick:
threads = []
@varvar.each do |searchterm|
threads Thread.new {test_google(searchterm)}
end
threads.each {|x| x.join}
___
Wtr-general mailing
It seems like I am having troubles with Ruby v1.8.5 and the modal_dialog
support. Should I roll back to 1.8.2-14? I was reading a post by Bret the
other day saying that there may be issues with newer versions of Ruby.
I am using:
ruby 1.8.5 (2006-12-25 patchlevel 12) [i386-mswin32]
watir
yes, modal dialogs are only supported using that particular version
- Original Message -
From: Matt Berney [EMAIL PROTECTED]
Date: Wednesday, July 11, 2007 11:09 am
Subject: Re: [Wtr-general] Selecting controls in a dialog box
To: wtr-general@rubyforge.org
It seems like I am having
No way!!! It works!!!
Uninstalling 1.8.5 and installing 1.8.2-15 worked like a champ!!!
This required installing gem watir-1192 as well as installing gem win32-process.
But other than that, it works just as advertised...
ie = Watir::IE.attach(:url,/ticket.aspx/)
ie.button(:name,button).click ==
Hi
First all let me have the privilege of starting the very first
discussion here at Google groups :). i am working with Crestech
Software Systems and we are trying to build a keyword driven framework
around Watir.
I am trying to write a function to create an Object repository.. I
need some
Hi all,
Please tell me how to click a column of a row of a web page.
Regards
shalini Gupta
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi, I've build a simple framework around TestObject modelling at one
company.
I am in the middle of specifying and building something like that again.
It's much easier second time around.
What I've found out is that it is useful to model Business Domain Objects
with Ruby classes by building some
if you don't join the threads the execution will stop when program exists.
On 7/11/07, Jason [EMAIL PROTECTED] wrote:
Ahhh... maybe, just MAYBE, I should try something before I give up and
post.
This appeared to work:
require 'thread'
require 'watir'
@var1='pickaxe'
@var2='axepick'
17 matches
Mail list logo