Issue with WPF object interaction and identification

Ask general questions here.
MeghaVerma
Posts: 1
Joined: Fri Jul 31, 2020 7:23 am

Issue with WPF object interaction and identification

Post by MeghaVerma » Fri Jul 31, 2020 8:38 am

Hi,

I have two queries to post:

1) There are instances of disabled WPF components like radiobutton, switch(list item) getting clicked through Ranorex.
Has anyone faced such issue before or it requires fix from WPF application side?

2) When character ellipsis ( three dots appearing after long text) appears in label for button (like ABC... is displayed on button) , the label is not identified as text element by Ranorex spy. In fact spy is not able to record it. Can anyone let us know the reason behind it?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6181
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Issue with WPF object interaction and identification

Post by odklizec » Mon Aug 03, 2020 7:59 am

Hi,

Could you please post a Ranorex snapshot (NOT screenshot) showing both problems? Also, for the first problem, don;t forget to include also entire xpath, as used in repository.

If Ranorex clicks disabled elements, and you don't want this, you must improve the xpath behind the element. For example, you can add attribute @enabled='true' .This will assure that the element is not clicked until enabled.
Pavel Kudrys
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