[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 Keyboard Tab.

Any other workarounds?
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5614messageID=15651#15651
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


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=5549messageID=15657#15657
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


[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 cell directly, rather than being able to give 
the field a proper and relevant name.

Thanks for any advice you can give me,

PMF.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5619messageID=15669#15669
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


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.gem 
(watir-1[1].5.1.1127.gem is the name of the gem file) to install the gem.  But 
now, when I try to install the 1127 gem in the same way, I get an error message 
saying, watir-1[1].5.1.1127.gem.  Is this not the way that a watir gem should 
be installed over Ruby 1.82? Can you guide me on how to install 1127 gem over 
Ruby 1.82?

Many thanks,
Vijay.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5509messageID=15673#15673
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


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).
--
Zeljko Filipin
zeljkofilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

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
application is on slow hardware.  :-)  Who needs a load test tool when a
single user already can't get good performance.

-Danny
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


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.
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5619messageID=15692#15692
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general