Skip to content

Latest commit

 

History

History
60 lines (33 loc) · 1.16 KB

README.rst

File metadata and controls

60 lines (33 loc) · 1.16 KB

Robot Framework AsyncLibrary

Generic Robot Framework library for asynchronous keyword execution

Installation

Install the latest release via PyPi using pip:

pip install robotframework-async-keyword

Or add to your conda.yaml file:

- pip:
    - robotframework-async-keyword

In oder to help with development you can directly install from GitHub via:

pip install git+https://github.com/rlehfeld/robotframework-async-keyword.git

Or add to your conda.yaml file:

- pip:
    - git+https://github.com/rlehfeld/robotframework-async-keyword.git

Usage

  1. Import into a test suite with:

    Library AsyncLibrary
  2. To run a keyword asynchronously:

    ${handle}    Async Run    some keyword    first argument    second argument
  3. To retrieve the return value, a blocking call to Async Get is called with the handle:

    ${return_value}    Async Get    ${handle}
  4. To wait with a timeout use

    ${return_value}    Async Get    ${handle}    timeout=5 sec