Invisible controls missing from v10.2.1

Bug reports.
User avatar
Stub
Posts: 472
Joined: Fri Jul 15, 2016 1:35 pm

Invisible controls missing from v10.2.1

Post by Stub » Wed Jun 08, 2022 11:09 am

I just tested an upgrade to Ranorex v10.2.1 and quickly hit a problem. A repository that we've had setup for some 6 years is seeing some differences between Ranorex v10.1.6 (shown in the image below on the left) and the newest v10.2.1 (shown on the right). Specifically invisible controls are not being found/displayed by Spy.

Is this a deliberate change in behaviour by Ranorex? I can't see anything in the release notes that hints towards it, so I'm not sure which exact version it changed in.

Is there an option somewhere to restore the old behaviour?
Ranorex1016vs1021.png
Ranorex1016vs1021.png (47.27 KiB) Viewed 1023 times

User avatar
Stub
Posts: 472
Joined: Fri Jul 15, 2016 1:35 pm

Re: Invisible controls missing from v10.2.1

Post by Stub » Tue Jun 21, 2022 11:08 am

So Ranorex Support got back to me asking for more information. I adjusted a simple MFC test application to demonstrate the issue with Ranorex v10.2.1.

The attached file contains the following three items:

A VS2019 compiled simple MFC application (SimpleMFCVsRanorex.RAR).
A Ranorex snapshot of the About dialog created with Ranorex v10.2.1 (SimpleMFCVsRanorex_v10.2.1.rxsnp).
A Ranorex snapshot of the same About dialog created using Ranorex v10.1.7 (SimpleMFCVsRanorex_v10.1.7.rxsnp).

These snapshots were taken on the same machine, using the same compiled binaries of my test application. I UNinstalled v10.2.1 then Reinstalled v10.1.7 to prove the problem in Ranorex.

Compile/Run the .EXE, select Help/About, and the following dialog will appear. The application form actually contains *THREE* checkbox controls, but one is flagged as not visible:
RanorexHiddenControls1.png
RanorexHiddenControls1.png (15.16 KiB) Viewed 925 times
As you will see on the dialog editor design, there are indeed *THREE* checkbox controls on this form:
RanorexHiddenControls2.png
RanorexHiddenControls2.png (46.76 KiB) Viewed 925 times
If you peek at this form using Ranorex Spy using Ranorex v10.2.1 you will find the following controls listed:
RanorexHiddenControls3.png
RanorexHiddenControls3.png (8.07 KiB) Viewed 925 times
Note that Checkbox “Hidden” is utterly missing from Ranorex Spy. THIS is the issue I am having a problem with as it has broken our tests.

However, if you peek at the same application using Ranorex v10.1.7 then the hidden control is located:

(Image in later post below)

That difference in behaviour right there between the two builds of Ranorex it the problem I’m having with Ranorex v10.2.1.

User avatar
Stub
Posts: 472
Joined: Fri Jul 15, 2016 1:35 pm

Re: Invisible controls missing from v10.2.1

Post by Stub » Tue Jun 21, 2022 11:10 am

Here's the 4th image I wasn't able to include above, showing the Snapshot from Ranorex v10.1.7:
RanorexHiddenControls4.png
RanorexHiddenControls4.png (11.85 KiB) Viewed 925 times
And the sample application and snapshots that I sent to Ranorex Support:
SampleAppPlusSnapshots.rar
(64.3 KiB) Downloaded 14 times

dhale
Posts: 64
Joined: Thu Feb 27, 2014 7:33 pm

Re: Invisible controls missing from v10.2.1

Post by dhale » Thu Aug 04, 2022 8:21 pm

Was there ever any word back from Support on this?

User avatar
Stub
Posts: 472
Joined: Fri Jul 15, 2016 1:35 pm

Re: Invisible controls missing from v10.2.1

Post by Stub » Fri Aug 05, 2022 8:44 am

Not a peep! They gave me a 5d deadline to submit more information back at the beginning of June, but I've heard absolutely nothing beyond, "I have escalated this issue to our Dev. Team. I will keep you informed when getting any update from Dev. Team related to this case." That was back in mid-June. We have not upgraded from v10.1.6/v10.1.7 here. I keep checking the releases notes for the newer v10.2.x releases, but nothing has popped out as suggesting there has been a fix. However, I haven't actually spent my time trying each revision out yet as I have been too busy with other jobs. So I wait...