Page 1 of 1

Handling xpaths startting with body/

Posted: Fri Sep 26, 2014 10:16 am
by rastek
Hi
I have an urgent problem with dealing paths.
In one of my call windows I come up with a path as below
body/div[8]/div/div[1]/div[6]/button[@innertext='Call']

Normally all my previous paths start with div,a and etc based on a base domain and I can handle them, how will I handle this path ??

like this one, this is OK
.//div[#'ko-notif-2-closebtn']

it seems other one is not using a base, any idea ?

Thanks.

Re: Handling xpaths startting with body/

Posted: Mon Sep 29, 2014 12:42 pm
by Support Team
Hello rastek,

I’m afraid that I do not fully understand your issue. May I ask you to explain it in more detail? What exactly is not working on your side?

Regards,
Robert