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 click_no_wait in
Hi,
I am using firewatir 1.6.2.
If we consider this html code:
tr
td class=bodyCopyBlackLarge width=60 align=rightDownload /td
td width=40 align=left
select class=pullDownMenu name=fileFormate
option value=1value 1/option
option value=2value 2 /option
option value=3value 3/option
option
If you want to use the value, I think you should be doing:
ff.select_list(:name, 'fileFormate').select_value('3')
Or if you want to use the description (value 3), try this:
ff.select_list(:name, 'fileFormate').select(/value 3/)
Regards,
John
Le jeudi 06 août de l'année 2009, vers 01 heures et 14 minutes, John
Kolokotronis écrivait:
If you want to use the value, I think you should be doing:
ff.select_list(:name, 'fileFormate').select_value('3')
Yes, that works fine.
Thank you
--
Alexandre Delanoë
Yes that is right!
I realized that PopupA and popup B were invoked using internal propritory
language
So I don't think that can be automated
I managed to click OK on the popup that opens with new browser using the
following
def check_for_popups
autoit =
Hi
Has anyone ever used FireWatir and Safari Watir here?
Does these two flavours of watir support all kinds of elements. Is there any
method element supported list for them available like we have for watir.
Anyone here, please update..
Thanks
Pallavi
Hi Wesley,
I have tried by replacing @ with $, but i doesn't made any difference to
final output.
By using @@, it gives error 'uninitalised class variable'
Is there any solution for this?
Thanks,
On Thu, Aug 6, 2009 at 3:00 PM, Wesley Chen cjq@gmail.com wrote:
Don't use @, instead, please
was checked by ESET NOD32 Antivirus.
http://www.eset.com
__ Information from ESET NOD32 Antivirus, version of virus
signature database 4312 (20090806) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__ Information from ESET NOD32
Good job, Jari.
Does it work with Watir 1.6.1 or 1.6.2?
From: Jari Bakken jari.bak...@gmail.com
To: watir-general@googlegroups.com
Sent: Wednesday, August 5, 2009 3:51:55 PM
Subject: [wtr-general] Re: Watir on Ruby 1.9.1
I figured out the WIN32OLE issue - all
This sounds like more a fundamental Ruby issue than anything. I'm not
sure how your first assert statement would work since you're calling a
local 'browser' variable within your method.
Try this out:
##
require 'watir'
require 'watir/testcase'
class VerifyTest
On Thu, Aug 6, 2009 at 5:36 PM, Michael Hwee michael_h...@yahoo.com wrote:
Good job, Jari.
Does it work with Watir 1.6.1 or 1.6.2?
Nope. At the moment you need my ruby191 branch from GitHub:
http://github.com/jarib/watir/tree/ruby191
I'll make sure it get merged to master before the next
This is a good one too!
http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups
On Aug 5, 11:49 pm, Angrez Singh ang...@gmail.com wrote:
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
I am testing Watir on our Test website that requires you to choose a
digital certificate before proceeding to the main login page.
If I invoke IE7 and enter our test server link it displays the pop up
window Choose a digital certificate.
But if I use watir
require 'watir'
require 'watir/ie'
#
13 matches
Mail list logo