Re: [Wtr-general] Excel Or Text File?

2006-12-05 Thread John Lolis
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. ---

[Wtr-general] Windows Vista / IE 7 "RPC Server is Unavailable"

2006-12-05 Thread Lisa Crispin
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

Re: [Wtr-general] "abnormal program termination" error message while playing back a script

2006-12-05 Thread Danny R. Faught
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

Re: [Wtr-general] Excel Or Text File?

2006-12-05 Thread Charley Baker
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

Re: [Wtr-general] "abnormal program termination" error message while playing back a script

2006-12-05 Thread Ċ½eljko Filipin
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

Re: [Wtr-general] "abnormal program termination" error message while playing back a script

2006-12-05 Thread vijay
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.

[Wtr-general] Excel Or Text File?

2006-12-05 Thread Fletch
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

Re: [Wtr-general] I want to use Watir to test Firefox and Safari

2006-12-05 Thread George
>> 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 __

[Wtr-general] Click on a pixel location

2006-12-05 Thread Ankur Gupta
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