[Wtr-general] Accessing an input field from the IE DOM Explorer

2007-03-19 Thread Luis Regueira
Hi everyone I´m a complete newbie with Ruby and Watir and I have a problem that I can´t seem to solve. Hopefully someone here can help me out? Ok, here it is: On the page I have a drop down list. When one particular option is selected then a new input field shows up on the page. This is NOT a

Re: [Wtr-general] Accessing an input field from the IE DOM Explorer

2007-03-19 Thread Željko Filipin
ie.text_field(:id, ct100_ch_cd_bl1_B3_oma_writeControl).set(text) -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Accessing an input field from the IE DOM Explorer

2007-03-19 Thread Željko Filipin
On 3/19/07, Luis Regueira [EMAIL PROTECTED] wrote: I tried that and I get this error message: Unable to locate object, using id and ct100_ch_cd_bl1_B3_oma_writeControl (Watir::Exception::UnknownObjectException). This IS the object id so that is NOT the problem. Any other suggestions? Make

Re: [Wtr-general] Difference in $browser.text

2007-03-19 Thread Paul Rogers
Firewatir is using an incorrect method for text. I sent the fix on, but I guess there has been no new release since. I cant rememeber what I had to do, and Im afraid I dont have it here. I'll try and post it on tonight Paul - Original Message - From: steven [EMAIL PROTECTED] Date:

[Wtr-general] How to send the attachment by mail in Watir/Ruby

2007-03-19 Thread Jason He
Dear all, After running test cases, the test result will generate as files in hard disk, I want to send them as attachment by email, is there any way to do it? Thanks, Jason ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] How to send the attachment by mail in Watir/Ruby

2007-03-19 Thread Paul Rogers
this is not really a watir question... but, its quite easy to do attachemnts to messages. I think there is a ruby library that does it, and Im sure action-mailer will too Paul - Original Message - From: Jason He To: wtr-general@rubyforge.org Sent: Monday, March 19, 2007 7:49

Re: [Wtr-general] Difference in $browser.text

2007-03-19 Thread Angrez Singh
Hi, The text method has been corrected. It will be available in the next release. Regards, Angrez On 3/19/07, Paul Rogers [EMAIL PROTECTED] wrote: Firewatir is using an incorrect method for text. I sent the fix on, but I guess there has been no new release since. I cant rememeber what I had

Re: [Wtr-general] Selecting an 'accented character' from a list

2007-03-19 Thread sathees
put them to an array and use it. myarray = [] myarray = $ie.select_list(:whatever, 'whatever').getAllContents now you can see which one is your text by doing myarray.length.times do |x| puts index + #{x} + + #{myarray[x]} end ___ Wtr-general mailing

[Wtr-general] Save Image Hangs?

2007-03-19 Thread sathees
Hi, I am running a watir script that saves images. Runs fine except it hangs at save window some time. Waiting for me to click cancel or save and it continues to run. Is this a problem with watir? ___ Wtr-general mailing list Wtr-general@rubyforge.org