Forum Discussion
In the task you have shown, is there a way of adding command line parameters, which can be used for TestExecute?
For example (not sure if it will work!),
- task: VSTest@2
displayName: 'Run TestExecute tests'
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: '**\*TestExecute*.exe'
searchFolder: '$(System.DefaultWorkingDirectory)'
runSettingsFile: '$(System.DefaultWorkingDirectory)\TestRunSettings.runsettings'
otherConsoleOptions: '/param1 value1 /param2 value2'
diagnosticsEnabled: true
or
- task: CmdLine@2
displayName: 'Run TestExecute with Parameters'
inputs:
script: '"C:\Program Files (x86)\SmartBear\TestExecute\TestExecute.exe" /Project:"$(Build.SourcesDirectory)\MyTestProject.pjs" /run /exit /param1 value1 /param2 value2'
I think that the /exit parameter will not solve anyway, since the issue happens on TestExecute activation action, not at closure action.
- rraghvani6 months ago
Champion Level 3
Check that you are not running TestExecute in silent mode. Which prevents the system tray icon from appearing.
TestExecute might be running as a non-interactive session, which also prevents the system tray icon from appearing. Check your pipeline is set up correctly and is set as interactive.
Ensure Windows 11 is not hiding the system tray icon for TestExecute.
Finally, ensure the same account is used for everything i.e. Azure Pipeline, active session etc. UAC is disabled.
- simonaferrara6 months agoFrequent Contributor
Hi,
TestExecute in not runned in silent mode. As per issue description, the issue happens also by running manually TestExecute, and not only through a release pipeline.
Windows 11 configuration is not hiding the system tray icon for TestExecute.
The same account is used for everything. The machine has got only an account.
UAC is disabled.Regards,
Simona