You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, is there a way to set timeout on string_found(). Also, what would be a sure way to confirm that the screen buffer is loaded/received completely with timeout so we can gracefully end where needed. Some of the screens don't have any fields. We check for some text on the blank screen. It is taking unusually long time on those screens. Appreciate any help. Thank you for providing this utility.
can a timeout be set for this function,
def string_wait(string):
while True:
em.wait_for_field()
c = em.exec_command(b"Ascii()")
if string in b"\n".join(c.data).decode():
return
em.exec_command(b"Wait(Output)")
The text was updated successfully, but these errors were encountered:
Hello, is there a way to set timeout on string_found(). Also, what would be a sure way to confirm that the screen buffer is loaded/received completely with timeout so we can gracefully end where needed. Some of the screens don't have any fields. We check for some text on the blank screen. It is taking unusually long time on those screens. Appreciate any help. Thank you for providing this utility.
can a timeout be set for this function,
def string_wait(string):
while True:
em.wait_for_field()
c = em.exec_command(b"Ascii()")
if string in b"\n".join(c.data).decode():
return
The text was updated successfully, but these errors were encountered: