Forum Discussion

acd2311's avatar
acd2311
Occasional Contributor
13 years ago

Unable to work on second instance of application


Hi,


 


I want to login to application with 2 different users. On Login, username appears on the form caption (wndCaption ).


So once 2 instances of applications are launched, based on username Test Complete should perform UI actions on the respective form.


 


I tried changing value of WndCaption property of form at runtime. However, TC is always performing actions on first instance of application.


 


Can you please help on this issue?


 


 


 

1 Reply

  • There should be the possibility to specify the index of the application process to work with.

    Post here the example of your code and the screenshot of the Object Browser with both login windows visible in the object tree.