Question

1
Replies
30
Views
Jasen Member since 2018 1 post
Federal Express Corporate Services Inc
Posted: 9 months ago
Last activity: 9 months 3 weeks ago

Java PopUp Dialog, Won't Close

Pega Robotics Studio 8.0 SP1

I am using a program built in Java. I have interrogated all fields and for the most part all seem to run as expected, with the exception of two issues:

Issue 1:
After entering an account number, I have to hit the search button or press the enter key. Even though the button is matched, it's a hit or miss as to if Pega will actually trigger the "Search". I have tried both the perform click option and sending the {ENTER} key. Neither approach has a 100% success rate.

Issue 2:
After entering the account number and clicking search, if it is an account that is closed, I get a popup dialog within the program that tells me "this account is closed". Before the automation can proceed, the dialog must be closed.

Pega only closes the dialog about 80 percent of the time. I have tried several different approaches to close it:
On create, Close
Wait for create
For Loop, Is created (and many others)
I've also tried changing the match rule to only look for part of the first or last word in the dialog box.

All these approaches work, but still only about 80 percent of the time. When I step through the automation, the dialog will be present on the screen, but will report false even though it exists. This causes a timeout because it can't proceed to the next step until the dialog closes.

I suspect that the back end match rules are changing with each additional popup, but the text is always the same. Some times it will close 3 or 4 dialog's before it has an issue.

Can someone help me, account and deal with each and every popup dialog?

***Edited by Moderator Marissa to update platform capability tags****

Data Integration Java and Activities Robotic Process Automation
Share this page LinkedIn