Forum Discussion

mithileshmaurya's avatar
mithileshmaurya
Occasional Contributor
11 years ago

test complete already in playing state

Hello I am executing some scripts in batches through VS10.Now before running teh first batch I call Connect.RunTest() whcih works properly .After first batch I need to stop the playback by calling


Connect.StopTest();





Then again I start the second batch which again calls  Connect.RunTest().





Since the Connect.StopTest()

takes some time to close I get an exception saying that TestComplete is already in playing state.



How can I check if the Test Complete playback has completed before running it again??



Thanks in advance


 


1 Reply

  • Hi Mithilesh,

     


    Will the IsRunning method work for you? Please refer to the "IsRunning Method" help topic for details.