Give us more details on what you've tried. Show us your code.
Are the tests all manual, all automated, or a mix?
There are multiple workflows that could need to be modified because of the multiple methods that can be used to start test execution.
From the workflows you should be able to grab the Test Case ID from the test instance. You could use that Test Case ID and the OTA API functions to then retrieve data for that test case including the status. You could then abort the run if the status is not Ready.
Are the tests all manual, all automated, or a mix?
There are multiple workflows that could need to be modified because of the multiple methods that can be used to start test execution.
From the workflows you should be able to grab the Test Case ID from the test instance. You could use that Test Case ID and the OTA API functions to then retrieve data for that test case including the status. You could then abort the run if the status is not Ready.