Ask a Question

Desktop Testing using TestComplete-Unable to update xpath in selector using ancestor/sibling concept

SOLVED
Mohit_Dadhich
Occasional Contributor

Desktop Testing using TestComplete-Unable to update xpath in selector using ancestor/sibling concept

I am not able to track/highlight an object in Name Mapping using the selector(created using dynamic xpath containing ancestor/sibling concept)

- the selector which i am using here is : //div[text()='Tender Number']/following-sibling::panel. This xpath is working fine till //div[text()='Tender Number'] and i am able to highlight it as well. and this object contains 1 sibling span but i am not able to find it.if following-sibling::panel.is added at the end of the xpath.

 

In TestComplete, is there any other way to use ancestor/sibling concept of xpath?

Please refer to the attached screenshot.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
mattb
Staff

Re: Desktop Testing using TestComplete-Unable to update xpath in selector using ancestor/sibling con

1 REPLY 1
mattb
Staff

Re: Desktop Testing using TestComplete-Unable to update xpath in selector using ancestor/sibling con

cancel
Showing results for 
Search instead for 
Did you mean: