closing previously opened windows

Hi all,

I need to close all the previously opened windows of a particular application before my business logic gets executed i.e; if i have IE opened all tabs should be closed first and then further my actual task should be started.
 

mbailey

Member
Babjee,

For each external application, create a flag or count data stage that keeps track of whether you started the external application or how many instances of the external application you started. If the application is closed in normal processing, the flag would be set to False or the count decremented. Many applications will also have identifying data stages associated with them (e.g., handles for Excel, etc). Add a Cleanup page to your process to handle closing open applications and call Cleanup between iterations and as part of error processing. The Cleanup page can also ensure that temporary files are deleted, open work queue items are closed, environment locks are released, and any other actions that must occur between iterations or before ending the process.

Thanks,
Michael Bailey
 

VJR

Well-Known Member
Top