If these are just a couple of simple constants why not make it a ruby file?
require a file somewhere in your scripts and do something like
$name = 'name'
$password = 'password'
$url = 'url'
its easy to figure out, and no need to parse anything.
---
Hi,
I've searched the mailing list for this error but I'm not finding much that
helps me. Admittedly, I am over my head with this.
We have customers using IE7 so we'd like to run Watir tests on IE7. We set
up a machine with Windows Vista and IE7 (Why Windows Vista? Just because it
was there, I
On 12/5/2006, "vijay" <[EMAIL PROTECTED]> wrote:
>Thanks Charley for your info. Now I have installed Ruby 1.82 (from the
>RubyForge site) after uninstalling Ruby 1.85.
Thanks from me too. I'm now running Watir with Ruby 1.8.2 on XP
Embedded, and showing how much slower this supposed "thin client
Here's an excellent page on scripting Excel through Ruby:
http://wiki.rubygarden.org/Ruby/page/show/ScriptingExcel
You could have a column with your constants and the next column over be the
values and iterate through the rows assigning those to a constant Hash or
something of the sort. There are
On 12/5/06, vijay <[EMAIL PROTECTED]> wrote:
Can you guide me on how to install 1127 gem over Ruby 1.82?
Download watir gem to any folder. Open command prompt and go to that folder.
Type
gem install watir
Make sure that gem name is watir-1.5.1.1127.gem (not
watir-1[1].5.1.1127.gem).
--
Zelj
Thanks Charley for your info. Now I have installed Ruby 1.82 (from the
RubyForge site) after uninstalling Ruby 1.85. But now I am unable to install a
watir gem. With Ruby 1.85, I would go to the directory where the gem (say
1.5.1.1127) was downloaded and type "gem install watir-1[1].5.1.1127.
Hello Again,
I have currently got a WATIR Script running, and use a text file to hold all
the constants.
However I have had a request to change this text file to a Spreadsheet - does
it make sense to use a spreadsheet to hold all the constants? From what I have
seen, I would have to call the ce
>> Or Firefox is blocking the pop up.
Thanks Angrez, that was my problem. All the tests pass now.
George
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5549&messageID=15657#15657
__
Using watir is it possible to click on a location that can be specified with x
and y coordinate (pixels)
I am trying to automate JD Edwards screens using Watir, i am stuck at a portion
where the object is not being identified. The textbox which i have to type also
cant be reached by using Keybo