Skip to content

Instantly share code, notes, and snippets.

@Tset-Noitamotua
Created September 27, 2016 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tset-Noitamotua/388e1c9e803d2835b322f7ee1141db64 to your computer and use it in GitHub Desktop.
Save Tset-Noitamotua/388e1c9e803d2835b322f7ee1141db64 to your computer and use it in GitHub Desktop.
Robot Framework - Rerunning Suite Setup
# Actually in your __init__ file you can wrap all potential failures into Wait Until Keyword Succeeds or even all suite it and do sth like
# Example 1
***Settings***
Suite Setup Setup
***Keywords***
Suite Setup
Keyword 1
Keyword 2
Setup
Wait Until Keyword Succeeds time_to_repeat reppeat_interval
... Suite Setup
# Example 2
***Settings***
Suite Setup Suite Setup
***Keywords***
Suite Setup
Wait Until Keyword Succeeds time_to_repeat reppeat_interval
... Potential Failure Keyword
Stable Keyword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment