Thursday, May 8, 2008

SilkTest - Handling Popups

Sometimes AUT popups are not closed properly or any unexpected popups may be displayed, while running GUI Automation suite. At that time, scripts should close those popups automatically. Otherwise scripts can not be executed as unattended. In this case, You can consider any/all of the following points.

1. While running your scripts, you can close all other applications except Silktest and AUT. Even you can stop sending messages, while running the scripts.

2. You can use SetTrap and ClearTrap methods for expected dialogs. It can be used for security dialog boxes.

3. Develop a common function(s), it should close all the popups related to AUT and call into TestcaseExit or ScriptExit functions.

No comments: