AutomationElement property of UIAutomation class in 2.3

Ask general questions here.
vengaishiva
Posts: 62
Joined: Wed Mar 09, 2011 4:40 pm

AutomationElement property of UIAutomation class in 2.3

Post by vengaishiva » Fri Mar 25, 2011 5:53 am

Hi,
I want to use the following code. I am using ranoerex 2.3. The UIAutomation class of it does not contain Automation Element property. Is there any work aroud for it?

UIAutomation uia = "yourRxPathToTheElement";
string value = (string)uia.AutomationElement.GetCurrentPropertyValue(ValuePattern.ValueProperty);

Regards,
Siva R S

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: AutomationElement property of UIAutomation class in 2.3

Post by Support Team » Fri Mar 25, 2011 11:26 am

Hi,

Answered with in following post:
http://www.ranorex.com/forum/post8060.html#p8060

Regards,
Peter
Ranorex Team