botremote
Version:
A remote keyword server and client for the generic test automation suite Robot Framework.
35 lines (23 loc) • 870 B
Plain Text
*** Settings ***
Library Process
Library String
*** Variables ***
${HOST} localhost
${PORT} 8270
*** Test Cases ***
Start Remote Server
${remote}= Start Process node ./test/testlibrary.js ${HOST} ${PORT}
Process Should Be Running ${remote}
Import Library Remote http://${HOST}:${PORT}
Run Synchronous Keyword Without Return Value And No Arguments
${result}= Do Nothing
Should Be Equal ${result} ${EMPTY}
Run Synchronous Keyword With Return Value And Multiple Arguments
${result}= Concatenate Arguments Bau Miao
Should Be Equal ${result} BauMiao
Ryn Synchronous Failing Keyword
Run Keyword And Expect Error AssertionError: false == true Just Fail
Shutdown Remote Server
Stop Remote Server
Wait For Process timeout=10secs
Process Should Be Stopped