Question

13
Replies
1657
Views
Close popover
Ric Ya (RYBAML17)
Bank of America

Bank of America
US
RYBAML17 Member since 2017 2 posts
Bank of America
Posted: September 7, 2017
Last activity: October 4, 2017
Closed
Solved

How do I wait for screen to refresh without using pauses, in mainframe?

Currently, we are automating in the mainframe (QWS3270) using the GenericWinHllapi adapter.

We are using pauses to wait for the screen to refresh and then check the status line for specific texts and then progress to the next steps from there. (See attachment for details).

We currently wait/pause 1 second before checking the status. Is there another method(s), without using pauses, to wait for the screen to refresh, and then grab the change? We tried using the TextChanged WaitForEvent, but that doesn't work (we have submitted a defect ticket against that, already).

One concern was that, what if the mainframe takes 3 seconds to refresh, or 10 seconds, or x number of seconds. So, instead of using explicit waits/pauses, is there another way to do this?

Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.