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
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
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
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
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
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
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
>
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
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
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
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
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
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)
13 matches
Mail list logo