I have a tabbed dialog.
Two of the tabs have a button control with the same name. Resource ID for each of these controls differs.
I use RxFormFindChildControlId to get handle of each of the controls by ID.
The call to find button control in second tab by ID too gives the handle to instance of button from first tab.
Is this a know issue?
Bug in recognising controls by ID
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
No, there is no known issue for the RxFormFindChildControlId method. And frankly speaking, by looking at the implementation of the method I can't imagine a reason for a behavior like you described.
The algorithm of the RxFormFindChildControlId method is quite simple, the only possible problem one could run into is a race condition if two threads call the method concurrently (RanorexCore methods are usually not thread-safe).
Could you, please, check once again with RanorexSpy that the ControlIDs of the buttons are different? And if so, please supply us your source code!
Regards,
Alex
Ranorex Support Team
The algorithm of the RxFormFindChildControlId method is quite simple, the only possible problem one could run into is a race condition if two threads call the method concurrently (RanorexCore methods are usually not thread-safe).
Could you, please, check once again with RanorexSpy that the ControlIDs of the buttons are different? And if so, please supply us your source code!
Regards,
Alex
Ranorex Support Team