Page 1 of 1

Win7 starts AUT with unpredictabe instance number

Posted: Wed Sep 05, 2012 10:32 am
by binonline
We want to control 2 instances of the same AUT for a specific test. So I start AUT and see with Spy at the main form an instance=0. I start same AUT additional and SPY shows Instance=1 - all in order.
If I close both AUT, wait a little and start them again it maybe that I get instance=3 and 4 or again 0 and 1. For me and the TestSuite it's unpredictable.
Any hints how to grab this :?:

Cheers
Robert

Re: Win7 starts AUT with unpredictabe instance number

Posted: Wed Sep 05, 2012 11:07 am
by Support Team
Hi Robert,

If your instances of your application are successfully closed and you reopen two new instances of it, the instance attribute should be again set to 0 and 1.
If you just close one instance of your application, for instance the application with the instance attribute set to 0, and then open a new instance of your application, the new instance attribute should be again set to 0.

Regards,
Markus
Ranorex Support Team