Question
1
Replies
29
Views
Accenture LLP
Posted: September 20, 2018
Last activity: September 24, 2018
Closed
Differentiating instances of user Interface
Hi All,
How do i differentiate different instance of same user interface at run time. I have seen using 'Keys' but that demands to first interrogate all instances first and then assign keys. Ex - I have a list of users to search and bot should input the user name in search box in each unique instance of it. Basically, is there a way to create a separate thread for each data set.
Thanks.
Hi, RajeshA9822,
"I have seen using 'Keys' but that demands to first interrogate all instances first and then assign keys" - this is not correct. You need to interrogate first instance, set UseKeys = true, and make sure your match rules are generic enough to match any instance that can be created at run time. Keys are assigned automatically - each instance gets unique key, so that in automation you can iterate though all of them and get or set properties.