Question
3
Replies
444
Views
Ford Motor Company Ltd
Posted: May 8, 2019
Last activity: May 28, 2019
Closed
Enter key in Textbox
I have a text box where I give Incident number and hit 'Enter' key in the keyboard so that the page loads.
Using Pega, I am able to manage to enter the Incident number by passing text to txtIncident. Can you help how to automate Enter key after giving the Incident number?
As per you description, if you are entering Incident number and the very next step if you are pressing enter key. Then on the text box control, after setting the value to txtIncident, you need to use sendkeys() method to pass Enter as key. i.e keycode for Enter is {ENTER} or ~
After the focus is changing from the textbox control(may be pressing tab or by clicking mouse) above solution will not work. Hence, as screenshot of the windows form will help.