Question
Accenture
IN
Last activity: 8 Nov 2017 1:06 EST
How to uniqely interrogate 2 tabs on a Wndows application having the same title/header?
Hi
I am trying to interrogate controls on 2 tabs on a windows application. Now, both tabs have the same title. There is a button on the first tab clicking on which takes me to the second tab( which is havingthe same title as the first one).If I ask the developer to change the title for the second tab, I am able to interrogate the 2 tabs separately but this is just a temporary solution. I am looking for a permanent one. The problem is that when I interrogate a button on the second tab, studio is getting confused as to which particular tab the control belongs to.
How do I distinguish between these 2 tabs while performing interrogation ? Do I need to apply a particular set of match rules to uniquely identify controls on these 2 tabs ?
Any inputs will be appreciated
Regards,
Shivanshu