Forum Discussion

vijayakrishnabv's avatar
vijayakrishnabv
Occasional Contributor
2 years ago

Xpaths provided in Namemapping not getting recognized when correct Xpath is not the first one

Hi, I have below Namemapping & when provided first xpath is not correct, TestComplete not identifying object based on the second or subsequent matching xpath. Can you please help?    
  • vijayakrishnabv's avatar
    vijayakrishnabv
    2 years ago

    Thank you all for your time.

    Issue got resolved by using below in namemapping as per our DOM structure:

    //iframe[contains(@id,'frame')][contains(@style,'height')]