robotframework-async-keyword

Generic Robot Framework library for asynchronous keyword execution


Keywords
async, robotframework
License
MIT
Install
pip install robotframework-async-keyword==1.1.10

Documentation

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