Get or set value from UIAutomation patterns

Ranorex Studio, Spy, Recorder, and Driver.
marcello
Posts: 1
Joined: Thu Apr 18, 2019 11:19 am

Get or set value from UIAutomation patterns

Post by marcello » Thu Apr 18, 2019 11:33 am

Hello Support,

We have a component that supports both WinForms and WPF platforms and we need to use LegacyIAccessiblePattern for WinForms and ValuePattern for WPF to set or get some custom values.

In the attachment an example of classes used for testing purpose and in the link below a short video showing how Inspect tool identifies those properties.
https://www.screencast.com/t/Zizj0TtrT

Does Ranorex support this feature?
If yes, how can we set or get those values with Ranorex Studio?
You do not have the required permissions to view the files attached to this post.

User avatar
qwertzu
Posts: 284
Joined: Wed Jan 25, 2017 11:08 am

Re: Get or set value from UIAutomation patterns

Post by qwertzu » Fri Apr 19, 2019 9:31 am

Hello marcello,

Without a Ranorex Snapshot it is hardly possible to help you here.
Please upload such a snapshot so we can analyze these elements.

regards, qwertzu