Hello every one,
Is there a way o get focused element in an app and get associated repo item to that element?
Thanks in advance.
Get focused element
Re: Get focused element
Hi,
Please upload a Ranorex snapshot (not screenshot) of the focused element in question. Basically, it should be possible to identify a focused element via "hasfocus" attribute. So for example, the xpath could look like this:But I guess the expected result highly depends on used GUI technology and implementation of given element.
Please upload a Ranorex snapshot (not screenshot) of the focused element in question. Basically, it should be possible to identify a focused element via "hasfocus" attribute. So for example, the xpath could look like this:
Code: Select all
/form[@title~'^YourApp']//element[@hasfocus='true']
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration