Hi,
The result is the same running from cmd on the machine as it is when running via powershell, and PrjVar is not listed in the options returned.
Command run directly from command prompt:
"C:\Program Files (x86)\SmartBear\TestExecute 14\Bin\SessionCreator.exe" RunTest /Username:"blabla" /password:"blabla" /ProjectPath:"C:\testcompleteprojects\AirlockDigitalMaster\AirlockDigitalMasterProject\AirlockDigitalMasterProject.mds" /project:"AirlockDigitalMasterProject" /test:"Airlock - Rapid - UI Quick Run" /PrjVar:TestRun_URL=123
Response:
Flag could not be matched: PrjVar
C:\Program Files (x86)\SmartBear\TestExecute 14\Bin\SessionCreator.exe RunTest {OPTIONS}
Run the specified TestComplete test.
OPTIONS:
/UserName:[username]
The user profile that will be used to run
TestComplete/TestExecute.
Password
/Password:[password]
The password used to log in to the user account.
/PasswordFile:[password file name]
The name of the file that contains the password used to
log in to the user account.
/UseActiveSession, /UA
Specifies whether to run TestComplete/TestExecute in an
existing user session.
/ScreenResolution:[resolution]
The desired screen resolution for the created user session.
The default value is '1280x1024'.
/ProjectPath:[file_name]
The name of the TestComplete project file (.mds) or project
suite file (.pjs) to open in TestComplete/TestExecute.
/ExportLog:[file_name...], /el:[file_name...]
Export the test results to the file specified by the
file_name parameter after the test run is over.
/ExportSummary:[file_name], /es:[file_name]
Generate a JUnit report for the current test run and save it
to the specified XML file.
/Timeout:[time_in_seconds]
A timeout for the TestComplete/TestExecute session, in
seconds.
/SelfHealing:[self_healing], /SH:[self_healing]
Enables (On) or disables (Off) the self-healing mode for the
test run.
/project:[project_name], /p:[project_name]
The name of the project as it is shown in the Project
Explorer panel.
Run the tests provided by the specified project item:
/projectitem:[item_name], /pi:[item_name]
The name of a project item. Using this argument, you can
run only those project items that have the Run item in
their context menu.
Run the specified test:
/test:[test_name], /t:[test_name]
The full name of the needed test or the tag that marks
the needed test.
Run the specified script routine:
/unit:[unit_name], /u:[unit_name]
Specifies the name of the unit containing the desired
routine.
/rt:[routine_name], /routine:[routine_name]
The name of the script routine to be called. The routine
must not use parameters or return any values.
Run the tests specified by the tag expression:
/tags:[tag_expression]
The tag expression to be used to run the corresponding
tests.