Contents
Robotframework-OTP is a Robot Framework test library for generating two-factor One Time Passwords. The project is hosted on GitHub and downloads can be found from PyPI.
pip install robotframework-otp
*** Settings ***
Library OTP
*** Test Cases ***
Get OTP from secret
${otp}= Get OTP ${SECRET}
Should Match Regexp ${otp} \\d{6}
python -m robot.libdoc src/OTP/ doc/OTP.html