I think so. Method ie.file_field(:id, '').set(file_path) does not work
correctly.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5766&messageID=16739#16739
___
Wt
1. you can get a table instance by table id or table index, like table =
$ie.table(:index, 3).
2. you can get the cell instance by cell = table[1][1], this is the cell
located at first column, first row.
-
Posted via Jive Forums
Hi everyone
In my application I want to assert on the color of the row of a particular
table.
Based on the certain rules the color of these rows are changing.so every
time i need to assert on those .
The color is defined in html
Thank you in advance
__
Hi san,
Try the following with watir 1.4
ie.file_field(:name, "file1").set("\"c:\\Program Files\\input.txt\"")
Try appending double quotes to the name of the file.
Regards,
Angrez
On 1/3/07, san <[EMAIL PROTECTED]> wrote:
I'm with watir 1.4 & May Be Thats The Reason That ie.file_field(
I'm with watir 1.4 & May Be Thats The Reason That ie.file_field(:name,
"file1").set("c:\\Program Files\\input.txt") Is Not Working For Me... Ok Let Me
Try 1.5 & Hope It Will Be Fine...
-
Posted via Jive Forums
http://forums.o
Happy New Year!
I have a question that concerns dynamically generated html tags and how to
reference them. In a specific frame, a certain operation creates a new object.
This object was given a name by my automation tool to make it unique and
recognizable by my tool.
I can reference the object
It did work, thank you very much.
Galina.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charley Baker
Sent: Tuesday, December 26, 2006 1:29 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Problem with Autoit?
Does it still fail if you ma
Hey Nathan,
Would you like to add this to the FAQs or the general Watir documentation?
-Charley
On 1/2/07, Nathan <[EMAIL PROTECTED]> wrote:
So I will assume that you are talking about a menu that when your cursor
is over it, the menu drops down or appears, and then you can click on a
link, i
Wow, well I'd simply try doing the same thing as you are doing, but if you're
trying to click on something that has for its tag, then use
ie.image(...) and not ie.button(...). ie.button(...) would be used if you were
clicking on soomething with the tag .
Natha
Sure, the FAQ is on a wiki with global rights. Anyone can add to the FAQs.
-c
On 1/2/07, Cain, Mark <[EMAIL PROTECTED]> wrote:
Do I have access to edit the FAQ page? I have a login.
*--Mark*
--
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf
So I will assume that you are talking about a menu that when your cursor is
over it, the menu drops down or appears, and then you can click on a link, is
this correct? Here is a brief code snippet from one of my scripts. I will
explain it in detail.
$objWatirBrowser.image(:id, "menu_SearchInv
Do I have access to edit the FAQ page? I have a login.
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charley Baker
Sent: Tuesday, January 02, 2007 2:38 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Give a solution fo j
I've done it in two ways. Call ie.goto on the link that the menu item points
to, kind of cheating, but it works for testing one of my apps. The other
option is to fire a javascript event which generally brings up a hidden div
or something of the like.
ie.link(..).fire_event('onClick')
ie.link(..)
Mark,
You mind posting that to the FAQ site? Definitely an FAQ and then you or
anyone can send out the url.
-Charley
On 1/2/07, Cain, Mark <[EMAIL PROTECTED]> wrote:
I have posted this many time, it is the most reliable JS popup method I
have every used. It will even work for the input bo
Change this line from:
c = "start ruby #{shortName}\\watir\\clickJSDialog.rb #{button}
#{waitTime} "
to:
c = "start rubyw #{shortName}\\watir\\clickJSDialog.rb #{button}
#{waitTime} "
--Mark
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
I have posted this many time, it is the most reliable JS popup method I
have every used. It will even work for the input box (by supplying the
user_input="whatever the user would input") and file upload dialog (by
supplying user_input='&Save' or '&Open'). It is better and more
reliable than the
Hello,
Anyone handled javascript menu's using watir ??.. I'm sort of stuck at this
point, I need to click on a javascipt drop down menu, but not able to click
on the menu. Any ideas ?
Balu
___
Wtr-general mailing list
Wtr-general@rubyforge.org
h
Woud you post the html for the image?
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5867&messageID=16714#16714
___
Wtr-general mailing list
Wtr-general@rubyforge.
I have found Autoit a little flaky. You can use what is already built
into Watir. Here is a method I wrote to handle most of my popup needs..
You will need to use the newest gem if Watir (get it here
http://wiki.openqa.org/display/WTR/Development+Builds) :
require 'watir\contrib\enable
For some reason when I run my program with a *.rbw extension (its a GUI
app) the watir parts do not seem to execute. Watir never opens an IE
window and just hangs indefinitely. When I run the same program with the
*.rb extension it works just fine. Does anyone have any idea why this
may be?
th
> But I don't konw how to set up the test-report in
> Windows.
> Copy them into ruby's "lib" directory directly?
No, use the setup.rb and read the readme
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5943&
Is colour defined in html or css?
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general