Get focused element

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
zhexian
Posts: 1
Joined: Tue Mar 25, 2014 6:04 pm

Get focused element

Post by zhexian » Tue Mar 25, 2014 6:09 pm

Hi, is it possible to get an focused element from my WPF application so that I could validate the text inside the element? Please tell me of you need more clarification.

Thanks.

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

Re: Get focused element

Post by Support Team » Thu Mar 27, 2014 2:42 pm

Hi zhexian,

In order to retrieve a focused element from your application, please modify your RxPath somehow like this:
ModifiedRxPath.png
The element is just found if the focus is set on the element.

Regards,
Robert
You do not have the required permissions to view the files attached to this post.