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

2006-12-11 Thread Walter Kruse
We need the Win32 GUI test library... http://rubyforge.org/projects/guitest/ What I was looking for is if anyone has built up anything built up on the Win32API functionality. I am particularly interested in how to start implementing stuff like: FindWindow FindWindowEx SendMessage ... and the

[Wtr-general] how to access an element whose html tag is A

2006-12-11 Thread vijay
Hello people, I do not know how to access an element whose html tag is A. There is a link, named 'Step 1. Details'. According to its View Source, it is present in the following hierachy: frame - form - div - table and then that element but its html shows as A class = tab_enabled href =

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

2006-12-11 Thread Cain, Mark
Are you running your tests from inside and IDE? I saw the same slowness moving from 1.4.x to 1.5.x when I ran (the same tests) from Komodo 3.5. It was less apparent from Eclipse though... --Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Wtr-general] Editing fields in 'Save As' dialog

2006-12-11 Thread Cain, Mark
This is pretty obscure but try adding an '' to 'Save': clicker.clickWindowsButton('File Download', 'Save') --Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Ciarlillo Sent: Sunday, December 03, 2006 9:37 AM To: wtr-general@rubyforge.org

Re: [Wtr-general] Excel Or Text File?

2006-12-11 Thread Cain, Mark
Also there is a datahandler class that comes with Watir watir/datahandler.rb that works pretty well. There a usage section at the beginning of the file that should get you started. If you want something more robust, I have been using FasterCSV and it work well as is faster then the standard CSV

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

2006-12-11 Thread Paul Rogers
this was something I looked at a year or so ago, http://raa.ruby-lang.org/project/win32-guitest/ . It wasnt complete, and had a few problems, but Im sure it can be fixed if needed the winclicker also uses lots of the win api stuff, although the code in that is real ugly Paul - Original

Re: [Wtr-general] pop up box

2006-12-11 Thread Cain, Mark
Did you get this solved? --Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Makins Sent: Thursday, December 07, 2006 4:24 AM To: wtr-general@rubyforge.org Subject: [Wtr-general] pop up box Hi, I have a pop up box that

Re: [Wtr-general] pop up box

2006-12-11 Thread Matt Makins
Thanks, it's on hold at the moment. I used the winclicker clickJSDialogue method and ran it has a separate process, however it didn't seem to find the window. I'll have to give it some more time. Cheers, Matt _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cain,

Re: [Wtr-general] pop up box

2006-12-11 Thread Cain, Mark
When you get back to it try using this (you will need to use the newest gem if Watir): require 'watir\contrib\enabled_popup' def startClicker( button , waitTime=9, user_input=nil) hwnd = $ie.enabled_popup(waitTime) # get a handle if one exists if (hwnd) # yes there is a

Re: [Wtr-general] How does one access a web page element by its css class?

2006-12-11 Thread Nathan
I just answered my question using the supplied 1.5 answers and my knowledge of Watir 1.4.1 and some Ruby/OLE hacking skills I've acquired since using Watir. So I tried using Watir 1.5, and for what I needed that worked, but Watir 1.5 crashed on my previous script, so it wasn't really a viable

Re: [Wtr-general] how to access an element whose html tag is A

2006-12-11 Thread Nathan
So if I understand you correctly, you have an HTML tag on your page that looks something like lt;.gt;[i]some text here[/i]lt;/.gt; - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5711messageID=16005#16005

[Wtr-general] Vista / IE7

2006-12-11 Thread Lisa Crispin
I apologize in advance for not being any kind of programmer and asking such unintelligent questions. We have a huge suite of Watir tests, most of which were written by a former coworker. It's a huge investment which we are trying to maintain. I realize that Watir isn't intended for use by

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

2006-12-11 Thread Michael Bolton
What problems are you trying to recognize using this procedure? That is, what is this procedure testing, and what are its oracles? ---Michael B. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lou Wilson Sent: December 9, 2006 10:14 AM To: