[Wtr-general] Let's make a difference

2006-05-22 Thread Sreedhar Kharidehal
I'm doing a little something for the mother earth, and I thought you might like to join me: http://friends.earthscreen.com/?r=gQGEKDIIICdXCWoICigCi=gmail[EMAIL PROTECTED]p=2z=1tc=23 ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] Join my Earthscreen network

2006-05-22 Thread Sreedhar Kharidehal
I'm doing a little something about global warming, I'm inviting my friends to join me: http://friends.earthscreen.com/?r=IRFUKDIIICdXCWoICigCi=gmail[EMAIL PROTECTED]p=1z=1tc=11 ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] link.to_s fails with NoMethodError

2006-05-22 Thread Zeljko Filipin
It looks to me that you have found a bug. Method innertext is notdefined for Watir::Link. If you want it fixed it would be the best tosubmit it to bug database at http://jira.openqa.org/browse/WTR On 5/22/06, Manish Sapariya [EMAIL PROTECTED] wrote: NoMethodError: undefined method `innertext'

[Wtr-general] Making scripts more OO?

2006-05-22 Thread Adrian Rutter
Hi, I am trying to make my test scripts more OO. This is a class and the instantiation snip class Sales def start_browser (url) @ie = Watir::IE.new @ie.goto(url) @ie.maximize() end def login (username, password) @ie.link(:text, 'Log in').click

Re: [Wtr-general] Join my Earthscreen network

2006-05-22 Thread Bret Pettichord
This counts as Spam and is not appropriate for this list.BretOn 5/22/06, Sreedhar Kharidehal [EMAIL PROTECTED] wrote:I'm doing a little something about global warming, I'm inviting my friends to join me:http://friends.earthscreen.com/?r=IRFUKDIIICdXCWoICigCi=gmail[EMAIL PROTECTED]p=1z=1tc=11

[Wtr-general] FireWatir

2006-05-22 Thread gege qian
Hi, Allcould anyone tell how long does it take for running the mozilla_all_tests.rb on firefox? Thanks a lotGegegege qian [EMAIL PROTECTED] wrote:HI: AllI'm trying to use firewatir, but could not make it work. Please give me some help.1)I have download

Re: [Wtr-general] FireWatir

2006-05-22 Thread Rodrigo Julian Martin
Hello! I guess that the last time Ive runned mozilla_all_tests took me 2 hours more or less Cheers! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gege qian Sent: Lunes, 22 de Mayo de 2006 11:31 a.m. To: wtr-general@rubyforge.org Subject: [Wtr-general]

Re: [Wtr-general] Making scripts more OO?

2006-05-22 Thread Chris McMahon
Is there any other method that I could use instead of using an instance variable prefix on i.e., or is this the correct method? In my very humble opinion, what you've done is exactly right. I still struggle a little managing scope in Ruby. But I think you'll find as you start abstracting

Re: [Wtr-general] FireWatir

2006-05-22 Thread Zeljko Filipin
It took me just a few seconds over three hours. :) Finished in 10892.833 seconds. On 5/22/06, gege qian [EMAIL PROTECTED] wrote: could anyone tell how long does it take for running the mozilla_all_tests.rb on firefox? ___ Wtr-general mailing list

Re: [Wtr-general] FireWatir

2006-05-22 Thread Amit Garde
On 5/22/06, gege qian [EMAIL PROTECTED] wrote: Hi, All could anyone tell how long does it take for running the mozilla_all_tests.rb on firefox? FireWatir is about 20X to 30X slower than the corresponding IE tests on our machines; Angrez and I are looking at an alternative implementation to

[Wtr-general] Too many requires?

2006-05-22 Thread Adrian Rutter
Hi, I am concerned about there being to many 'requires' in my test script. Is the below snippet a good way to organise tests? require 'browser' require 'logon' require 'employees' require 'window' start_browser(http://gbahevm07l15:9081/wps/portal;) login(Aidy,1234)

Re: [Wtr-general] Too many requires?

2006-05-22 Thread Andy Sipe
If you find you are using the same requires over and over again in multiple files you can centralize them: loader.rb require 'this' require 'that' require 'something else script1.rb require 'loader.rb' -andy Original Message Follows From: Adrian Rutter [EMAIL PROTECTED]

Re: [Wtr-general] FireWatir

2006-05-22 Thread gege qian
Thank you ALL! Rodrigo Julian Martin [EMAIL PROTECTED] wrote:Hello!I guess that the last time I¡¯ve runned mozilla_all_tests took me 2 hours more or less¡­Cheers!From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gege qianSent: Lunes, 22 de

[Wtr-general] [question] Accesing Images Snapshot

2006-05-22 Thread Rodrigo Julian Martin
And here is the snapshot of that 6 Images Thanks! Rodrigo Julian Martin attachment: image_buttons.jpg ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] General XPath Question

2006-05-22 Thread John Castellucci
Ive been crawling through xpath for the last couple of weeks, but Ive been unable to solve a real basic problem I am having locating desired objects. As a background, the application I am automating makes extensive use of AJAX, _javascript_, Dojo and DWR, so the DOM gets complex.

[Wtr-general] [question] Accesing Images..

2006-05-22 Thread Rodrigo Julian Martin
Oh, sorry.. The snapshots are supposed to go with an earlier post Ive sent. But that post is still waiting moderation, because its a little bigger than 40K. Sorry Again Rodrigo Julian Martin ___ Wtr-general mailing list

Re: [Wtr-general] [question] Accesing images?

2006-05-22 Thread Rodrigo Julian Martin
Hello! Im having troubles trying to click some images on a modal web dialog. They seem to be under div tags, but I cant click them Ive tried with divs, images and frame sentences but nothing works Here is the html code for that section (Ive discarded the java functions on the

Re: [Wtr-general] FireWatir

2006-05-22 Thread Lonny Eachus
Please let us know when that happens. Tools for using IE have improved, but Firefox definitely has some advantages, including being cross-platform. Since I have not had the time to look at it yet, please tell me: does FireWatir qualify as being cross-platform? Lonny Eachus

Re: [Wtr-general] [question] Accesing images?

2006-05-22 Thread Lonny Eachus
We can see a lot easier what is going on if you indent the HTML. Try using TidyUI or some such, freely available for download. Anyway, now that I have tidied the HTML, I can see that each image has an associated ID attribute. It would help if you told us HOW you were trying to click them.