Page 1 of 1

What does container and question mark mean in Repository

Posted: Fri Apr 17, 2015 10:54 am
by seshadri
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
Seshadri

Re: What does container and question mark mean in Repository

Posted: Fri Apr 17, 2015 10:53 pm
by odklizec
Hi,

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