Question

2
Replies
78
Views
ShanthakumarO Member since 2019 6 posts
Ford Motor Company Ltd
Posted: July 24, 2019
Last activity: July 31, 2019
Closed

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.

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn