Registry / aws / robotframework-aws

robotframework-aws

JSON →
library1.0.0pypypi✓ verified 82d ago

Robot Framework library for testing AWS services. Current version 1.0.0 provides keywords for S3 (multipart upload, bucket policy), SQS (send/receive/delete messages), and configuration via endpoint URL. Last updated 2022.

pip install robotframework-aws
INSTALL
IMPORT
SIG · ROBOTFRAMEWORK-AWS
R
robotframework-aws
awspythonv1.0.0
Install
5.1s avg
Import
Disk
57MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 58.7MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 5.1s · import 0.000s · 59MB
57MB installed
● package 57MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AWSLibrary
from AWSLibrary import AWSLibrary
from AWS.services.S3 import AWSS3Client
S3Keywords
from AWSLibrary import S3Keywords
SQSKeywords
from AWSLibrary import SQSKeywords

Basic usage of S3 upload and SQS send with localstack endpoint.

*** Settings *** Library AWS.services.S3.AWSS3Client endpoint_url=${ENDPOINT_URL} Library AWS.services.SQS.AWSSQSClient endpoint_url=${ENDPOINT_URL} *** Variables *** ${ENDPOINT_URL} http://localhost:4566 *** Test Cases *** Upload File Put Object bucket_name=my-bucket file_path=/tmp/test.txt key=test.txt Send Message Send Message queue_url=http://sqs.us-east-1.localhost:4566/000000000000/my-queue message_body=Hello
Debug
Known issues
breakingVersion 0.2.0 refactored module paths: classes moved from 'robotframework_aws' package to 'AWS.services.*'.
fix
Update imports to use 'AWS.services.S3.AWSS3Client' etc.
affects: <0.2.0
gotchaMany keywords require explicit 'bucket_name' and 'key' parameters; the library does not assume default region or credentials – you must configure boto3 separately (env vars or AWS profile).
fix
Set AWS credentials via environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_DEFAULT_REGION) before test run.
affects: all
gotchaThe library uses 'endpoint_url' parameter in library import. If not provided, it defaults to None, which may cause connection errors when testing against localstack.
fix
Always set endpoint_url when using localstack or custom endpoints.
affects: all
Upgrade
Version history
1.0.0latest on PyPI · released Aug 23, 2024
Audit
Dependencies
boto3requiredAWS SDK for Python
robotframeworkrequiredCore test framework
Agent activity
25 hits · last 30 days
node
22
Amazon
1
Resources
robotframework-aws — pip install robotframework-aws · libregistry