manage dynamic items with QT application

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Alpha13
Posts: 8
Joined: Thu Feb 23, 2023 3:56 pm

manage dynamic items with QT application

Post by Alpha13 » Wed Jun 28, 2023 10:21 am

Hello team,

I am using Ranorex 9.0.1 ( can't upgrade it for now )
I use a QT application.
I run ranorex on a windows 10 machine.

I want to find a solution to manage QT dynamic items in my application (items dynamic propriety change everytime the screen is reload)

This is one exemple of the xpath for a dynamic container :
"/form[@title='Aquarelle']/?/?/element[@name='stackViewMain']/container/container[2]//container[@name='rowLayoutForArrow']/container[@name='internalLayout']//container[@name='rectBody']/container[@name='rowLayoutForArrow']/container[@name='internalLayout']//container[@name='rectBody']/container[@name='rowLayoutForArrow']/container[@name='internalLayout']/container[2]/element[@type='QQuickColumn']/container[@name='rectBody']/container[@name='rowLayoutForArrow']/container[@name='internalLayout']//container[@name='rectBody']/container[@name='rowLayoutForArrow'] "

In this exemple i want to use the rowLayoutForArrow and check if this container is visible = true or false.
1- i have plenty of rowLayoutForArrow i don't know how to point to this one specifically i don't have a name or static info.
2- The xpath of the container[2] change everytime i change screen in this application.

Do you have any idea how to deal with this ?
Should i add an xpath weight rules to catch something better ?
Snapshot is too big to be upload (5,61 Mo), what's the best way to share it here ?

Alpha13
Posts: 8
Joined: Thu Feb 23, 2023 3:56 pm

Re: manage dynamic items with QT application

Post by Alpha13 » Thu Nov 02, 2023 4:23 pm

i Have uploaded the snapshot here if this could help : http://www.numsend.com/download?id=NDYw ... EzMjMyMA==