Dynamic Qt element identification - Object identification

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
kgasimov
Posts: 16
Joined: Fri Nov 21, 2014 9:55 am

Dynamic Qt element identification - Object identification

Post by kgasimov » Fri Jan 29, 2016 12:06 pm

Hi,
I try to test a GUI application where page has many dynamic UI elements. Because, the InternalId of the created button on the Qt environment is not stable, the element gets every time a different InternalId. So, it is impossible to identify GUI element. I have read following article:

http://www.ranorex.com/blog/automated-t ... ynamic-ids

Because InternalId is unstable, I can not use this solution.
Are there any other best practice to test GUI element where the GUI elements are dynamic?

Thank you for help.
Kamal
Last edited by kgasimov on Fri Jan 29, 2016 12:52 pm, edited 1 time in total.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Dynamic Qt element identification - Object

Post by odklizec » Fri Jan 29, 2016 12:18 pm

Hi Kamal,

Unfortunately, it's pretty hard to suggest a reliable solution without xpath example. Even better, it would be very useful if you could post a Ranorex snapshot (not screenshot) of the element in question. Ranorex snapshot would help us to understand the structure of your AUT and suggest a reliable solution to overcome your problem (if there is any).
Pavel Kudrys
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

kgasimov
Posts: 16
Joined: Fri Nov 21, 2014 9:55 am

Re: Dynamic Qt element identification - Object identification

Post by kgasimov » Fri Jan 29, 2016 12:59 pm

Hi,

The Ranorex snapshot sent to email.

Kamal