TarasY
6 years agoOccasional Contributor
Status:
New Idea
Provide the commandline params for run method as well
Hi everyone
I have already discussed this thing with support (case 00344903). The application that I'm testing supports command line parameters. There are few built-in ways in TestComplete how we can provide the command line parameters for the TestedApp object:
1. Using the RunAs method - but this one requires to provide the user details (name, password and domain)
2. Using the Run method by providing the TestedApp.Params.ActiveParams.CommandLineParameters = params
The second option actually modifies the TestedApp object without an ability to save the object.
The approach is to provide the commandline params for Run method as well as for RunAs method
Regards
Taras