Control adapter x path properties

Ranorex Studio, Spy, Recorder, and Driver.
atom
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

Hiya

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:

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

Why is that?
Thanks

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

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 :)

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