Skip to main content

Raising events

Raising events

Depending upon the application development, certain events that happen with a user interaction may not occur when automated. Certain events trigger another application control to respond, such as tabbing away from a field after entering a value prompts the application to evaluate the entry and perform a separate action. In an automation, when moving data into that field, the tab event does not occur and then the evaluation check does not occur either.

Pega Robot Studio™ provides a method for some controls that enable you to mimic user interactions in the application. This RaiseEvent method allows you to keep the integrity of the coded application processes while still automating the full process.

From the Object Explorer, highlight the control requiring the event and search for the RaiseEvent method from the Configure Type option in the Object Inspector. After adding the RaiseEvent method for the control to the automation, click the parameter to select the desired user event to mimic.

raise event example

This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice