[Wtr-general] Failed to allocate memory error.

2006-12-13 Thread Leon . Ouretski
This email is to be read subject to the disclaimer below. Hi, I've resolved the Segmentation fault error by installing Ruby 1.8.2, however I now get a new error (although it is much further into the run than before): [FATAL] failed to allocate memory Anyone? Thanks Leon Ouretski -

Re: [Wtr-general] Error when trying to attach to a modal window.

2006-12-13 Thread Akash
Thanks a lot. It's working now :) - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5018&messageID=16168#16168 ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] How to Find count for the text_field with same names

2006-12-13 Thread kavitha
Hi friends, can any one help on this: Say for eg., HTML page has 4 pop buttons with same name and value. So, if I ask watir to click the button with name or value, by defaults it takes the first button. How to access the 2 and so on buttons. [b]Note:[/b] I have used send_keys to click those bu

Re: [Wtr-general] Best practices for structuring GUI models?

2006-12-13 Thread Chris McMahon
The stuff i use a lot gets refactored a lot until i am happy with the design. Actually, Bret refactors to the point where I find his code a little difficult to parse in my head. :) One thing at a time. Amen. In other words, I agree with everything Chris said. The only problem I have wi

Re: [Wtr-general] list of "watir" commands

2006-12-13 Thread Bret Pettichord
vijay wrote: > I have got a small doubt. Is there some place where one can find the list of > commands that are available in Watir. When I went through this forum > searching for some issue, I found a lot of new commands like > clickWindowsButton, clickWindowsButton_hwnd, ie.enabled_popup(5) e

Re: [Wtr-general] Best practices for structuring GUI models?

2006-12-13 Thread Bret Pettichord
philip reed wrote: > When I sit down to implement this my perfectionism gets all caught up > in questions like, "Do I need a separate class for my client's > specific site and another for the Sendcard > UI in general?" (so that other sendcard sites can easily reuse the > same code) or stuff like th

Re: [Wtr-general] Segmentation fault.

2006-12-13 Thread Bret Pettichord
Bret Pettichord wrote: > The simplest way to avoid this error is to use Ruby 1.8.2. > Or to use the latest development version (HEAD) of Watir, to which i just committed a fix for this problem. Bret ___ Wtr-general mailing list Wtr-general@rubyforge.

Re: [Wtr-general] Issue WTR-108 - file_field.set not working

2006-12-13 Thread Richard Oei
I've attached all the applicable files. The easiest way to do this is to simply download all three files to the root of drive C and then execute testme.rb. The script works flawlessly with Watir 1.5.1.1081 however does not work at all with 1.5.1.1127. Richard

Re: [Wtr-general] Best practices for structuring GUI models?

2006-12-13 Thread Chris McMahon
In other words, details like the form to send a card having the following inputs: - Text field with name "to[0]" - Text field with name "to_email[0]" - Text field with name "from" - Text field with name "from_email" ... - Submit button with name "preview" don't belong in high-level test code.

[Wtr-general] Best practices for structuring GUI models?

2006-12-13 Thread philip reed
My "due diligence" has been rather sketchy -- just trying a couple of listserv queries and skimming the User Guide for the first time in a while -- so if this is answered elsewhere feel free to gently rebuke me and point me in that direction. :) I'll seize on a simple example of something I'm work

Re: [Wtr-general] Can I attach to an open Excel session?

2006-12-13 Thread Christian Kreutzer
> For my own amusement awhile back, I built a little Fit-like test > automation framework based on Excel (so I'm not completely ignorant > on the subject), but I've never met anyone who wanted to use it. well doesn't sound that bad. I wouldnt mind to have a look at it... for many non progra

Re: [Wtr-general] Segmentation fault.

2006-12-13 Thread Bret Pettichord
The simplest way to avoid this error is to use Ruby 1.8.2. [EMAIL PROTECTED] wrote: > This email is to be read subject to the disclaimer below. > > > Hi, > > I'm getting the following error when running a large number of tests: > > --

Re: [Wtr-general] Issue WTR-108 - file_field.set not working

2006-12-13 Thread Cain, Mark
Can you send the html for that portion? --Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Oei Sent: Wednesday, December 13, 2006 1:52 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Issue WTR-108 - file_field.set no

[Wtr-general] Segmentation fault.

2006-12-13 Thread Leon . Ouretski
This email is to be read subject to the disclaimer below. Hi, I'm getting the following error when running a large number of tests: >ruby TestContainer.rb Loaded suite TestContainer S

Re: [Wtr-general] Issue WTR-108 - file_field.set not working

2006-12-13 Thread Richard Oei
The line of code that I'm trying to execute is: ie.fileField(:name, "fileone").set("file://c:/mytext.txt"). When this is done, there are no errors routed to standard out; however, nothing happens, i.e. the "Choose file" dialogue box does not even appear. Richard

Re: [Wtr-general] Issue WTR-108 - file_field.set not working

2006-12-13 Thread Cain, Mark
Please tell us what the problem is? Does it hang? Does is error out? Show us the does you are using. --Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Oei Sent: Wednesday, December 13, 2006 12:58 PM To: wtr-general@rubyforge.or

[Wtr-general] Issue WTR-108 - file_field.set not working

2006-12-13 Thread Richard Oei
Hi all, I'm currently running 1.5.1.1127 and am exhibiting the problem. The seems to be a variety of workarounds posted on the net from changing the setComboBoxText def in the winClicker.rb file to swapping out the win32ole within the water/win32ole with the one in the ruby distribution, etc. H

Re: [Wtr-general] WET at FOSS

2006-12-13 Thread Bret Pettichord
sathya shankar wrote: > WET has been selected as a talk at FOSS.in conference > in Bangalore. Raghu Venkataramana will be talking > about WET on 26th November 2006 at 11:00 am. > Interested guys can join and can have talk about the > related topics after the conf. And few other guys are > talkin

Re: [Wtr-general] Error when trying to attach to a modal window.

2006-12-13 Thread Bret Pettichord
Akash wrote: > Hi, I am using ruby version 1.8.2 and watir version 1.5.1.1127 still i am > getting this error. undefined method `connect_unknown' for WIN32OLE:Class > (NoMethodError) > > can u please give any solution for it. Make sure you DONT DO THIS: require 'win32ole' require 'watir' but in

Re: [Wtr-general] Extreme slowdown moving from 1.4.1 to 1.5.1.1127

2006-12-13 Thread Bret Pettichord
Pat Mac wrote: > > Hi All, I've read through the archives I could find relating to > performance issues related to 1.5 but I didn't see any concrete > solutions or reasons why the slowdown is occurring. Running an > existing script using the profiler my execution time goes from 170 > seconds to

Re: [Wtr-general] ie.minimize broken in watir-1.5.1.1127

2006-12-13 Thread Bret Pettichord
Ċ½eljko Filipin wrote: > I have installed autoit, and now ie.minimize works. You should > emphasize in release notes that autoit is required (or is it only in > my case)?. > I have build gem from the latest build and installed it and now all > core tests pass. Manually installing autoit should n

Re: [Wtr-general] Error when trying to attach to a modal window.

2006-12-13 Thread Akash
Hi, I am using ruby version 1.8.2 and watir version 1.5.1.1127 still i am getting this error. undefined method `connect_unknown' for WIN32OLE:Class (NoMethodError) can u please give any solution for it. - Posted via Jive Forums