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.

Source Distribution

robotframework-remotetransfer-0.0.1.tar.gz (7.0 kB view hashes)

Uploaded Source

Supported by

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