Forum Discussion
AlexKaras
15 years agoCommunity Hero
Hi,
Hope I understood you correctly...
Could you provide several use cases / samples with expected result for better understanding?
The problem I see is that it is not easy to predict what XPath for the given object you may be interested in for the given case. For example, it may be needed to search for the control on the page regardless of where in the objects hierarchy it is. In another case only direct child may be needed. In the third case I might be looking for the control filtered by two or more criteria.
Your suggestion sounds reasonable, but I think that more definite description would help...
Hope I understood you correctly...
Could you provide several use cases / samples with expected result for better understanding?
The problem I see is that it is not easy to predict what XPath for the given object you may be interested in for the given case. For example, it may be needed to search for the control on the page regardless of where in the objects hierarchy it is. In another case only direct child may be needed. In the third case I might be looking for the control filtered by two or more criteria.
Your suggestion sounds reasonable, but I think that more definite description would help...