I used element functions to identify controls under each tab from Tabbed dialog.
I used RxElementFindChild with role as ROLE_SYSTEM_DIALOG. I could see the number children of this role was equal to the number tabs. But When I try to access the children from each of these Dialogs I always get children from first Tab.
Is this a known issue?
Do we have any other workaround to find the children tabs using element functions?
Accessing controls from different tabs bug
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Just because the number of children of the dialog element equals the number of tabs that doesn't necessarily mean that the children really are the tab controls.
You should search for tab pages using the ROLE_SYSTEM_PAGETAB role. Just supply this role to the RxElementFindChildren method searching in the dialog element and you should get elements for all tab pages of your dialog.
Alex
Ranorex Support Team
You should search for tab pages using the ROLE_SYSTEM_PAGETAB role. Just supply this role to the RxElementFindChildren method searching in the dialog element and you should get elements for all tab pages of your dialog.
Alex
Ranorex Support Team