Answered

How to capture xpath for checkbox

How can I capture this checkbox xpath in Proof ? I would like to check / uncheck it.

I tried this xpath but it didn’t work  : .//input[@id='wipExists']

0
5 comments
Avatar
Hicham Tahiri

I tried web Id= wipExists instead of Xpath, but still didn't work!

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Hicham,

Could you please confirm that this checkbox is not located inside a frame? 

Regards,

Subject7 Team

0
Comment actions Permalink
Avatar
Hicham Tahiri

This issue is resolved, Thanks all.

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Hicham,

You are most welcome. Was it a frame as we suspected or was it something else?

Regards,

Subject7 Team

0
Comment actions Permalink
Avatar
Hicham Tahiri

No, it was not a frame. It is related to bootstrap 4. I had to capture the label (to click on it)  next to the checkbox instead of clicking the checkbox itself. So xpath would be : //label[@title='WIP Exists'].

Thanks.

0
Comment actions Permalink

Please sign in to leave a comment.