Forum Discussion

iamaqa's avatar
iamaqa
New Contributor
3 years ago

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.

 

Is this possible?

 

  • Hi iamaqa 

     

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

    This will allow you to run more than one instance.

     

     

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

     

    Hope this helps

    Mike

     

  • Hi iamaqa 

     

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

    This will allow you to run more than one instance.

     

     

    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's avatar
    iamaqa
    New Contributor

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

     

    Thank you