Invisible controls missing from v10.2.1

Bug reports.
User avatar
Stub
Posts: 515
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
You do not have the required permissions to view the files attached to this post.

User avatar
Stub
Posts: 515
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
As you will see on the dialog editor design, there are indeed *THREE* checkbox controls on this form:
RanorexHiddenControls2.png
If you peek at this form using Ranorex Spy using Ranorex v10.2.1 you will find the following controls listed:
RanorexHiddenControls3.png
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.
You do not have the required permissions to view the files attached to this post.

User avatar
Stub
Posts: 515
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
And the sample application and snapshots that I sent to Ranorex Support:
SampleAppPlusSnapshots.rar
You do not have the required permissions to view the files attached to this post.

dhale
Posts: 84
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: 515
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...

MichaelColclough
Posts: 6
Joined: Thu Jul 28, 2022 5:53 pm

Re: Invisible controls missing from v10.2.1

Post by MichaelColclough » Mon Sep 05, 2022 1:47 pm

I have also just tried upgrading from v9 to v10.2.1 and I am seeing exactly the same behaviour. How could such a major change in functionality have escaped notice, and without even something in the release notes? I will have a rewrite a lot of tests to cope with this change unless Ranorex can provide a fix quickly

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

Re: Invisible controls missing from v10.2.1

Post by Stub » Tue Sep 06, 2022 1:11 pm

LOL at "provide a fix quickly" !!! I too am faced with rewriting things, but it's been this way for years and thus feels like an error at the Ranorex end. So I haven't changed anything. At all. We've just not bothered to upgrade from v10.1.6.

BCTest
Posts: 127
Joined: Tue Jun 03, 2014 10:15 am
Location: Hamburg, Germany

Re: Invisible controls still missing in v10.3.0

Post by BCTest » Thu Oct 13, 2022 11:19 am

Hi,

here the same after upgrading to 10.3.0: Invisible items are still missing.
Is this a feature or a bug? Should we downgrade because this will be fixed or should we fix all affected test-cases to face this new behaviour?

Regards,
BcTest

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

Re: Invisible controls missing from v10.2.1

Post by Stub » Thu Oct 13, 2022 12:44 pm

Oh, excellent, you've saved me the time of bothering to install v10.3.0 for testing myself. We're still using v10.1.6 here, and I have heard absolutely nothing from Ranorex Support on this ticket. So I wait.

melodican
Posts: 37
Joined: Fri Nov 04, 2016 12:50 pm

Re: Invisible controls missing from v10.2.1

Post by melodican » Mon Oct 17, 2022 7:53 am

Thanks for sharing this. We will also stick to version 10.1.6 / 10.1.7. We are still suffering form the unannounced changes regarding RXPaths for WPF elements.

We are using Ranorex for quite a while and I have to say, that the support is not as good as it used to be. Back in the days Ranorex support contacted us by phone and or desk sharing when a severe problem occured. Now you have to first upload lots of information. And when finally the support team acknowledges, that there is a bug in Ranorex you will never know, if and when it will be fixed. So you are forced to try out new Ranorex versions which is really time consuming.

MichielV
Posts: 17
Joined: Fri Sep 07, 2018 8:12 am

Re: Invisible controls missing from v10.2.1

Post by MichielV » Fri Oct 28, 2022 3:13 pm

Hi,
Does enabling the WPF plugin setting "Show all elements" or "Realize items in virtualizing containers" make a difference for your application?

Warning: Be careful before putting this change into production, this may impact other paths as well as a number of intermediate levels that are hidden with these settings disabled may appear.

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

Re: Invisible controls missing from v10.2.1

Post by Stub » Tue Feb 21, 2023 11:46 am

Huh.

I just today received an update from Ranorex Support on this issue!

I reported it in early June 2022 and have heard absolutely nothing further from them until February 21st 2023! But they tell me that the issue has been fixed in v10.5.3 (released 16th February 2023, apparently). I now see in the release notes that:

"A Win32 plugin’s new setting allows showing hidden elements in the element tree"

I have yet to actually try this out. We're still running v10.1.6 over here because I couldn't be bothered to rewrite our tests to work around the introduced issue.

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

Re: Invisible controls missing from v10.2.1

Post by Stub » Mon Feb 27, 2023 9:42 am

Ranorex v10.5.3 has a new setting which is OFF by default. ENabling that resolved the problem for me and our tests were able to proceed.

HansSchl
Posts: 143
Joined: Wed Sep 19, 2018 10:05 am

Re: Invisible controls missing from v10.2.1

Post by HansSchl » Tue Apr 11, 2023 10:36 am

@stub, can you please share where you found this option? I clicked through all settings which I could find, and searched the documentation, to with no avail.

Thanks
Hans

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

Re: Invisible controls missing from v10.2.1

Post by Stub » Tue Apr 11, 2023 11:19 am

I don't have Ranorex v10.5.3 or .4 installed currently, but IIRC it was under Settings/Plugins/Win32.