Question
Ford Motor Company Ltd
IN
Last activity: 31 Jul 2019 6:47 EDT
Pega Date Picker field to be automated with Java Script code
Hi,
I do have a Date Picker field where i need to select some past dates in my RPA automation. For that i got 3 Java script codes to select
a. selectDate
b. selectMonth
c. selectYear
To check whether the codes were working, i tried it in the Google Chrome console screen by opening my application. Only the selectDate code was working. Month and Year code breaks. Please refer to the attached file "Error.zip".
In addition, I have also attached the html code highlighted after Inspect Element done on the Month/Year. Please refer screenshot "Inspect_Element.zip"
P.S - Also attached the Java script codes and the image of the Date Picker field.