Skip to main content

Keyword library to allow transfering screenshots from remoteserver to local machine

Project description

robotframework-remotetransfer

Very small keyword library to allow transfering log files like screenshots between host running a robotframework and robotremoteserver

Usage:

  • Load remotetransfer library into python remote server and into robot framework.
  • Use Transfer Files keyword to load files from output directory and save the results into a dict variable.
  • Use Save Files to store those back into output directory.

This works by providing a library prefix to the keyword do denote where files are transfered from and save to, like this:

*** Settings ***
Library       Remote    http://127.0.0.1:8270
Library       RemoteTransfer

*** Test Cases ***
Try Out Remote Transfer
  ${results}=   Remote.Transfer Files  *.png
  RemoteTransfer.Save Files  ${results}

Library uses base64 encoding to transfer files over robot's rpc interface - so keep that in mind - filetransfers can grow pretty large.

Project details


Download files

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

Files for robotframework-remotetransfer, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size robotframework-remotetransfer-0.0.2.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page