have you downloaded the chromdriver and put it on your path
http://watirwebdriver.com/chrome/
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
Thank you very much for your reply, Alister.
I am using watir-webdriver, so still do I need to download Chrome driver? I
think, watir -webdriver support Chrome, FF and IE.
Thanks,
On Tue, Aug 30, 2011 at 12:03 PM, Alister Scott alister.sc...@gmail.comwrote:
have you downloaded the
Yes, but why are you trying to click on a link inside of the button?
Should't you just click on the button itself? And isn't it already present
at this stage, e.g. shouldn't ie.button(:src, /btn_continue.png/).click just
work?
Jarmo
On Tue, Aug 30, 2011 at 1:03 AM, M mo10soc...@gmail.com wrote:
Hi Amit,
You need to download the chrome driver and put it on your PATH.
On Tue, Aug 30, 2011 at 5:15 PM, Amit Bobade amit.sr...@gmail.com wrote:
Thank you very much for your reply, Alister.
I am using watir-webdriver, so still do I need to download Chrome driver? I
think, watir -webdriver
Okay..Thank you four great help Yuping and Alister.
Thanks,
-Amit
On Tue, Aug 30, 2011 at 3:33 PM, Yuping Zhong littlezhong...@gmail.comwrote:
Hi Amit,
You need to download the chrome driver and put it on your PATH.
On Tue, Aug 30, 2011 at 5:15 PM, Amit Bobade amit.sr...@gmail.com
Is there a way to make Watir code to wait for user's click event??
I would like to run the Watir code.. and while it is running, wait
till the user click a link on the web page..
If the user click a link on the page, and then the code go to next
step...
How would it be possible to do this??
This thread may answer your question:
http://bit.ly/nW5Acu
On Aug 29, 6:52 pm, byung jinuacad...@gmail.com wrote:
is there a way to check whether a new page has been loaded in WATIR??
could anyone tell me a way to check new page load in WATIR??
thanks.
--
Before posting, please read
I made below code:
require 'watir'
ie = Watir::IE.start(www.testsite.com)
file = File.open(c:/test.txt, a)
while(ie.status != Done) do
file.puts ie.url()
end
file.close
and I got below error message:
'method_missing'; statusText WIN32OLERuntimeError
On Aug 30, 10:22 am,
How would you manually assert that the page has been loaded? If you are waiting
for something on a loaded page, make an assertion on that element.
What are your reasons to know that the page has been loaded?
On 30 Aug 2011, at 18:37, byung wrote:
I made below code:
require 'watir'
ie =
Rahul makes good points
I usually fingerprint my page looking for unique items using .include?
and .exists?
Looks like your trying to look for the dom page attribute readyState
See http://www.w3schools.com/jsref/prop_doc_readystate.asp
On Aug 30, 1:51 pm, Rahul Sharma rahulsharma@gmail.com
I come across below code..
while(ie.status! = Done) do
sleep(1)
end
Can anybody tell me what the meaning of ..
-
ie.status! = Done
-
means??
I do not understand
I do not understand what role ! mark does in the code..
!= is the negated form of the == operator. Take a look at Table
7.1 : Common comparison operators on
http://phrogz.net/programmingruby/tut_expressions.html#expressions.
orde
On Aug 30, 12:54 pm, byung jinuacad...@gmail.com wrote:
I come
Not sure why you want manual stops but consider this:
def method_messagebox(txt,title,buttons)
On Aug 30, 11:54 am, byung jinuacad...@gmail.com wrote:
Is there a way to make Watir code to wait for user's click event??
I would like to run the Watir code.. and while it is running, wait
till
Ok... fat fingers so I continue
Consider this:
It will popup and OK msgbox
require 'dl'
def method_messagebox(txt,title,buttons)
puts ' * method_messagebox'
user32 = DL.dlopen('user32')
msgbox = user32[ 'MessageBoxA', 'ILLSI' ]
r, rs = msgbox.call(0,txt,title,buttons)
return r
end
#
Would like to know why you would want to wait between steps in your automated
tests as when they will run, who will click on these links when they run on a
daily basis.
I haven't tried this myself but give it a try to see what it does:
wait_until{browser.button(:id = 'button').click}
On 30
Its a typo in your context
!= means is not equal to, You see notation everywhere except
maybe excel and legacy languages where its
On Aug 30, 2:54 pm, byung jinuacad...@gmail.com wrote:
I come across below code..
while(ie.status! = Done) do
sleep(1)
end
Can anybody tell me
I have a search table that returns 3 columns and N rows
the colums contain a link, a city/state and a distance
I know the link and can easily validate it using .include? and .exist?
Is there a method, that could return table row the link is in so i can
check the content of the associated columns
in the call statement the
First value is an integer it should be Zero
Second Value is a string
Third Value is a string
Fourth value is an integer in the sample its a Zero
check your inputs
On Aug 30, 3:51 pm, byung jinuacad...@gmail.com wrote:
i get below error..
in 'call': can't convert
I put below code..
def method_messagebox(txt,title,buttons)
puts ' * method_messagebox'
user32 = DL.dlopen('user32')
msgbox = user32[ 'MessageBoxA', 'ILLSI' ]
r, rs = msgbox.call(0,txt,title,0)
return r
end
response = method_messagebox('Script is waiting for user to click
OK','Manual
Hi,
I have installed watir and ruby 1.8.7 as suggested watir.com. I see
some solutions implemented with latest ruby 1.9.2 and watir. is it
possible to run watir with latest ruby? how?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
This is a discussion on *Watir general question - RUBY* ; hi everyone it was
really difficult to find a watir forum at all, so i hope i can find some
help in here anyway. is there a way of veryfying that an IE spawned browser
window exists? from what i ...
For more details:
Hi folks,
Please welcome the newest user of watir! I just heard about watir when
searching for web automation, and after reading some how-to articles, I
was quite excited with my first script running below (run fine in ubuntu
x86, havent tried in mac or windows yet):
CODE START
I'm trying to retrieve the text from within the aanchor tags from
the
html shown below. i'm running firewatir on Windows Xp and have the
jssh
plugin installed.
a onblur=webFXTreeHandler.blur(this);
onfocus=webFXTreeHandler.focus(this); id=cwc_menu_local:ROOT.Find a
Request-anchor onclick=var
you can't use a click on a non visible element.
tru
element.fire_event onclick
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
try
element.fire_event onclick
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
I don't know about the latest ruby, but it definitely runs with 1.9.2p180. To
keep things simple, uninstall 1.8.7 (especially if you're on windows), and
install the desired version of ruby. From there you can install watir the same
way you did for previous versions.
gem update --system
gem
26 matches
Mail list logo