Test Complete Command Line: Calling tests within a folder or parent test item.
I am calling Test Complete command line from the python subprocess libary. One of the thing I want to do in this script is sometimes call the parent test "SmokeTest" and sometimes call a sub test "BasicSearchTest". The only way I have gotten it to work thus far is to duplicate all my tests and leave on the same level as SmokeTest test item. Is there really no way to call a sub test? If so are there any work arounds that are less messy?
Update: This may work for me. This calls the function with a specific "unit" or .py file. I would still want there to be a way to calll subitems but it seems that there is no way. Also passing in multiple test names commandline would be great. Are these things truly not in Test Complete?
One feature I would love for TestComplete to implement in the future is to make TestItems GROUPS available through the commandLine. Currently, you can group test items in the UI and give them a name but you can not execute just that Group from the CommandLine.
Re: Test Complete Command Line: Calling tests within a folder or parent test item.
Yeah seems like running it with the /p:project /u:unit /rt:function is the best way as tristaanogre mentioned also. Unforchulately not all test items are named the same as the function they call which isnt a super big problem but another thing to refactor. Better than having multiple copies of the same test. Is there any talk of adding these feature to TestComplete or a place we can submit suggested features?
Regards, /Alex [Community Hero] ____ [Community Heroes] are not employed by SmartBear Software but are just volunteers who have some experience with the tools by SmartBear Software and a desire to help others. Posts made by [Community Heroes] may differ from the official policies of SmartBear Software and should be treated as the own private opinion of their authors and under no circumstances as an official answer from SmartBear Software. The [Community Hero] signature is used with permission by SmartBear Software. https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame ================================