Hi Experts,
I use below code to log the application, some time application hangs
to load, that time test also gets hang and lets to fail.
@ie1 = Watir::IE.new
@ie1.goto $url
@ie1.maximize
@ie1.text_field(:name,txtUserName).set $userid
@ie1.text_field(:name,txtPassword).set
It sounds like you may have encounted a bug in goto that occurred with
an old version of Watir. What version are you using?
Prince3105 wrote:
Hi Experts,
I use below code to log the application, some time application hangs
to load, that time test also gets hang and lets to fail.
@ie1
Richard Lawrence wrote:
Using FireWatir's element_by_xpath on my Mac, I get the expected type
for the element. For example, on the Google home page:
irb(main):008:0 b.element_by_xpath(//*...@name='btnG']).class
submit
= FireWatir::Button
But with Watir (on Windows, of course), I always
I don't think that is true.
click_no_wait() does not wait for the popup.
Need more info on your issue.
From: wesley chen cjq@gmail.com
To: watir-general@googlegroups.com
Sent: Monday, January 12, 2009 12:12:14 AM
Subject: [wtr-general] Re: watir
Try to send F11 by AutoIt
--~--~-~--~~~---~--~~
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
Before posting, please read the following guidelines:
I have a File download popup window looks the same as in
http://wiki.openqa.org/display/WTR/File+Downloads
I wonder if there is a way to check the Name and Type text on this
window.
Any suggestions are appreciated!
Jun
--~--~-~--~~~---~--~~
You received this
AutoIt may be able to do what you want. Check out the WinGetTitle and
WinGetText functions:
http://www.autoitscript.com/autoit3/docs/functions/WinGetTitle.htm
http://www.autoitscript.com/autoit3/docs/functions/WinGetText.htm
There should be some code examples in the wtr-general archives
Rob,
Give the below script a try. It puts 'whatever ' (with trailing
space)
into a text box in this thread and then checks to see if it contains
'whatever' (no trailing space).
***
=begin
Excellent! When I follow your advise and change the setting, both the two
security pop ups are avoided, :),
Really appreciate to you.
Thanks.
Wesley Chen.
On Tue, Jan 13, 2009 at 1:52 AM, Michael Hwee michael_h...@yahoo.comwrote:
Wesley,
Just set the configuration to get rid of it.
Goto:
Actually adding 'require 'rubygems' , solved the above problem but
then I am getting error,
undefined method `frame' for nil:NilClass (NoMethodError) I also
tried to run from irb and got the same error.
$ie.frame(:index, 4).link(:text, 'My').flash
$ie.frame(:index, 4).link(:text, 'My').click
I'm sure there's a way for Watir to do this just like FireWatir. It just
hasn't been done yet, as far as i am aware.
Angrez is the author of both Watir's xpath support as well as FireWatir,
so that is probably why xpath works better with FireWatir than WatirIE.
Angrez, do you have anything to
That means that your $ie variable is nil. Which in turn means that you
haven't successfully started a browser.
You should have a line like:
$ie = Watir::Browser.new
This line starts the browser and connects it to $ie variable for you
to use. The open() method may be used instead, I believe.
12 matches
Mail list logo