Ask a Question

Run TestComplete from Command Line and include routine variables?

SOLVED
saraxia
New Contributor

Run TestComplete from Command Line and include routine variables?

Dear Community,

 

I was wondering if below are possible.

 

1) Pass script routine variables in the command line?

For example,

I have a script called Unit1 and there is a method called getDataFromDatabase(String databaseConnection)

Is it possible to call this method and pass the databaseConnection string? 

 

"C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\TestComplete.exe" [Project Path]\xxxxx.pjs /r /p:[project name] /u:Unit1 /rt:getDataFromDatabase (variables?)

 

2)In fact I want to execute several scripts within one go.

If I call TestComplete.exe, i need to start Test Complete application multiple times.

Is it possible that i just manually start TC application, and just call the scripts from the command line?

1 REPLY 1
karkadil
Valued Contributor

cancel
Showing results for 
Search instead for 
Did you mean: