$10.15

How to limit a keyword's execution time without failing?

Ask a question+
1

Currently, I am testing an API on a server. It takes some amount of time to complete after closinig the connection from another external computer to that server. I would like limit the amount of time my test waits for disconnection to complete, but I need to continue with the next test keyword. Short of cutting my test suite into 2 consecutive test cases. How can I tell Robot Framework to allow my keyword seconds to complete and then to continue along?

Jack 580
add comment

1 Answer

0

You Can use “Wait Until Keyword Succeeds” keyword . like Wait Until Keyword Succeeds 5x 4s click Element xpath=……..

Ian 360
add comment

Your Answer