[wtr-general] ie.attach Windows 7 - administrator

2010-10-01 Thread JackieH
I am running a script that clicks a link and brings up another window that has a PDF in itThe code does an Watir::IE.attach(:title, / \.pdf/) to find the "pop-up" window and close it. When I try to run this on Windows 7/IE8/Run as administrator it returns that the window is NOT found...If I go

[wtr-general] Re: click_no_wait issue when ruby called from .NET

2010-10-01 Thread JackieH
Thanks Charley. Seems that the rubygems on the win 7 machine was a bit older and as soon as I updated that everything seems to work!! Appreciate the help! -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://g

[wtr-general] click_no_wait issue when ruby called from .NET

2010-09-30 Thread JackieH
We have a little .NET app that we use to run our scripts...it uses the Process Class to invoke Ruby...When our scripts are called via this app the click_no_wait functionality does not work. When Ruby is run standalone and not via the app the click_no_wait logic works without fail! Now this is on

[wtr-general] 64 bit

2010-04-27 Thread JackieH
Has anyone experienced any issues with ole_objects, specifically fire events on a 64 bit machine? I'm trying to fire_event("ondblclick") on a row in a table and it works EVERY single time on multiple Win XP 32 bit machines...but NEVER works on a Win XP 64 bit machine? On the 64 bit machine it act

[wtr-general] Re: Save As File Dialog

2009-09-10 Thread JackieH
Sep 9, 4:46 pm, Alan Baird wrote: > Jackie - > > I have had problems with the Save As dialog box not accepting long strings. > Apparently there is a length restriction on this field that you may be > running into (somewhere around 120 characters). > > Alan > > On Thu, Sep

[wtr-general] Re: How to handle Modal Dialog Box

2009-09-09 Thread JackieH
Handling modals is not to bad...you don't use ie.attach you use ie.modal_dialog. It returns a page container just like ie or a frame. We put it in a begin resuce and keep trying until we find it or a self- imposed timeout... On Sep 9, 10:04 am, Pallavi Sharma wrote: > Hi Zeljko > > Thanks for t

[wtr-general] Re: Save As File Dialog

2009-09-03 Thread JackieH
e > > - Lengthen the Opt("SendKeyDelay") value (in milliseconds) to add a little > more time between keystrokes > > Thanks > Bill > > On Wed, Sep 2, 2009 at 1:48 PM, JackieH wrote: > > > I have a very strange issue with a Save As File Dialog.   I have a >

[wtr-general] Save As File Dialog

2009-09-02 Thread JackieH
I have a very strange issue with a Save As File Dialog. I have a loop that is looping through many files that need to be savedThe code uses the below routine to handle the Save As Box: (the file name is built and passed in) ai = WIN32OLE.new("AutoItX3.Control") ai.Opt("WinWaitDelay", 1

[wtr-general] Re: select_no_wait function does not work for download pop up handling.

2009-03-17 Thread JackieH
g) > > to see if I can get that to work.  So far I am not having any luck > getting the execution string to work.  I am still not seeing any > errors when I run the script.  I figure if I can get this to work, it > will give me a clue as to why click_no_wait is not working. > > J

[wtr-general] Re: select_no_wait function does not work for download pop up handling.

2009-03-17 Thread JackieH
Just wanted to put this back out there to see if anyone had any thoughts... On Mar 12, 2:32 pm, JackieH wrote: > I haven encountered the same issue...When using theselectmethod a > pop-up box occurs, but when I added theno_waitroutine the code just > ends up in the wait for pop-up ro

[wtr-general] Re: select_no_wait function does not work for download pop up handling.

2009-03-12 Thread JackieH
I haven encountered the same issue...When using the select method a pop-up box occurs, but when I added the no_wait routine the code just ends up in the wait for pop-up routine and no pop-up appearsFrom what I can, the code gets into the no_wait method fine, but it never reaches the select met

[wtr-general] Re: How to Drag and Drop with Watir?

2009-02-13 Thread JackieH
I have to agree. I have really enjoyed learning Watir and find it very easy and intuitive to use, but in tasked with scripting a page that contains Drag and Drop it has been a challenge to say the least. I have tried many examples from the group and the code provided on the Wiki but it is like

[wtr-general] Enabled_popup and alt text/tooltip

2009-02-05 Thread JackieH
We are using the enabled_popup.rb to handle window pop-up messages...We return the text found in that window to validate we are getting the correct message for the correct field: def get_window_message(ie, title='Microsoft Internet Explorer', btn="OK") begin hwnd = ie.enabled_popup(30)