Handling xpaths startting with body/

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
rastek
Posts: 157
Joined: Wed Aug 06, 2014 12:00 pm

Handling xpaths startting with body/

Post by rastek » Fri Sep 26, 2014 10:16 am

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Handling xpaths startting with body/

Post by Support Team » Mon Sep 29, 2014 12:42 pm

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
.
Image