Skip to main content

robot framework client to control remote device farm using openstf farm api

Project description

robotframeworkopenstf

Introduction

Robot framework client library for openstf control using open stf swagger api (https://vbanthia.github.io/angular-swagger-ui/).

Installation

The recommended installation method is using pip::

pip install robotframework-openstf

Usage

.. code:: robotframework

*** Settings ***
Library    OpenStf   ${stf_base_url}    ${stf_user_auth}   
*** Variables ***
${stf_base_url}     http://myhost.com/api/v1
${stf_user_auth}    Bearer << mytoken >>
*** Test Cases ***
test 1
    ${result}=    Get Device List  
    log    ${result} 
test 2
    ${result}=    Get Device Information    ${stf_sample_serial}
    log    ${result} 

test 3
    ${result}=    Get User Profile    
    log    ${result} 

test 4
    ${result}=    Get User Devices
    log    ${result} 

test 5
    ${result}=    Add a device to a user    ${stf_sample_serial}    
    log    ${result} 

test 6
    ${result}=    Get User Device    ${stf_sample_serial}    
    log    ${result} 

test 7
    ${remoteConnectUrl}=    Remote Connect a device    ${stf_sample_serial}    
    log    ${remoteConnectUrl}

test 8
    ${result}=    Remote Disconnect a device    ${stf_sample_serial}   
    log    ${result} 
    

test 9
    ${result}=    Delete User Device    ${stf_sample_serial}    
    log    ${result} 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework-openstf-1.1.3.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file robotframework-openstf-1.1.3.tar.gz.

File metadata

  • Download URL: robotframework-openstf-1.1.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for robotframework-openstf-1.1.3.tar.gz
Algorithm Hash digest
SHA256 98a635d6d161755fb3b4862e1f16dcc3fa0ca402335dbe537286e18adddad87f
MD5 fb4f6ce3d954e869b6f81dbe99eeda67
BLAKE2b-256 258d9983e001ebd91b40aa7621ea49f79880c9c2594119132008cc324834e798

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page