Forum Discussion

glen_lobo's avatar
glen_lobo
New Contributor
11 years ago

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 wh...
  • amarr1143l's avatar
    11 years ago
    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.