Skip to content

rlehfeld/robotframework-async-keyword

 
 

Repository files navigation

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

About

Generic Robot Framework library for asynchronous keyword execution

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.6%
  • RobotFramework 6.4%