Re: TextExecute- command line to only execute a Group
Unfortunately, as far as I can tell, you cannot execute Test Items (what you have indicated) from the command line. You can, however, execute a routine/function in a script code unit from the commandline. From the help:
TestComplete will run the specified script routine. Project_name specifies the name of the project to which the routine belongs. Unit_name specifies the name of the unit holding the desired routine. Routine_name is the name of the script routine to be called. The routine to be called must not use parameters or return any values. Project_name and unit_name should be the same as the project and unit names shown in the Project Explorer.
So, what I would recommend is that you create just a simple script routine in some unit of code somewhere that all it does is execute those pieces you want to run from command line. You don't need to link that routine to a test item so it doesn't need to clutter up your main test. You can then use the syntax I've pasted above to run that routine from the commandline and get your test executed.
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.
Regards, Alex [Community Expert Group] ____ [Community Expert Group] members 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. Postings made by [Community Expert Group] members 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. [Community Expert Group] signature is used with permission by SmartBear Software. http://smartbear.com/forums/f83/t86934/community-experts/ ================================