Page 1 of 1

Issues with TreeItem:Select() and TreeItem:Expand() APIs.

Posted: Mon Sep 07, 2009 12:39 pm
by cancerion
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

Re: Issues with TreeItem:Select() and TreeItem:Expand() APIs.

Posted: Tue Sep 08, 2009 10:08 am
by Support Team
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