robotframework-winrmlibrary

Robot Framework library for Windows Remote Management


Keywords
testing, testautomation, robotframework
License
Apache-2.0
Install
pip install robotframework-winrmlibrary==2.0.0

Documentation

Robot Framework Windows Remote Library

Build Status

Short Description

Robot Framework library for Windows Remote Management, based on pywinrm.

Installation

pip install robotframework-winrmlibrary

Documentation

Keyword documentation for robotframework-winrmlibrary library: docs.

Example

*** Settings ***
Library    WinRMLibrary

*** Test Cases ***
Get ip on windows host
    Create Session    server    windows-host   Administrator    1234567890
    ${params}=   Create List    "/all"
    ${result}=    Run cmd    server    ipconfig    ${params}
    Log    ${result.status_code}
    Log    ${result.std_out}
    Log    ${result.std_err}
0
Windows IP Configuration
   Host Name . . . . . . . . . . . . : WINDOWS-HOST
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

License

Apache License 2.0