Accessing Dynamic Properys

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
KrepThom
Posts: 1
Joined: Tue Jun 16, 2015 11:52 am

Accessing Dynamic Properys

Post by KrepThom » Tue Jun 16, 2015 12:48 pm

I'm trying to test some Comboboxes and i've encounterd some troubles.

Image

The Text on the left is the name of the Combobox. I want to read validate the name in my program, but i have no means to read the name.

The name is a dynamic property of the combobox, not a textbox as you can see in the spyview below

Image

In Ranorex 5 the property is displayed in the Spy-Property section, but i am using Ranorex 3 and there you cant even see this Property in Spy

Image

I am using the Ranorex.ComboBox Class in my program to handle this Adapter.

Maybe you have an Idea how it is possible to read the text value.

Kind Regards Thomas Kreppel

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

Re: Accessing Dynamic Properys

Post by odklizec » Tue Jun 16, 2015 1:11 pm

Hi,

I see that the element in question is WPF-based? The most probable reason why you see more details in Ranorex 5.x Spy is that there was introduced new and significantly improved WPF plugin in Ranorex 5.3.0. Ranorex 3.x is pretty old and no longer supported, so I'm afraid, your only hope is to update to latest 5.3.2.
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