Forum Discussion
Are you able to run your test with TestExecute from the command line directly?
Does your TestExecute version match your TestComplete version?
- dave_user3 years agoContributor
Hi Marsha,
Yes, my TestExecute version matches the TestComplete version.
Yes, i am able to run TestExecute from the command line directly.
Below script runs fine and invokes the application however does not give any result in the "Test" section -:
"
$testexecute= "C:\Program Files (x86)\SmartBear\TestExecute 15\Bin\TestExecute.exe"
$project = "C:\ADOAgent\vsts-agent-win-x64-2.181.2_1\_work\r1\a\_INR-TestAutomation\INR_AutomationProjectSuite.pjs"
$arguments=$project, '/run', '/PrjVar:tnrExeLocation="C:\ADOAgent\vsts-agent-win-x64-2.181.2_1\_work\r1\a\_INR\INR Binaries\Inr.exe"', '/exit', '/DoNotShowLog', '/ns', '/ErrorLog: .\TCErrors.txt'
#$arguments=$project, '/run', '/PrjVar:InrExeLocation="$(Agent.Releaseagent)\_TNR\TNR Binaries\tnr.exe"', '/exit', '/DoNotShowLog', '/ns', '/ErrorLog: .\TCErrors.txt'
Start-Process -FilePath $testexecute -ArgumentList $arguments"
The script in the original post does not invoke the application at all although the TestExecute does run
Thank you
- Marsha_R3 years agoModerator
Can we go back one step farther and run TestExecute from a command line prompt without using your script? We should be able to see test results that way. If that works, then we can work our way back up to Session Creator.
- dave_user3 years agoContributor
I tried to run below from the command line and it did start the TestExecute.exe but it did not invoke our application or tests.
TestExecute.exe "C:\ADOAgent\vsts-agent-win-x64-2.181.2_1\_work\r1\a\_INR-IestAutomation\INR_AutomationProjectSuite.pjs"
Related Content
- 5 years ago
- 4 years ago
Recent Discussions
- 10 hours ago
- 7 days ago
- 10 days ago