Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. App For Port [Arguments] ${app}
  2. # Try to launch one app on either port, continue if it fails on port 1 and launch it on port 2, record if it fails on both.
  3. ${returned_port} Set Variable ${1}
  4. : FOR ${port_num} IN 1 2
  5. ${returned_port} Set Variable If ${port_num} == 2 ${2}
  6. Check App Launch ${app} ${port_num}
  7. Return From Keyword ${returned_port}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement