Skip to content

Generic Robot Framework library for asynchronous keyword or method execution

License

Notifications You must be signed in to change notification settings

fsehic1/robotframework-run-keyword-async

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Generic Robot Framework library for asynchronous keyword or method execution This module takes keyword as input and runs it as an independent thread. This module also provide a mechanism to wait for all the spawned thread with a timeout and returns a list containing result.

Installation

If you have pip installed:

pip3 install robotframework-run-keyword-async

Alternatively download directly from the Python Package Index:

https://pypi.python.org/pypi/robotframework-run-keyword-async

Usage

1. Import into a test suite with:

Library runKeywordAsync

2. To run a keyword asynchronously:
${handle}= Run Keyword Async <keyword name> <first argument> <second argument>

(Note: It takes only args as arguments, kwargs is not supported)

3. To wait for all keywords and retrieve the return value:
${return_value}= Wait Async All timeout=3

(Note: timeout is an optional parameter, default timeout is 60 seconds)

About

Generic Robot Framework library for asynchronous keyword or method execution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%