[Wtr-general] Locating HTML objects

2006-05-26 Thread Adrian Rutter
Hi, I am trying to locate some objects on my HTML page. I have used the method show_all_objects, but on the command screen I am just getting a freeze on this: snip C:\Program Files\Watir\Watir_Testsruby addCustomer.rb ---Objects in page - snip Could anyone give me a link

[Wtr-general] terminate a running scrip

2006-05-26 Thread Adrian Rutter
Hi, Is it possible to terminate a running script without closing the command shell? As I mentioned in the previous mail I have a hang C:\Program Files\Watir\Watir_Testsruby addCustomer.rb ---Objects in page - Is there a way I can break out? Thanks Aidy

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

2006-05-26 Thread Rodrigo Julian Martin
Hi Brett, thanks for the info I will try with Watir 1.5.. one question, all the scripts Ive wrote with 1.41 will run in 1.5? Another question I realized that what I really need to click is not an image, but this: div align=center style=margin-bottom:10px;a href="" id=quitar6

Re: [Wtr-general] Locating HTML objects

2006-05-26 Thread Charley Baker
Aidy, You can use the Internet Explorer developer toolbar to view objects and the DOM for a page: http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038displaylang=en-CharleyOn 5/26/06, Adrian Rutter [EMAIL PROTECTED] wrote: Hi,I am trying to locate some

Re: [Wtr-general] terminate a running scrip

2006-05-26 Thread Bret Pettichord
On 5/26/06, Adrian Rutter [EMAIL PROTECTED] wrote: Is it possible to terminate a running script without closing the commandshell?Ctrl-C or Ctrl-Break. ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] Need help reading a file

2006-05-26 Thread Lonny Eachus
Jassi, try this: test_site2.radio(:name, 'selectionids', id).click Subject: Re: [Wtr-general] Need help reading a file From: Jassi Akkal [EMAIL PROTECTED] Date: Thu, 25 May 2006

Re: [Wtr-general] Locating HTML objects

2006-05-26 Thread Lonny Eachus
I do not know if this is related to your problem, but I had trouble with show_all_objects because I expected it to return a string, but it does not. To get a string instead (which you can print yourself, or put in an array . . .), you can add a new method to Watir: class Watir::IE def