Forum Discussion

simon_glet's avatar
simon_glet
Regular Contributor
11 years ago
Solved

TestedApps.AppsName.Terminate() has no effect

Greetings,



TC 9.20.2460.7 (9.3 not good for us)



TestedApps.AppsName.Terminate() and Close have no effect and return true ...



Sys.Process("AppsName").Terminate() works fine, any idea why ?



Thanks

Simon Glet

  • Hi Simon,


     


    The Terminate and Close methods of TestedApps work only when a tested app was launched by TestComplete (from a script or from TestComplete's GUI). How are you running your tested app?


     

2 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Simon,


     


    The Terminate and Close methods of TestedApps work only when a tested app was launched by TestComplete (from a script or from TestComplete's GUI). How are you running your tested app?


     

  • simon_glet's avatar
    simon_glet
    Regular Contributor
    Hi Tanya,



    Off course .. What was I thinking ? :-)



    Thanks !

    Simon Glet