Forum Discussion

steve_hall's avatar
steve_hall
Contributor
12 years ago

TestComplete command line, and functions with parameters

Hi All,   I'm trying to work out how, from the command line I can:   Start TC, pointing to suite, project, script, and function, where the function takes a string parameter.  ...
  • dganov's avatar
    12 years ago
    I think you should create another function that will parse the TestComplete's command line arguments, and you will specify its name in command line along with the desired parameter value using the custom command line argument.

    See example of parsing command line arguments here: TestComplete Command Line (ParamStr, ParamCount functions).