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

Published
Length
3 min read

Luis Felipe Dias

All posts

Using azure storage and testcomplete lets your team store test inputs and save run logs in the cloud. Your test runner pulls files before a run and sends results back when the job ends. This setup keeps large files out of your code repo. It also gives every test machine the exact same data at run time. Your team can review failed screen captures from one shared cloud bucket. How data moves between azure storage and testcomplete First, the test runner must log in to the cloud storage account.

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.

Using azure storage and testcomplete lets your team store test inputs and save run logs in the cloud. Your test runner pulls files before a run and sends results back when the job ends.

This setup keeps large files out of your code repo. It also gives every test machine the exact same data at run time. Your team can review failed screen captures from one shared cloud bucket.

How data moves between azure storage and testcomplete

First, the test runner must log in to the cloud storage account. You can use a cloud identity role or a short-lived shared key. The runner requests permission before it reads any test files.

Once logged in, the test tool pulls input tables and setup files. It saves these files to a local folder on the test machine. Then the app runs its checks against those local files.

When the test run finishes, the tool collects logs and screen captures. It writes these result files back to a separate cloud container. Each test run gets its own folder named with the build number.

This clear split between input and output containers prevents data mix-ups. Test scripts only read from the input path during a run. They only write to the output path when the check is done.

Common failure modes and how to scope roles

Many teams make the mistake of sharing one master storage key. They paste this key into test project files or build scripts. Anyone who reads the repo can take that key and read all cloud data.

Broad tokens also cause big problems when a test script has a bug. A bad script might delete shared input files by mistake. Then every other test job in your build pipeline will fail right away.

Azure RBAC + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Another common risk is leaving test logs open without audit trails. Test files often hold sensitive sample data like emails, phone numbers, or card numbers. If you do not log who reads those buckets, you lose track of that data.

You can fix this by giving each test runner its own narrow role. Give read-only access to the input container for the runner role. Give write-only access to the output container for saving logs.

You should also lock down network paths between the test hosts and storage. Allow traffic only from your known test subnets or build agents. Block public internet reads on all containers that hold test results.

How to handle test data cleanup and rotation

Test logs and screen images pile up fast in cloud storage. Thousands of daily test runs can drive up your monthly storage bill. Old logs also make it harder to find recent test failures.

Set up storage lifecycle rules to clean up old test output folders. You can move old run logs to cold storage after thirty days. You can delete routine pass logs after ninety days to save space.

Keep your storage keys fresh by rotating them on a fixed schedule. If you use shared keys, expire them after a few hours. Managed cloud identities are even better because they rotate tokens on their own.

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 cloud storage during a test?

No, reading over the network during a UI check can cause slowdowns and false timeouts. Pull the needed files to the local disk before the test case starts.

How do we stop test scripts from overwriting past test logs?

Use the current build ID and a timestamp in the target folder name. Also set storage rules that block edits to existing blobs once they are written.

What is the safest way to handle sensitive data in test inputs?

Use fake data for your test inputs whenever you can. If real records exist, apply data masking to rewrite emails, phone numbers, and national IDs in results.

The query runs. The emails stay hidden.