Pega Robot Studio - Entering in textbox of interrogated field

I’m having an issue when attempting to enter my email address in the login page of a portal automation. The value will display in the textbox; however, when I click the continue button, the portal acts like nothing is there. If I manually click on that textbox and key the value, it will enter through. I’ve tried a number of different approaches from perform click, focus, double click etc. In addition, I’ve tried to send keys, set value, set text etc. Nothing sticks in there, so I’m wondering if there’s another approach for this issue. Please let me know whenever you have a chance to review

@MichaelM4236 Is this a public-facing site that I might have access to? If so, I could take a look. If not, you may likely need to use The RaiseEvent method. There are many different events that the page might be listening for to determine when a value has been set.

It is interesting that SendKeys did not work though as that really should be the same as typing into the field. You might also look at the control in your browser using the developer tools to do a little reverse engineering to determine what it is specifically looking for.

There are some controls that are resistant to automation, so a little extra research is required to successfully get them to work.

If you cannot provide access to the page itself, I might be able to see something with some screenshots. A screenshot of the control itself on the page along with the Developer Tools window highlighting the control might help as well.

@ThomasSasnett Thanks for the quick reply - I believe you should be able to see the login screen (Log in to Samsara | The Leader in Industrial IoT). If you hit enter and it still says invalid email email format, that’s the issue I’m seeing

I’m not super familiar with the RaiseEvent method - I’ve done some research on it in the past but wasn’t really sure how to apply it. Would be interested to know how that works.

I think in this instance, there’s a sample email address that shows in the email textbox, it seems like whatever gets entered through pega is only on the surface just like that email is. Somehow, a physical click gets the text entered where it can be read when submitted.

If you need additional info, please let me know

@ThomasSasnett I just tried raise event on click before doing a perform click and it worked! I’m having other issues on entering data in textbox’s later in the automation but I’m thinking this might fix those issues too. Thanks for your help here

@MichaelM4236 Excellent news! Some controls are actually listening to these events and in some circumstances, you must raise them explicitly.