Running mobile tests without opening testcomplete GUI
- 2 years ago
You can use either TestExecute or TestComplete and utilize the commandline calls to run your tests. See Command Line and Exit Codes
- 2 years ago
Open the command prompt or terminal on your computer.
Navigate to the TestComplete installation directory.
Use the TestComplete.exe file with the appropriate command-line arguments to run your tests. For example, to run a mobile test project, you can use the following command:
bashCopy codeTestComplete.exe /run /project:"C:\TestComplete Projects\MyMobileTestProject.pjs" /testedas:"Mobile" /exitThis command runs the MyMobileTestProject.pjs project, which is located in the C:\TestComplete Projects directory, as a mobile test and exits TestComplete when the test is finished.
You can also use other command-line arguments to specify the test item to run, the log file to use, and other settings. For more information about the available command-line arguments, see the TestComplete documentation.