Skip to main content

A python package to test AWS services in Robot Framework

Project description

robotframework-aws

Contributors are welcome. This package is at the beginning of development.

contributions welcome PyPI Build Status

Last Commit License Downloads Coverage

KEYWORD DOCUMENTATION


A library of keywords for interacting with AWS services in your robot tests. This library covers a variety of AWS services.

Documentation for Keywords



Attention Contributors

Contribution guidelines for this project

Installation

  1. Install the package
pip install robotframework-aws
  1. Import Package
Pass in your AWS Credentials as parameters as shown below.
*** Settings ***
Library  AWSLibrary  ${access_key}  ${secret_key}
  1. Creating a Test Case
    When creating a test case, start with creating a session in AWS for your test.
    ***Test Case***
    Example Test Case
         Create Session  us-east-1
         Key Should Not Exist  bucky  static/test.html  test.html
         Upload File  bucky  static/test.html  test.html
         Key Should Exist  bucky static/test.html  test.html
         Delete Session  us-east-1
    

Session

A session is created to use AWS services as a user defining the region and profile is optional.

  • | Create Session | region | profile=optional |
  • | Delete Session | region | profile=optional |
  • | Delete All Sessions |

S3

A key represents the path of the file located in the S3 bucket and Object Path represents the local path of the file on your host.
  • | Get Bucket | bucket_name |
  • | Get Object | bucket_name | object_path |
  • | Upload File | bucket_name | object_path | key |
  • | Download File | bucket_name | object_path | key |
  • | Key Should Exist | bucket_name | object_path | key |
  • | Key Should Not Exist | bucket_name | object_path | key |
  • | Allowed Methods | array of methods |

Resources

Keywords can be used for local functionality that can be used with all services. These are helper methods to validate functionality, existence, and so on.

  • | Local File Should Exist | path |
  • | Local File Should Not Exist | path |

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-aws-0.0.3.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

robotframework_aws-0.0.3-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file robotframework-aws-0.0.3.tar.gz.

File metadata

  • Download URL: robotframework-aws-0.0.3.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for robotframework-aws-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a68d93d9eff24888c14f8a7f7a4038ab18b0ac6340808168ea90ad146d86f13a
MD5 81caea66b85ef1bd7e3a195c35782337
BLAKE2b-256 1f8487938209f6fe9fbf3b9d62dd1002fd7e4436f5b3ae8c858e6027277a583c

See more details on using hashes here.

File details

Details for the file robotframework_aws-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: robotframework_aws-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

File hashes

Hashes for robotframework_aws-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 90af998836e3896c9571007daec2d5acbf7979850edf1f16f206b62a3a7819f0
MD5 7a04fb1b89f2aaa98d84be2890e72425
BLAKE2b-256 55c4b8264411c833b359ae2332971600f7435cdf80040ef27e7e90b6588ec88f

See more details on using hashes here.

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