Hi,
i am trying here to validate a selected element in a desktop application. My problem is that I cannot access the "selected" state, because my element is actually a text. To describe the situation in a better way I will attach print screens:
Capture1 is the app view. As you can see, I can select an element.
Capture2 displays the spy view, which says that my elements are texts.
The only AccessibleState is Focusable which does not help me at all. If I use AttributeEqual there are only:
Enabled and HasFocus which are always False.
My question is: is there a way to validate that the element is Selected?
Thanks in advance!
fimich
Validate selected element
Validate selected element
- Attachments
-
- Spy view
- Capture2.PNG (5.47 KiB) Viewed 1230 times
-
- The app
- Capture1.PNG (2.77 KiB) Viewed 1230 times
Re: Validate selected element
Unfortunately, screenshots don't help much with this kind of issue.
What we need is a Ranorex Snapshot of the element in question, preferably one while it isn't selected and one while it is selected.
You can find out how to create a Ranorex Snapshot HERE.
Also, when raising issues on the forums, please always include the following information:
Ranorex version
Windows version
Technology of system-under-test (Java, Flash/Flex, HTML, WPF, etc.)
Browser and version (if web testing)
RanoreXPath of any elements in question
Ranorex Snapshot of any elements in question
Full text of any error messages
What we need is a Ranorex Snapshot of the element in question, preferably one while it isn't selected and one while it is selected.
You can find out how to create a Ranorex Snapshot HERE.
Also, when raising issues on the forums, please always include the following information:
Ranorex version
Windows version
Technology of system-under-test (Java, Flash/Flex, HTML, WPF, etc.)
Browser and version (if web testing)
RanoreXPath of any elements in question
Ranorex Snapshot of any elements in question
Full text of any error messages
Shortcuts usually aren't...