Frequently Asked Question

TPT API: How can I execute tests via my API script?
Last Updated a year ago

By calling you can run a specific execution configuration. As a test set can be allocated to the execution configuration you can choose which test cases you want to be executed (see according FAQ entry). The attached file shows an example of how to run an execution configuration.

Note: In TPT 15 and older, a bug with status.isRunning() can lead to a deadlock of TPT. The bug was fixed in TPT 16. In earlier versions you can still use the script by omitting status.isRunning().

For further information on the TPT API: 
- in the user guide under "TPT APIs"
- in the "TPT API Manual" on our webiste or within your TPT installation folder

Please Wait!

Please wait... it will take a second!