Forum Discussion
rraghvani
Champion Level 3
6 months agoIf you are using a 64 bit machine, then use command,
'C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\SessionCreator.exe'
Screen resolution defined as,
/ScreenResolution:"1920*1080"
Export result as HTML,
/ExportLog:"C:\MyAutomation\Log\index.html"
You could also include,
/ExportSummary:"C:\MyAutomation\Log\SummaryReport.html"
These are the parameters that I use in my PowerShell script file, which is called by the Azure Pipeline.
I'm assuming you have set up your Azure Agent to automatically log into the machine after a restart? Or you have set up your machine to auto-login?
Known Issues
- If your test workstation is running under a non-server version of Windows and a session for the user account under which you want to run your test is already open on the workstation, use the /UseActiveSession argument to command the utility to connect to the existing session. Otherwise, the testing will not start.
- If you run tests under a user account other than the one under which the utility is launched, the utility will not be able to open the needed user session. To avoid the issue, launch the utility in Session 0 (an isolated Windows session for services), or use a server edition of your Windows OS to run tests.
Exit code 7, relates to "Failed to run TestComplete (or TestExecute)."