Page 1 of 1

Get focused element

Posted: Tue Mar 25, 2014 6:09 pm
by zhexian
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.

Re: Get focused element

Posted: Thu Mar 27, 2014 2:42 pm
by Support Team
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