glen_lobo
11 years agoNew Contributor
How to Minimizing TestComplete after launching a form using script
To run my tests which have been stored in different mdb's I use a form and select the database path.
But while doing so i have to remember to manually minimize TestComplete or my application which is already running in the background would be never be in focus.
Need to know if there is a way to minimize TestComplete using code?
P.S: Minimize does work when i run the testsuite but then when the form appears it comes right back.
But while doing so i have to remember to manually minimize TestComplete or my application which is already running in the background would be never be in focus.
Need to know if there is a way to minimize TestComplete using code?
P.S: Minimize does work when i run the testsuite but then when the form appears it comes right back.
- Try this before the form is displayed:
Set oTC = GetObject(, "TestComplete.TestCompleteApplication")
oTC.Visible = False
To make it visible again, launch TestComplete again. You'll get an error stating "Cannot launch another instance of this application" and already existing instance of TestComplete will be shown.