JoaoMLH
14 years agoNew Contributor
Handling Internet Explorer Pop Windows (Dialogs)
Hello,
I'm having problems handling pop-up windows with Internet Explorer (pop-up created using window.open)
I'm using Script Units to code my test cases.
Let me explain my test-scenario:
- 1. Click on a Button on the Main-page
- 2. A pop-up is opened (with a close button)
- 3. Close the Pop-up via the Close Button
I use the TestComplete Recorder to record the steps 1, 2 and 3.
But when playing the recorded test code, it doesn't work, everything is closed.
The javascript onclick code for the Close-Button is "window.close()".
If I don't use Testcomplete and Click on the Close-Button, only the Pop-Up is closed.
Could you please help me out?
The Internetexplorer version is 7.0.5730.13
The Testcomplete version is 7.20.562.7
Do you need more info?
Best regards
Joao Henriques