Re: [Wtr-general] Programming a function for Recognizing and Storing Objects by Properties

2006-03-27 Thread Daniel Browne
Can you just use the contains_text or match (on the page or on the actual html using the html method) with a regular expression and extract text you want to be stored in the array? I'm pretty new to ruby and Watir so it might not be suitable for what you are doing. Cheers, Daniel. On 27/03/06,

Re: [Wtr-general] iFrames?

2006-03-27 Thread Prem
I am unable to suggest Watir as the automation tool to my management as it currently doesn't support iFrames. I suggest that you try it yourself.Look in the 'unittests' foldersfor code to handle frames and iframes.-ChrisThanks a ton for the inputs Chris. I went through the unit tests tried to

Re: [Wtr-general] iFrames?

2006-03-27 Thread Marcus Tettmar
On 3/27/06, Prem [EMAIL PROTECTED] wrote: When I want to access the iFrame's objects like this : ie.frame(:id, 'newworkdropdown').show_all_objects How can I over come this issue? I cannot change the code nor can the developers. It is a packaged tool (servlets based).You could use the index of the

[Wtr-general] (frames by id?) Re: iFrames?

2006-03-27 Thread Chris McMahon
Then found that the iFrame in the page does not have a name value but do have an id value. HTML Document name= id=newworkdropdown src=/prweb/PRServlet?pyActivity= PegaSample.GetWorkPoolClass You can also read C:\watir\watir.rb. In there you'll find # Typical usage:

Re: [Wtr-general] iFrames?

2006-03-27 Thread Bret Pettichord
Watir does not currently support finding iframes by id.You can't change the code, but you could change Watir to make this work.BretOn 3/27/06, Prem [EMAIL PROTECTED] wrote: On 3/27/06, Prem [EMAIL PROTECTED] wrote: Then found that the iFrame in the page does not have a name value but do have an

Re: [Wtr-general] (frames by id?) Re: iFrames?

2006-03-27 Thread Bret Pettichord
We actually do currently support :id for frames, but not for iframes. This is in the development code base. Sadly, much of that inline documentation (aka rdoc) is out of date.BretOn 3/27/06, Chris McMahon [EMAIL PROTECTED] wrote: Then found that the iFrame in the page does not have a name value

[Wtr-general] possible bug / Shift_jis encoding error

2006-03-27 Thread Kev Jackson
Hi, I think that there may be a bug in Watir with respect to how it handles character encodings. I have a fairly simple test and a test data file (in yml format). In my data file, I have a Shift_jis encoded character sequence (I don't read japanese, so I have no idea what it says!). I set

Re: [Wtr-general] possible bug / Shift_jis encoding error

2006-03-27 Thread Kev Jackson
I've discovered that there is a difference between set and value= for text_fields @@ie.text_field(:id, @test_data['pg_401']['address_1_field']).set(@test_data['pg_401']['address_1']) This breaks the encoding of the data read from @test_data @@ie.text_field(:id,

[Wtr-general] running ruby developement branch code when 1.4.1 is also installed

2006-03-27 Thread Manish Sapariya
There was thread but I cant find it in archives... Could somebody please tell me how do I run code checkout from SVN I am not sure what Path varibale i need to change... Thanks, Manish ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] [OT] me vs. SOAP + Basic Authentication in Ruby

2006-03-27 Thread Chris McMahon
Not really Watir, but but definitely web-related: if you ever need to poke at some web services in SOAP, I made a little blog entry: http://chrismcmahonsblog.blogspot.com/ One of the most interesting things about this exercise was seeing how primitive Ruby is in this area as compared to Perl

Re: [Wtr-general] possible bug / Shift_jis encoding error

2006-03-27 Thread Zeljko Filipin
Maybe this would help. http://www.mail-archive.com/wtr-general@rubyforge.org/msg02811.html ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Right-click menu.

2006-03-27 Thread Zeljko Filipin
Maybe this would help.http://wiki.openqa.org/display/WTR/FAQ#FAQ-TriggeringJavaScriptevents On 3/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This email is to be read subject to the disclaimer below. Hello guys, I imagine this question has been ask a number of times, but I couldn't find

Re: [Wtr-general] running ruby developement branch code when 1.4.1 is also installed

2006-03-27 Thread Zeljko Filipin
Visit http://openqa.org/watir/cvs.actionOn 3/28/06, Manish Sapariya [EMAIL PROTECTED] wrote:There was thread but I cant find it in archives... Could somebody please tell me how do I run code checkoutfrom SVNI am not sure what Path varibale i need to change...Thanks,Manish