Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Win32::GuiTest for File download

by BrowserUk (Patriarch)
on Nov 12, 2010 at 19:29 UTC ( [id://871131]=note: print w/replies, xml ) Need Help??


in reply to Win32::GuiTest for File download

Impossible to know without seeing the website, but my guess is that the "window" you are trying to control is not a windows native window, but rather some kind of Javascript/CSS 'overlay'. Ie. Instead of the window being made of of Windows native controls, which is required for GUItest to be able to navigate to the correct control by inspecting the window text of the button, that window is just a picture drawn on top the browser window contents.

If so, you won't be able to interact with it using window titles or button labels as they will only exist inside the javascript. The only way GUItest would be able to automate that is by sending a mouse click directly to the appropriate position on the screen.

I do hope for your sake that it's not one of those dratted CSS/Javascript 'floating widgets' that are popping up all over.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Win32::GuiTest for File download
by mmittiga17 (Scribe) on Nov 12, 2010 at 19:59 UTC

    It is one of those windows popup windows spawned by IE with three buttons. Open Save and Cancle. Win32::GuiTest i thought is supposed to handle windows apps like Excel and what not.

        Yes it can see it, but I can not get my original code to hit save button. There are more than one window that fit: 2032748 | ConsoleWindowClass | C:\WINDOWS\system32\cmd.exe - spy.pl --title "File Download" 530006 | #32770 | File Download Thanks!

      If it is an IE dialog, then GUItest should handle it without problems.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://871131]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-16 18:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found