How can I check for and close previously opened SilkTest windows programmatically after launching SilkTest for new tests on a remote machine.
While testing on a remote machine it is possible that other SilkTest Windows are left open from previous tests. I need to ensure these are closed to avoid multiple editors being open.
You can check and close other open SilkTest windows programmatically using the following code.
testcase closeSilkTest () if (MainWin("SilkTest").Exists()) MainWin("SilkTest").SetActive () MainWin("SilkTest").TypeKeys ("")