Desktop Testing using TestComplete-Unable to update xpath in selector using ancestor/sibling conceptSOLVED
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.
Solved! Go to Solution.
You could use that parent object and then use FindChildByXpath methods to interact via script :