Re: [Wtr-general] How do you access an image that doesn't have img in the HTML tag?

2006-10-05 Thread Paul Carvalho
Hello Eva,What output does the following command produce when executed at an IRB prompt? ie.show_imagesOr if it's in a frame: ie.frame(:name, 'framename').show_images On 04/10/06, Eva [EMAIL PROTECTED] wrote: Typically image have this tag...[snip] I know this isn't a typical image tag. I believe

Re: [Wtr-general] How do you access an image that doesn't have img in the HTML tag?

2006-10-05 Thread Angrez Singh
Hi, Its an image button try this: ie.button(:id, grdCompCodes__ctl2_imgSelect).click - Angrez On 10/5/06, Eva [EMAIL PROTECTED] wrote: Typically image have this tag... img id=Banner1_imgProductName key=LogoWhite.gif src="" alt= border=0 / brbrHere is the html code for the triangle image I'm

Re: [Wtr-general] OT: odd memory behavior question

2006-10-05 Thread Bret Pettichord
On 10/4/06, Chris McMahon [EMAIL PROTECTED] wrote: However, it seems that when I clear the array with ginormous_array = [], Ruby doesn't give back the memory it took loading it up in the first place. Anyone have a suggestion of how to force Ruby to give back the memory for an array that no longer

[Wtr-general] JavasScript Menu .click not working

2006-10-05 Thread Michael Ehrich
Hi, im not sure if my posts actually reach the mailinglist cuz i did not seem to get any answers so far. Im still messing with the problem described in that post http://www.mail-archive.com/wtr-general%40rubyforge.org/msg05416.html maybe someone can help me or maybe someone can tell

Re: [Wtr-general] Javascript Alert windows

2006-10-05 Thread Cain, Mark
The _javascript_ Alert, Confirm, Prompt, Security, File Save, File Download, File Upload, error message, and login (I think this is a complete list but there may be others) are all a special type of modal popup dialog windowthere isnt a different one. In order to handle these types of

Re: [Wtr-general] How do you access an image that doesn't have img in the HTML tag?

2006-10-05 Thread Dave Munns
Try ie.button( :src, \images\SelectRow1.gif ).click You may to specify the full directory path (C:\whatever...\images\SelectRow1.gif) - Posted via Jive Forums

Re: [Wtr-general] OT: odd memory behavior question

2006-10-05 Thread Chris McMahon
Anyone have a suggestion of how to force Ruby to give back the memory for an array that no longer contains any data? You need to run the garbage collector. It is something like this: GC.start You also need to make sure that you don't retain any references to any bits of the array. Assign them

Re: [Wtr-general] JavasScript Menu .click not working

2006-10-05 Thread Attebery, Bill
Sounds like you may be encountering the same thing I found when trying to work with the google ajax tree seems that the click event is actually being handled at the window level and not the browser level (or something along those lines) so using onClick or .click through water isnt the

Re: [Wtr-general] How do you access an image that doesn't have img in the HTML tag?

2006-10-05 Thread Eva
This worked. Thanks so much, Angrez. I was struggling with this for so long. I really appreciate everyone's help on this. ie.button(:id, grdCompCodes__ctl2_imgSelect).click - Posted via Jive Forums

Re: [Wtr-general] OT: odd memory behavior question

2006-10-05 Thread Bret Pettichord
This is good to know. However, I didn't have to resort to using it. Running the process overnight, reloading ginormous_array 5 times, it seems that Ruby is re-using a lot of this memory. My Ruby process is still holding on to a lot of memory, but not nearly as much as

Re: [Wtr-general] How do you access an image that doesn't have img in the HTML tag?

2006-10-05 Thread Paul Rogers
a reg exp is better here ie.button( :src, /SelectRow1.gif/ ).click - Original Message - From: Dave Munns [EMAIL PROTECTED] To: wtr-general@rubyforge.org Sent: Thursday, October 05, 2006 8:55 AM Subject: Re: [Wtr-general] How do you access an image that doesn't have img in the HTML

Re: [Wtr-general] How do you access an image that doesn't have img in the HTML tag?

2006-10-05 Thread Richard Conroy
On 10/5/06, Eva [EMAIL PROTECTED] wrote: Typically image have this tag... img id=Banner1_imgProductName key=LogoWhite.gif src=/images/LogoWhite.gif alt= border=0 / brbr Here is the html code for the triangle image I'm trying to click on... input type=image