Can any one help me how to find the xpath for the below datepicker.I have attached html for your reference.

Can any one help me how to find the xpath for the below datepicker.I have attached html for your reference.Can any one help me how to find the xpath for the below datepicker.I have attached html for your reference.

Praphul Train Asked on December 4, 2014 in Selenium WebDriver.
Add Comment
1 Answer(s)

Hi Praphul,
I see that you have installed the Firepath tool on you Firefox browser. I suggest you to use that tool to get the relative xpath of it and try clicking on the targeted element. Once you click on the data picker to populate, user thread.sleep(2000) and give it a time to populate, most probably it will get failed without wait, may be that is why your correct xpath is failing. Try it and let us know if this works.

Regards,
Lakshay Sharma

xLov3rDns Professor Answered on December 8, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.