Forum Discussion
Are you able to run your test with TestExecute from the command line directly?
Does your TestExecute version match your TestComplete version?
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"
- Marsha_R3 years agoModerator
Are you able to run the tests INR_AutomationProjectSuite.pjs from the TestComplete UI?
Related Content
- 4 years ago
- 4 years ago
Recent Discussions
- 17 hours ago