Ask a Question

Running 2 or more instances of TestedApp

SOLVED
iamaqa
New Contributor

Running 2 or more instances of TestedApp

TestComplete version: 15.42.9.7 x64

 

I'd like to open 2 same desktop applications as we have some scenario testing multiple users.

i'm getting this error message:

  • There is (are) 2 running instances(s) of ".exe". New instances will not be launched.
  • iamaqa_0-1660656825537.png

 

Is this possible?

 

2 REPLIES 2
mikef
Staff

Hi @iamaqa 

 

In your Run TestedApp operation, set the parameter IgnoreRunning = True : 

This will allow you to run more than one instance.

 

mikef_0-1660658195797.png

 

To differentiate between instances, you may need to map a new instance with an additional property pair, like Index value.

 

Hope this helps

Mike

 

iamaqa
New Contributor

@mikef  Where do we set the index value of the specific TestedApp?

 

Thank you

cancel
Showing results for 
Search instead for 
Did you mean: