Hi,
I am using Ranorex 2.1.3 version.
I am getting issues with TreeItem:Select() and TreeItem:Expand() APIs.Both API’s are not giving expected behavior consistently. It gave ‘Setting Attribute’ failure exception.
Is it a known issue?
Is there any recommended steps to do before using these API’s?
Thanks,
Sachin
Issues with TreeItem:Select() and TreeItem:Expand() APIs.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Issues with TreeItem:Select() and TreeItem:Expand() APIs.
The supported actions and attributes of elements are technology specific and, unfortunately, not all technologies provide all the functionality needed to implement all actions and attributes. That's why an OperationFailedException (with an inner NotSupportedException) may be raised when you invoke an action or try to set the value of an attribute for some elements, especially for those relying on the MSAA technology.
For those actions/attributes you get such an exception, you have to use the mouse or the keyboard as a workaround to achieve the desired functionality.
Regards,
Alex
Ranorex Support Team
For those actions/attributes you get such an exception, you have to use the mouse or the keyboard as a workaround to achieve the desired functionality.
Regards,
Alex
Ranorex Support Team