The list element has wrong visible property in Qt app

Bug reports.
odemin
Posts: 11
Joined: Tue Jun 07, 2022 12:01 pm

The list element has wrong visible property in Qt app

Post by odemin » Tue Jun 07, 2022 1:23 pm

Hi
My AUT use Qt and I have defect. If find adapter and try mouse click, cursor go out from app windows.
   List lv = repo.MainDialog.Jobs.SelectJobDialog.MFListView;
            
            Text t = null;
        		if (lv.TryFindSingle("*//text[@name='textItem' and @caption='" + s + "']", out t)) {	
        			t.Click(Location.Center);
        			Delay.Milliseconds(100);
        			Report.Log(ReportLevel.Info, "Info", "Click on " + t.Caption);
        			
        		}
I tried fit it with use exist/visible with scroll, but not helpful. Next I used Spy (add picture).
Text is visible and Valid.
.EnsureVisible() is True too.


Ranorex version 10.1.7+git.5800b39e
.Net Runtime version 4.0.30319.42000


Edition Windows 10 Enterprise
Version 21H1
Installed on ‎25.‎04.‎2022
OS build 19043.1706
Experience Windows Feature Experience Pack 120.2212.4170.0
You do not have the required permissions to view the files attached to this post.

odemin
Posts: 11
Joined: Tue Jun 07, 2022 12:01 pm

Re: The list element has wrong visible property in Qt app

Post by odemin » Wed Aug 31, 2022 9:03 am

I think the problem is not in Ranorex. Because the Ranorex only reads attributes from AUT.
Perhaps a method checking the visibility of the container would be useful.