cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to add to a batch specific options ?

SOLVED
m_essaid
Valued Contributor

Is there a way to add to a batch specific options ?

Hi,

There is something i must have missed about Test Complete and Test Execute.

I mean, my T.C. application is installed on my physical machine, and T.E. is on a virtual machine.

I can't make it running on both systems by a single command line.

I already put relative paths like "..\..\example.xls" (for retrieving an excel list) on all the places i have paths in the script.

But i still need to put an option to the batch, like this :



"G:\Program Files\SmartBear\TestExecute 10\Bin\TestExecute.exe" G:\example.mds /run /exit /"my string"



I would like to use the "my string" parameter as a test parameter.



Having this possibility I could run the batch with one parameter for T.C., and another for T.E.



Any help please ?



Thanks



1 ACCEPTED SOLUTION

Accepted Solutions
tristaanogre
Community Hero

RE: Is there a way to add to a batch specific options ?

Check out the following article to see if this helps do what you need



http://support.smartbear.com/viewarticle/9021/

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

2 REPLIES 2
tristaanogre
Community Hero

RE: Is there a way to add to a batch specific options ?

Check out the following article to see if this helps do what you need



http://support.smartbear.com/viewarticle/9021/

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

m_essaid
Valued Contributor

RE: Is there a way to add to a batch specific options ?

ah yes it works with the ParamStr() function

ty very much !
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors