Pilot Project - Getting this error ---> java.text.ParseException: Unparseable date: 12-04-2018 | Selenium Forum
S
Sridevi Posted on 28/10/2021

I have written code to select a particular date,month & year from Date of Birth calendar as explained in the Pilot project.

But, while executing the code, I am getting java.text.ParseException: Unparseable date: ""12-04-2018"" error message.

I have attached screenshots of the code which I have written and the error message screenshots as well.

Could someone please help me as I am stuck with this issue.


A
Ashish Replied on 01/11/2021

Can you print the date from properties file into console and check whats printed