The Simplest Way to Make Cloud Storage and Testcomplete Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair cloud storage and TestComplete to pull test inputs and save run logs in one place. This setup lets automated tests read fresh data and store results across build agents. Modern QA teams run UI tests across many virtual machines at once. Local folders cause drift when test agents do not share the same files. Central storage solves this problem for distributed test suites. Each test node pulls the exact files it needs right when the job starts. When the job ends, the node sends screens

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams pair cloud storage and TestComplete to pull test inputs and save run logs in one place. This setup lets automated tests read fresh data and store results across build agents.

Modern QA teams run UI tests across many virtual machines at once. Local folders cause drift when test agents do not share the same files. Central storage solves this problem for distributed test suites. Each test node pulls the exact files it needs right when the job starts. When the job ends, the node sends screenshots and execution logs back to the bucket.

How data and permissions flow between cloud storage and TestComplete

The workflow starts when a build runner wakes up to run a test suite. The runner logs in to the cloud provider using a machine role or secret key. Next, a script downloads input spreadsheets, baseline images, and app installers to the local disk. The test engine then reads those local files and executes the UI checks. After the run finishes, the script uploads the output report to a results folder.

Permissions drive how safe this flow stays over time. The test runner needs read rights for the input bucket and write rights for the log bucket. It should never hold delete rights on shared test baselines. Separating input folders from output folders keeps a broken test from wiping good data. Teams also tag each uploaded log folder with the build number and git branch.

Common failure modes and how to scope roles and network paths

The biggest risk in this setup is a shared service account with broad rights. Teams often paste one admin key into every test project to save time. If that key leaks in a test log, an attacker can read all company buckets. Broad tokens also allow a bad script to overwrite production files by mistake. Unlogged file pulls make it hard to see which agent touched which dataset.

Another failure mode happens when real customer data sits in test buckets. Test files sometimes contain live emails, phone numbers, card numbers, or national IDs. If every laptop and build agent can pull those files, exposure risk grows fast. Masking rules that rewrite matched fields in results help reduce this data exposure.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix these issues, create a dedicated machine role just for the test nodes. Scope that role so it can only read one input prefix and write to one output prefix. Rotate any static keys on a set schedule, or use workload identity roles instead. Lock down the network path so only known build subnets can reach the test bucket. Turn on bucket audit logs to track every file read and upload event.

Keeping test artifacts clean and fast across test runs

UI tests create thousands of small screenshots and trace files every single day. Leaving old files in the main working folder slows down directory listing steps. Slow file syncs add minutes to every build and delay feedback for developers. Set up lifecycle rules on the bucket to move old test logs to cold storage. Delete routine debug logs after thirty days, and keep only failed run artifacts longer.

Version control for large test binaries also works better in object buckets than in git. Store heavy app installers in a versioned bucket prefix tied to the build ID. Have the test runner fetch the matching installer right before the test begins. This pattern keeps your code repos small and makes test runs easy to repeat.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

Should TestComplete read files straight from the bucket during a test run?

No, network lag can make UI timing checks fail. Sync the needed input files to the local disk before the test starts, then upload logs after it ends.

How do we stop test runners from overwriting logs from other parallel jobs?

Give each test run a unique folder path using the build ID and timestamp. Scope the runner role so it can write new objects but cannot overwrite existing ones.

What is the safest way to handle sensitive fields in test input files?

Use synthetic data whenever you can for UI test suites. If you must use real layouts, apply data masking to rewrite emails, phone numbers, and card numbers before upload.

The query runs. The emails stay hidden.