.Dialog("title:=Security
Alert").Button("index:=1").click
Hope this help, try it out…
I guess latest Watir have support for this
kind of popup too, but I’m not sure because I couldn’t upgrade to
1.5 yet.
Cheers!
Rodrigo Julian Martin
From:
[EMAIL PROTEC
Yeah daniel, that worked really well.. Then I realized I could use the
OR .. O_O
Cheers and thanks again
-Original Message-
What about somehting like:
if (browser.link(:url, /#{regExp1}.*#{regExp2}/).exists? ||
browser.link(:url, /#{regExp2}.*#{regExp1}/).exists?)
...
end
Cheers,
Da
Thanks Ravi,
it worked! But I’m having another problem right now… the RegExp1
and RegExp2 could appear in any order in the links… I guess the sentence
you sent me only works if regExp1 ocurrence is Before regExp2 right?
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
like an AND of regexps).
Hope you understand my bad english
Any help would be really appreciated
Thanks in advance
Rodrigo Julian Martin.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/
Thank you so much Ravishankar!
<>___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hello!
I need to find and click a link with an specific
url, which depends of an item id number:
itemId="22053541"
$browser.link(:url,
/sell?act=categ&subAct=similarItem&siteID=MLA&itemID=#{itemId}/).click
When i run this, watir shows me:
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1939:i
ould really appreciate
any help…
Thanks in Advance!
Rodrigo Julian Martin
> If all you want to do is
verify how long it took to load a page, you can do this:
>
ie.link(:name, "foo").click
> assert(
ie.down_load_time < 10)
> I have actually
been
Thanks for all your replies…
The Chris McMahon answer doesn’t fit
exactly with what I’m trying to do, but maybe is a good approach…
Bret, with the assert sentence, can I say
something like… If assert fails, do some code?
John, I can’t understand your code,
I guess I’m too newbie
test if a page
has been loaded correctly after clicking a link, maybe there’s a easier
form of checking this..
Thanks in Advance!
Rodrigo Julian Martin
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo
type “file”
with id “newFile1” in order to click it with a click_no_wait? (because
this triggers a Modal Popup)
Thanks in Advance!
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Martes, 23 de Mayo
Hi Bret, sorry for the lack of info.. I’m
using 1.4.1
Rodrigo
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Martes, 23 de Mayo de 2006
05:22 p.m.
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general]
[question] Accesing images?
doesn’t….
Any help would be really appreciated..
Thanks in Advance!
Rodrigo Julian Martin
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Lonny Eachus
Sent: Lunes, 22 de Mayo de 2006
08:11 p.m.
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general]
[question]
with this..
If I’ve missed some info please let me know
Rodrigo Julian Martin
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Oh, sorry.. The snapshots are supposed to go with an earlier
post I’ve sent. But that post is still waiting moderation, because it’s
a little bigger than 40K.
Sorry Again
Rodrigo Julian Martin
___
Wtr-general mailing list
Wtr
And here is the snapshot of that 6 Images…
Thanks!
Rodrigo Julian Martin
<>
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hello!
I guess that the last time I’ve runned
mozilla_all_tests took me 2 hours more or less…
Cheers!
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gege qian
Sent: Lunes, 22 de Mayo de 2006
11:31 a.m.
To: wtr-general@rubyforge.org
Subject: [Wtr-general]
"'
onmouseup='this.className="buttxt"'> No Acepto
Any help would be really appreciated!
Thanks in advance
Rodrigo Julian Martin
<>___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Thanks for the aswer Brett! I'd always thought that single quotes prevented
variable expansion too...
Cheers!
Rodrigo Julian Martin
Bret Pettichord wrote:
> Why did you change the inner quotes on the second try? This should work:
>
> ie.select_list(:xpath, "//[EMAIL PR
Hello! Sorry if the subject is not sufficiently
clear...
I have this sentence:
ie.select_list(:xpath, "//[EMAIL PROTECTED]'missing']")
How can I pass a string variable for the name?
I've tried with this, but didn´t
work...
ie.select_list(:xpath, "//[EMAIL PROTECTED]"#{variable}"]")
I
-general] [question] Accesing CHECKED propertie
forCheckboxes?
isSet? is the method you are looking for -- it'll tell you if a radiobox
or
checkbox is 'checked'.
-andy
Original Message Follows
From: "Rodrigo Julian Martin" <[EMAIL PROTECTED]>
Reply-T
ted with exit code 1.
Anyway, do you think this could reduce the processing time?
Should I touch Watir.rb in order to see this CHECKED propertie?
Thanks in Advance
Cheers, Rodrigo Julian Martin
___
Wtr-general mailing list
Wtr-general@rubyforge.org
heers!
Rodrigo Julian Martin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Castellucci
Sent: Martes, 09 de Mayo de 2006 04:22 p.m.
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] [question] access denied OLE error code:80070005
&
ng something wrong? My watir
version is 1.4.1
Thanks for your patience!
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Martes, 09 de Mayo de 2006
03:26 p.m.
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] [question]
ac
Great! You’re welcome, thanks to you for
the help..
One question Brett.. where should I put
that code? On my script source or in Watir.rb?
Thanks in Advance
Rodrigo Julian Martin
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Bret Pettichord
Sent
page that contains that banner… The weird
thing is that here @ work it doesn’t showup, but in the customer
environments yes…
I will try with your suggestions Brett,
thank you so much!
Cheers
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pett
This banner that throws the error is an iframe...
Could that be the problem?
cheers
Rodrigo Martín
De: Rodrigo Julian
MartinEnviado el: Lun 08/05/2006 04:00 p.m.Para:
wtr-general@rubyforge.orgAsunto: [question] access denied OLE error
code:80070005
Hello everybody!
When watir doe
Hello everybody!
When watir does a .wait for a page, it throws me
the following error:
xecuting 'ruby -C "C:/Documents and Settings/testing/Desktop/[Desarrollo]
Ensamble de Circuitos 08-05-2006"
"ML_Circuito.rb"'c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2389:in
`method_missing': document (WIN
cument.all.BODY
Thanks in advance.. Cheers!
Rodrigo Julian Martin.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi all!
As some of you may remember, I was the guy freaked out with
modal popups… I’ve sent a couple of messages to the list, and
finally Praveen Kumar Kammitta [EMAIL PROTECTED] suggest me to use WET.
Well, it really worked out and pretty fine!
This is how I finally managed this:
Hello!
I’m developing a test for a web page, and I’ve
found a .gif image which acts as a menu, mapped by coordinates… Is there
a way of telling watir to .Click by coordinates?
The file uses the folowing map:
Thanks in Advance!
By the way, I’m still fighting
ficate selection...", and this popup still appears...
Can you tell me more or less what i have to set in order this popups doesn't
appear?
Thank you so much for the response..
Cheers
Rodrigo Julian Martin
De: [EMAIL PROTECTED] en nombre de Bret Petti
Hello everybody, i´m having a terrible headache with the
Security Alert Dialogs that appears in my tests...
I´ve already tried the WinHelper, WinSecurity
thread in Watir 1.41 and that doesn´t work at all..
Today i´ve downloaded the development version of
Watir 1.5 (which I guess it fix this m
ike it would work)
On 4/18/06 3:27 PM, "Rodrigo Julian Martin"
<[EMAIL PROTECTED]> wrote:
Hello Keith!
Thanks for the quick answer, but I’m afraid that this is not what
I’m looking for…
I have written a function which search objects from a page, passing a propertie
and a value as
ailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Julian Martin
Sent: April 18, 2006 4:27 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Method
Names as variables?
Hello Keith!
Thanks for the quick answer, but I’m
afraid that this is not what I’m looking for…
I have written a function
e”,”button”)
I hope the question is more clear
now…
How can I write this properly? à
todosdocs[i.to_s].”#{propertie}=="#{value}" ,
In order that the propertie could be
defined by a parameter?
Thank you so much for your time…
Cheers
Rodrigo Julian Martin
From: Kei
call to a hash…
Any help would be really appreciated…
Thanks in Advance!
Rodrigo Julian Martin
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Thank you so much Mark! I’ll try the
code as soon as I can… Too much work here :S
Cheers!
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cain, Mark
Sent: Martes, 18 de Abril de 2006
02:53 p.m.
To: wtr-general@rubyforge.org
Subject: Re
Pierre, the link is broken I guess, or the page is overloaded.. I’ll
take a look whenever I can, thanks!
Cheers
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierre Garigue
Sent: Martes, 18 de Abril de 2006
11:54 a.m.
To: wtr-general
way?
Thank you so much for your help!
Cheers
Rodrigo Julian Martin.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Thanks again Zeljko, I was reading the
poignant guide and the Pragmatic guide but I’m relatively new to OO
programming.. I was having a mess with Classes =(. Your method worked really
fine, without classes!
And thanks for the link, I’ll test it!
Cheers
Rodrigo Julian Martin
passing
parameters to it?
2) Where can I download
Watir 1.5? I really need the Modal Dialogs support..
Thanks in Advance!
Cheers
Rodrigo Julian Martin.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org
Thank you Robert but the code for _javascript_ Modal Windows
doesn't work here...
I still can't get rid of this
security alert...
In fact, with this code...
[code]
require 'watir'include Watirrequire 'WindowHelper'
t = Thread.new(){ puts "Started thread for win
helper"
system('winHelp
Hello everybody! I´m trying to get ride of an Windows
Security Alert... I was reading the faq and found the following
code:
[code]
require 'watir'include Watirrequire 'watir/windowhelper'
t = Thread.new(){ puts "Started thread for win
helper" system('winHelper_security.rb')}
ie=IE.new()m
Thank you so much Robert! That´s exactly what i needed!
I will research more on win32ole...
Thanks again!
Rodrigo Julian Martin
De: [EMAIL PROTECTED] en nombre de Robert Gilmore
Enviado el: Lun 10/04/2006 01:31 a.m.
Para: wtr-general@rubyforge.org
Asunto: Re
Hi!
I'm trying to make a code for killing all running
processes that i need to close.
I've this function for
_javascript_:
[code]
function
KillProcess(PName){ var Count = 0; var p =
Sys.WaitProcess(PName, 1000, 1); while (p.Exists)
{ Count++;
p.Terminate(); while (p.Exists)
Thanks for the info Zelkjo, I will try this tomorrow and let you know
De: [EMAIL PROTECTED] en nombre de Zeljko Filipin
Enviado el: Vie 07/04/2006 10:42 a.m.
Para: wtr-general@rubyforge.org
Asunto: Re: [Wtr-general] Trouble with Frames?
Maybe this will help
htt
Hello All!
I'm doing a test in a web, and watir show me this
error when trying to click a button:
W, [07-Apr-2006 10:14:27#1388] WARN -- : frame error in
waitdocument OLE error code:80070005 in
Access is denied.
HRESULT error
code:0x80020009 Exception
occurred.c:/ruby/li
Bret
I think that your idea is really good. And
will help to keep things organized.
Regards!
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Jueves, 30 de Marzo de 2006
02:30 p.m.
To: wtr-general@rubyforge.org
on or something like that to return the
same as document.all in internet explorer?
Another question, just, in case, is there any way of getting
the html source code of the page loaded in Firefox
Thank you so much
Regards
R
Hi,
Thanks Angrez, its working!
That’s what I’ve missed. I Thought that
using the line “browser = Firefox.new”, I didn’t need to start the browser
manually.
Thank you again!
Regards
Rodrigo Julian Martin
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
:2
Execution completed with exit code 1.
Any help will be really appreciated,
thanks in advance! I guess this has something to do with the –jssh parameter,
Am I Wrong?
Regards
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sen
Thanks Deepa and Brett!
As you said, I will have to construct my
own test suite, based on a Main program which will call the other tests as
functions.
Regards!
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent
Hi all,
I’ve another question… Is there a way to share
variables between several .rb files which are loaded as a Test Suite? e.g. An
array which is loaded in test1.rb and that I want to use in test2.rb.
Thanks in Advance!
Rodrigo Julian Martin
the parameter “-jssh”. With this code you gave me, is no more necessary
to do that?
Thanks for your patience and help
Regards
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angrez Singh
Sent: Martes, 28 de Marzo de 2006
02:04 p.m.
To: wtr-g
e..
Thanks in Advance!
Regards
Rodrigo Julian Martin.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
of their values. I was thinking that I could take
the code of watir.rb, specifically from the def show_all_objects and start there.
I'm a new user of watir and also of ruby, but I guess I
could do it.. Maybe some of you guys have already done it or is in
the way to...
I'll
rloading the
list with this stuff…
One question, the watir.rb that is in the package of
Firewatir is 54Kb, and the watir.rb of the Watir 1.5 is 144Kb. What I do is
overwriting the file… but, is this ok? Only 54Kb?
Again, thanks for your patience…
) Someone is doing
something similar? I’m studying the def show… of watir.rb, just as Chris
McMahon suggest me…
Regards, Rodrigo Julian Martin
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
nHandleMsg'
from C:/watrev940/install.rb:202:in `run'
from C:/watrev940/install.rb:202
Could
it be some issue with my ruby version? [which is 182-15]
I’m
stucked, thanks for your patience!!
Regards
Rodrigo
Julian Martin
_
;
from C:/tempwatir/watir/install.rb:211:in `run'
from C:/tempwatir/watir/install.rb:211
Thanks in Advance!
Regards
Rodrigo Julian Martin
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angrez Singh
Sent: Jueves, 23 de Marzo de 2006
05:22
this problem?
Thanks in advance and thanks for your patience!
Regards
Rodrigo Julian Martin
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
!
Rodrigo Julian Martin.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hello Everybody,
First i will introduce myself, my name is Rodrigo and i'm a
new user of Watir/Ruby, from Argentina.
I'm very excited and amazed with this, it seems that i've
finally find home (i was using TestComplete
and _vbscript_ as tools for Web Testing).
I have some questio
63 matches
Mail list logo