Ask a Question

Trigger TestItems from script

Occasional Contributor

Trigger TestItems from script


I have some special constraints / conditions under which TestItems are allowed to run. Hence I am looking for a command to trigger the run of a TestItem from script. I found that there is a reference to the TestItems through the command: Project.TestItems.TestItem(i); but there seems not to be any method to run that TestItem. Is that true? Any possible solution for that issue?

Thanks a lot for your support.


RE: Trigger TestItems from script

Hello Uli,

It is impossible to run a test item from a test. You can work with test items programmatically including enabling or disabling them only when you work with TestComplete via COM. Please find more information on this possibility in the 'Working With TestComplete via COM' help topic.
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Showing results for 
Search instead for 
Did you mean: