Brian Norman (BrianNorman)
Principal Technical Writer
Pegasystems Inc.
BrianNorman Member since 2016 12 posts
Posted: August 12, 2016
Last activity: August 22, 2017
Posted: 12 Aug 2016 16:45 EDT
Last activity: 22 Aug 2017 13:49 EDT

How do I send an "Enter" key to a specific web application control?

I have a web application that has controls, when you press enter in them they change from a Textbox to a dropdown box allowing a user to select an option. I have tried using "SendKeys" however that is not reliable and is not always working. Looking at the HTML i see that onKeyDown the Textbox control is looking for a KeyCode of 13 ( which is enter) before allowing the javascript to run.
Is there a way to send a Keydown that contains a KeyCode=13 using Javascript in OpenSpan?

Take a look at the attached PDF to see the full conversation.

***Updated by moderator: Marissa to update categories***

***Content has been archived for educational purposes. Links and content will no longer be updated. If you have a similar question, please write a new post.***

Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.