.. 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_.
.. image:: https://circleci.com/gh/FormulatedAutomation/robotframework-otp.svg?style=svg :target: https://app.circleci.com/pipelines/github/FormulatedAutomation/robotframework-otp
Libdocs <https://itsautomic.github.io/robotframework-otp>
_
pip install robotframework-otp
.. code:: robotframework
*** 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
.. _Github: https://github.com/itsautomic/robotframework-otp .. _pypi: https://pypi.org/project/robotframework-otp .. _Robot Framework: https://robotframework.org