Re: [Wtr-general] WindowHelper

2006-02-10 Thread Atilla Ozgur
As I know it does not accept regular expressions . It should be a good enhancement to do so. I will look at it in the weekend. On 2/8/06, Terry Peppers [EMAIL PROTECTED] wrote: I asked a real foolish question a couple of weeks ago with regard to how you can get Watir to enter in username and

Re: [Wtr-general] Modifying Watir source

2006-02-10 Thread Zeljko Filipin
$ is end of string. So, /nameTextBox$/ would match Details$nameTextBox and not nameTextBoxMainContent or something alike. Take a look at http://phrogz.net/ProgrammingRuby/, search for Regular Expressions. -- http://www.testingreflections.com/blog/3071

[Wtr-general] Popup window was blocked

2006-02-10 Thread Uday Bhobe
Hi, I tried to post this message yesterday, but for some reason it doesn't seem to have made it. I am facing a problem A popup window was blocked with a link that is trying to open a new IE browser window. I have disabled the popup blocker in IE, yet am facing this problem. Manual clicking of

Re: [Wtr-general] Popup window was blocked

2006-02-10 Thread Thomas Healy
Uday, I don't know if it helps but when I had pop-up blocker problems on my system, I found 4 pop-up blockers to turn off... One is in IE... One was in the Norton's, one was in a Google tool bar and one was a rogue pop-up blocker program on my system. When I found all of them... The programs

[Wtr-general] Goto(url)

2006-02-10 Thread Dmitri Dolguikh
Hi list, I'm finding that using goto on Watir::IE is not reliable: when goto is called first time it is *always* successful (provided the url was valid of course). However on subsequent calls it may or may not fail. I tried adding sleep and Watir::IE.wait calls between goto's without consistent

Re: [Wtr-general] Goto(url)

2006-02-10 Thread Bret Pettichord
This works fine for me. What errors are you getting?On 2/10/06, Dmitri Dolguikh [EMAIL PROTECTED] wrote:Hi list,I'm finding that using goto on Watir::IE is not reliable: when goto is called first time it is *always* successful (provided the url wasvalid of course). However on subsequent calls it

Re: [Wtr-general] Goto(url)

2006-02-10 Thread Bret Pettichord
If you can find a way to reproduce this with a single test please send it and i'll take a look at it.I'm wondering if Watir shouldn't automatically be calling IE#wait before returning from IE#goto. Of course, you could call it explicitly as a workaround. BretOn 2/10/06, Dmitri Dolguikh [EMAIL

Re: [Wtr-general] Goto(url)

2006-02-10 Thread Michael Bolton
When you say fail, what Bad Thing happens? What Good Thing fails to happen? Do you get an error message? ---Michael B. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Dolguikh Sent: February 10, 2006 10:03 AM To: wtr-general@rubyforge.org

Re: [Wtr-general] WindowHelper

2006-02-10 Thread Bret Pettichord
I would like to deprecate or remove WindowHelper from Watir 1.5.So i'd rather see enhancements directed towards using watir/dialog.rb (which still needs a lot more work, including replacing autoit).Bret On 2/10/06, Atilla Ozgur [EMAIL PROTECTED] wrote: As I know it does not accept regular

Re: [Wtr-general] Declarative Watir scripts?

2006-02-10 Thread Bret Pettichord
I wanted to make a general comment.It is very common for people to create the kinds of frameworks under discussion here for testing. I've seen it done for almost every testing tool.The problem has been that it is hard to build frameworks like these in such classic testing languages as TSL. When i

Re: [Wtr-general] Goto(url)

2006-02-10 Thread Bret Pettichord
What does 'times out' mean? Does the script hang at that point? Do you get a timeout error?Does adding @ie.wait between the two calls to @ie.goto fix the problem?BretOn 2/10/06, Dmitri Dolguikh [EMAIL PROTECTED] wrote: I'm able to reproduce the problem within the same test by using thefollowing

Re: [Wtr-general] Goto(url)

2006-02-10 Thread Dmitri Dolguikh
Sorry, I should have clarified that. 'times out' means that 'goto' call doesn't return for a couple of minutes; When it does eventually, the browser stays on the page it was prior to the call. Also, as I mentioned before the location bar doesn't get updated with the url passed into goto method.

Re: [Wtr-general] Declarative Watir scripts?

2006-02-10 Thread Bret Pettichord
On 2/9/06, Bill Agee [EMAIL PROTECTED] wrote: I was mainly thinking about non-programmers; for testers withoutprogramming experience, using an XML testing language to build testscould result in more success up front (which I think is important in sustaining interest in automated testing, and

[Wtr-general] Select List Question

2006-02-10 Thread Attebery, Bill
Title: Select List Question In our in house webpage we found that some of the select lists use a attribute TYPE=SELECT when we tried to get a handle on these SELECT_LIST objects watir failed with the cannot find object error. We did some investigating and removed this attribute from the

Re: [Wtr-general] Select List Question

2006-02-10 Thread Angrez Singh
Hi Bill,While location the select list element WATiR codes use select-one or select-multiple for matching the type of the select list. Also the type attribute of select list is readonly as per DOM specification:http://www.w3.org/TR/2000/WD-DOM-Level-1-2929/level-one-html.html#ID-94282980 So

Re: [Wtr-general] Testing a Web App with Biztalk

2006-02-10 Thread Bret Pettichord
On 2/10/06, Paul Carvalho [EMAIL PROTECTED] wrote: So my question is: How do I get Ruby or Watir to wait around until an object is in a desired state before it can continue? A secondary question is: How can I tell my Ruby or Watir script that if it waits too long, it should probably just give up

Re: [Wtr-general] Goto(url)

2006-02-10 Thread Dmitri Dolguikh
I tried that before I started this thread - it didn't help. -Dmitri On 2/10/06, Bret Pettichord [EMAIL PROTECTED] wrote: Does adding @ie.wait between the two calls to @ie.goto fix the problem? (Do i hear an echo?) On 2/10/06, Dmitri Dolguikh [EMAIL PROTECTED] wrote: Sorry, I should have

[Wtr-general] Popup window was blocked

2006-02-10 Thread Uday Bhobe
Thanks a ton Thom! It worked ... I found and disabled the google and yahoo popup blockers in IE. Uday Uday, I don't know if it helps but when I had pop-up blocker problems on my system, I found 4 pop-up blockers