Hello,
I am using Ranorex 9.3.4 to test a Desktop application based on WPF by using DevExpress controls.
I want to check if my checkbox is checked. The problem that Ranorex identify my checkbox as a "Button" and it is not possible to test if this checkbox (taken as button) is checked in the validation process.
Is there any solution to do that ? I tried with "Checked = True" but it doen't work.
Enclosed it the snapshot of the checkbox "Fixiere Eigenschaftsspalt".
Unable to test if the checkbox is checked
Re: Unable to test if the checkbox is checked
When I viewed your rxsnp I couldn't navigate to the individual elements in that panel. When you record, is it properly tracking those elements with the highlighted red bounding box around each object?
Sales Engineer @ Ranorex
-
- Posts: 38
- Joined: Thu Feb 27, 2020 2:06 pm
Re: Unable to test if the checkbox is checked
Hi tmcdoniel,
Thanks for your reply.
Yes I know. I cannot also expand the objects but I want track the elements during the recording, I track it correctly. That's mean that the object will be highlighted in red.
Thanks for your reply.
Yes I know. I cannot also expand the objects but I want track the elements during the recording, I track it correctly. That's mean that the object will be highlighted in red.
Re: Unable to test if the checkbox is checked
Hi,
In my opinion, this kind of issue is caused by a bad implementation of accessibility at DevExpress side. Please try to track the element with MS Inspect tool and see if it returns "Checked" attribute for given control...
https://docs.microsoft.com/en-us/window ... ct-objects
My guess it will not. There is unfortunately nothing you can do about this, except to report this problem to DevExpress folks. And the only solution you may eventually implement in your test is image-based validation.
BTW, try also the most recent Ranorex 10.1.2. Your version is pretty much obsolete and no longer supported. I don't think that it will help you with your particular problem, but it's always good to stay updated.
In my opinion, this kind of issue is caused by a bad implementation of accessibility at DevExpress side. Please try to track the element with MS Inspect tool and see if it returns "Checked" attribute for given control...
https://docs.microsoft.com/en-us/window ... ct-objects
My guess it will not. There is unfortunately nothing you can do about this, except to report this problem to DevExpress folks. And the only solution you may eventually implement in your test is image-based validation.
BTW, try also the most recent Ranorex 10.1.2. Your version is pretty much obsolete and no longer supported. I don't think that it will help you with your particular problem, but it's always good to stay updated.
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
-
- Posts: 38
- Joined: Thu Feb 27, 2020 2:06 pm
Re: Unable to test if the checkbox is checked
Hello Pavel,
Thanks for your reply.
I think you have right. I installed the Windows Automation Tools and after inspected my AUT, I didn't find any attribut "IsChecked" for the checkbox element "Fixiere Eigenschaftspalten" as shown in the following screenshot:
https://imgur.com/a/k6j09QX
I will try to cpntact DevExpress Support but I am not sure that it will resolve the problem.
The problem of image based validation that it won't work from a computer to another. That's mean it will work on my side but not on my colleague side if he didn't has the same resolution settings.
Thanks for your reply.
I think you have right. I installed the Windows Automation Tools and after inspected my AUT, I didn't find any attribut "IsChecked" for the checkbox element "Fixiere Eigenschaftspalten" as shown in the following screenshot:
https://imgur.com/a/k6j09QX
I will try to cpntact DevExpress Support but I am not sure that it will resolve the problem.
The problem of image based validation that it won't work from a computer to another. That's mean it will work on my side but not on my colleague side if he didn't has the same resolution settings.