More useful
File.join($drive,env,Test_Results,#{$file_name}_Results.xls )
On 17 дек, 00:20, Darin Duphorn dduph...@redbrickhealth.com wrote:
Try \\
$drive+\\+env+\\Test_Results\\+$file_name+_Results.xls
-Original Message-
From: watir-general@googlegroups.com
Hi al3kc,
THANK YOU very much. Your code snippet worked great the very first
time. I just had to modify it a little for my use, but worked just
fine.
I was having another question regarding the file download popup and
was wondering if you could help with some advice.
How to handle the radio
I discovered that my problem was that I had a newline character at the end of
each array element. Once I removed the character, it worked fine. Thanks for
your help.
- Shelton Date: Wed, 17 Dec 2008 10:02:11 -0600 From: b...@pettichord.com
To: watir-general@googlegroups.com Subject:
I tried, even change the security of IE to Low, but the click_no_wait
still cannot click the button.
Now I just want to know what's the problem. Is it my IE's problem or
Ruby's problem?
On Dec 17, 11:53 am, Michael Hwee michael_h...@yahoo.com wrote:
Come and think of that, have you ever got
Hi,
I use next code and it works for me
@ai = WIN32OLE.new(AutoItX3.Control)
@ai.WinWaitActive([REGEXPTITLE:Opening])
@ai.Send({ENTER})
@ai.WinWait(Enter name of file to save to…, , 5)
@ai.WinActivate(Enter name of file to save to…)
sleep(7)
I have tried both proposed methods, and I am getting the same 'File not found'
error. It seems that Ruby has a problem with using variables in certain
scenarios. Previously, I was passing a parameter to a class named 'Test' with
a function in it named 'go'. This is the syntax that I used,
Have you tried th.click ? It is a standard tag, so it doesn't seem logical
that th wouldn't be supported by Watir, but I could be wrong.
On Wed, Dec 17, 2008 at 1:11 PM, maven999 maven...@gmail.com wrote:
Hi,
I have a dojo grid that I want to sort by column. The grid has 2
header cells
I use the following line to locate the cell:
$ie.div(:id, 'dbGrid').div(:class, 'dojoxGrid-master-header').table
(:class, 'dojoxGrid-row-table').th(:text, 'stat_name').click
I get the following error on console:
1) Error:
test_Statistics(TC_UI):
NoMethodError: undefined method `th' for
If you are interested in training on Watir, including the new
framework that is in the works, WatirCraft is offering a two-day
public class in Austin March 25-26, 2009. Private on-site training
is also available. http://www.watircraft.com/watir-training/
Apologies if the commercial nature of
I used to have the same problem, then I uninstalled my Ruby and Watir, then
installed them again and the problem got fixed.
You may want to try that too, use admin account to install Ruby (v.1.8.6-26),
then install Watir, good luck!
-Original Message-
From:
Hi Vivek,
Yes you can call javascript functions from watir -
The method is execScript, you can call any javascript method or
variable available in the webpage.
eg:
ienw = Watir::IE.new
ienw.document.parentWindow.execScript(alert(\hi\))
Firewatir too has a method to execute javascript calls -
11 matches
Mail list logo