What does container and question mark mean in Repository

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 4
Joined: Fri Apr 17, 2015 10:28 am

What does container and question mark mean in Repository

Post by seshadri » Fri Apr 17, 2015 10:54 am

Hi Ranorex Team,

I was trying to automate the user name and password for WPF application.
But I could always see "container " and some question marks in the path of repository and some time the repository item is named as "Some Element", "Some element1" or "Some text"..etc
I have attached the snapshot for reference.

Kind Regards
You do not have the required permissions to view the files attached to this post.

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

Re: What does container and question mark mean in Repository

Post by odklizec » Fri Apr 17, 2015 10:53 pm


Question mark in the path means an optional element. You can find more detailed explanation here...
http://www.ranorex.com/support/user-gui ... html#c5816

As for SomeElement or SomeText these are names of repository elements. The repo names are usually obtained from the element definition (id, innertext, text, etc...). If there is no reasonable information found, Ranorex probably uses some default element names?

As for "container", it's a kind of adapter, typically used as a group placeholder for multiple elements. For more details, check for example these posts...
http://www.ranorex.com/support/user-gui ... xpath.html
http://www.ranorex.com/support/user-gui ... html#c5812
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