Path not fully recognized

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 6
Joined: Tue Jul 09, 2013 4:23 am

Path not fully recognized

Post by anantha.krishnan » Thu Oct 24, 2013 10:52 am

I have been using the tool for nearly three months. I have encountered issues while recognizing some of the controls. we use 3rd party controls called infragistics

I see question mark in between the path


It does not occur for few controls. Can someone explain ways to rectify it. It is the same behaviour using spy and track.

Anantha Krishnan.K

Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Path not fully recognized

Post by krstcs » Fri Oct 25, 2013 1:53 pm

That is intended behavior. A "?" means that the element in that position is OPTIONAL.

If you have 2 "?"s then the following element can be 0, 1, or 2 levels below the last specified parent.

So for the following, the XPath would be:



This RanoreXPath would find the td even if there was no tbody\tr.
Shortcuts usually aren't...