Confirmation message

A “PerformClick” method on a button launches saving process.

But before any other interaction with Pega, a confirmation message box is displayed to accept the saving.

So a manual click is required.

How is it possible to avoid this step ?

@JeanChristopheD17042937I am imagining that the dialog from your application is modal and is triggered by the click of the button. If this is the case, then I would handle it as follows.

  1. The automation to click this button would start with a parallel process component.
  2. On the first thread coming out of the right of the component would be the PerformClick method of the button.
  3. Add a second thread to the component and off of this thread, handle and ultimately dismiss/close the dialog.
  4. Off of the bottom thread from the component, continue your automation onto whatever needs to be done after the dialog and the click.

The PerformClick method in this case is synchronous, meaning it won’t complete until the dialog is dismissed. By using the parallel process component, you can have one thread blocked (the PerformClick), while you have another thread handling the dialog and ultimately closing it and freeing up the first thread. The bottom thread from the component is a continuation of the input thread and is used to continue the remaining parts of the automation.

Please let me know if you have any questions or need an example.