Forum Discussion
Hi Marsha,
Sorry for the delay in my reply.
Below is the code that invokes the application -:
$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:InrExeLocation="C:\ADOAgent\vsts-agent-win-x64-2.181.2_1\_work\r1\a\_INR\INR Binaries\tnr.exe"', '/exit', '/DoNotShowLog', '/ns', '/ErrorLog: .\TCErrors.txt /ExportSummary:C:\ADOAgent\vsts-agent-win-x64-2.181.2_1\_work\r1\a\results.xml'
Start-Process -FilePath $testexecute -ArgumentList $arguments
However, when i use SessionCreator, the code does invoke the application. Below is the code that does NOT invoke the application -:
SessionCreator.exe RunTest /UserName:TC_User /password:********* /ProjectPath:"C:\ADOAgent\vsts-agent-win-x64-2.181.2_1\_work\r1\a\_INR-TestAutomation\INR_AutomationProjectSuite.pjs" /arg:InrExeLocation="C:\ADOAgent\vsts-agent-win-x64-2.181.2_1\_work\r1\a\_INR\INR Binaries\Inr.exe" /es:C:\ADOAgent\vsts-agent-win-x64-2.181.2_1\_work\r1\a\results.xml /el:C:\ADOAgent\vsts-agent-win-x64-2.181.2_1\_work\r1\a\logs.txt
Thank you
in the top code, you are calling tnr.exe and in the bottom code you are calling Inr.exe - could that be the difference?