Control adapter x path properties

Ranorex Studio, Spy, Recorder, and Driver.
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Control adapter x path properties

Post by atom » Wed May 05, 2010 4:33 pm


In Ranorex Spy, I see my element has the Control adapter
Under the Control adapter i see:

- Type
- TypeName

However when i use these in ranorex xpath they dont work:

/control[@type=' ...']

I have to modify it to:


Why is that?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Control adapter x path properties

Post by Support Team » Thu May 06, 2010 5:38 pm

Hi atom,

In the overview, the attributes are displayed in a short form (the prefix is removed if it is the same as the capability name).

The RxPath requires the use of the full attribute name, because the short form is not unique. In the "Detail" tab, the full name is used. Also, if you use the autocompletion feature in the RxPath editor, it suggests the correct name.

I agree that it is a bit confusing, though :)

Ranorex Team
You do not have the required permissions to view the files attached to this post.