site opens new popup window

6 views
Skip to first unread message

scotru

unread,
Jun 20, 2007, 4:46:52 AM6/20/07
to SWExplorerAutomation
I'm just getting started with SWExplorer (very nice!) and ran into a
difficulty.
The website I am trying to automate opened up a new window (pop-up).
My script seems to be waiting for activity (scene recognition) in the
original and doesn't seem to notice the pop-up when it appears. How
can I make SWExplorer correctly automate the popup window?

Thanks!

Alex Furman

unread,
Jun 20, 2007, 8:19:22 AM6/20/07
to swexplorer...@googlegroups.com
Can SWEA designer create controls for the popup window?

You can see recognition/identification errors in the identification log
(yellow triangle toolbar button).

scotru

unread,
Jun 21, 2007, 2:51:15 PM6/21/07
to SWExplorerAutomation
Hi Alex,

Thanks for your quick response. When I am working in the designer, I
am able to create controls for the website initially and automate
things until I get to the point of the pop-up window. At his point,
IE responsds to my automated click on a certain button by opening a
new pop-up window. Initially, the designer does not appear to
recognize this pop-up window. However, if I turn the scene editor off
and then back on, now the scene designer recognizes the controls in
the pop-up and I can select them for automation. The problem is when
I go to play back my script, everything goes fine up to the point of
the pop-up window. SW Explorer appears to be waiting for my Scene
(Scene_2) to appear in the main window, rather than recognizing it
appearing in the pop-up window. Any suggestions on getting around
this?

Thanks a bunch!

--Rudy

> Thanks!- Hide quoted text -
>
> - Show quoted text -

Alex Furman

unread,
Jun 21, 2007, 3:03:19 PM6/21/07
to swexplorer...@googlegroups.com
Hi Rudy,

SWEA relies on IE events while recording. It is possible that the popup
window does not generate any complete events . Is this a real IE popup
window or DHTML popup window?

You can manually edit the recorded script: delete and insert the records.
You can delete wait for Scene_2 and add wait for the popup window.
Unfortunately it may not help in your case because the SWEA page
identification is activated by IE "complete" events and it looks like the
events were never fired. In script code you can manually run identification
by calling ExplorerManager.RunIdentification. In the designer you can add
Sleep record followed by RunIdentification and Wait records.


Best Regards,
Alex Furman

_________________________________________________________________
Hotmail to go? Get your Hotmail, news, sports and much more!
http://mobile.msn.com

scotru

unread,
Jun 30, 2007, 6:20:36 PM6/30/07
to SWExplorerAutomation
I couldn't figure out a way to get SWEA to automate the popup window.
However, I was able to navigate the main window to the location the
popup window was pointing to and just ignore the popup--so I got
around my problem this way.

If you are interested in further troubleshooting this problem, contact
me by regular email and I can provide you with details/credentials for
the site I had the problem with. However, for my purposes, I think
the workaround gets the job done.

Thanks for your help,

Rudy

> Hotmail to go? Get your Hotmail, news, sports and much more!http://mobile.msn.com- Hide quoted text -

Reply all
Reply to author
Forward
0 new messages