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.4.tar.gz (3.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: robotframework-openstf-1.1.4.tar.gz
  • Upload date:
  • Size: 3.5 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.4.tar.gz
Algorithm Hash digest
SHA256 7fb4a509450c72014e44e113eaea9bf26a885283badc08aee4888162df136f79
MD5 6b8a038299aafeb4fabc2b089023e064
BLAKE2b-256 afa946af0322f15eaab3ef07570409e95a558f3e6b5a5450e7ff2d8b60b9c8f1

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