When you outsource test automation, hand over the work of building, running and maintaining the automated tests. Keep three things in-house: the test strategy, the product knowledge and the decision to release. Keep the test code in your own repository and pipeline from the first day, so that you can continue without the vendor.
This guide is for engineering managers, product owners and IT heads who plan to give test automation to an outside team. It explains which tasks move, which stay, who is responsible for each one, how to keep ownership of the test code and how to tell after a few weeks whether the engagement is working. If you want to see how such an engagement runs step by step, our QA automation outsourcing page describes it. Whether a given check should be automated at all is a separate question, covered in manual vs automated testing: what to automate first.
Key takeaways
- An outside team can write and maintain tests well. It cannot decide what matters to your business.
- Three things stay in-house: test strategy, product knowledge and release decisions.
- Name one owner on your side. Without one, questions wait and the suite drifts away from the product.
- The test code lives in your repository, runs in your pipeline and uses a widely used open-source framework.
- Judge the engagement by whether your developers trust the results, not by the number of tests.
What can you hand to an outsourced automation team?
Hand over the work that is skilled, repetitive and well defined. An automation engineer from outside can do it as well as one inside, as long as the inputs are clear.
- Framework setup. Project structure, configuration, helpers for sign-in and test data, and reporting.
- Writing the tests. Smoke checks, regression tests of the critical flows and API tests, from a priority list you approve.
- Pipeline integration. The job that runs the tests on every build, and the schedule for longer runs.
- Maintenance. Updating tests when the product changes, and finding the cause when a test fails without a real defect.
- Flaky test handling. A flaky test passes and fails on the same code. The team should quarantine it, record the cause, and fix or delete it.
- Reporting. The result of each run, with evidence for every failure, sent to the place your developers already read.
- Documentation. How to run the suite, how to add a test and how the test data is created.
These tasks have one thing in common: you can check the result without doing the work yourself.
What should you keep in-house?
Test strategy
Strategy is the answer to three questions: what must never break, how much risk is acceptable in a release, and where the testing effort should go. The vendor should propose answers. You decide. If the vendor decides alone, it will automate what is easy to automate, and that is not always what is risky.
Product knowledge
Your people know why a rule exists, which customers depend on an unusual case and what is planned for the next quarter. An outside team learns this only from you. Plan time for walkthroughs at the start and for questions every week, and write down the expected behavior of the critical flows, even briefly.
Release decisions
A green suite means the automated checks passed. It does not mean the release is good. Someone in your company must weigh the test results, the open defects, the manual and exploratory findings and the business situation, and then decide. Do not give this decision to a vendor, and do not let a pipeline make it alone for a release that carries real risk.
Exploratory testing of new features
Automated tests confirm what is already known. New features need a person who explores them and notices what nobody expected. This can be your own tester, your product owner or a separate manual testing service.
Who is responsible for what?
"Decides" means the final decision. "Does" means the work.
| Task | Your team | Outsourced team |
|---|
| Test strategy and risk priorities | Decides | Proposes, with reasons |
| List of flows to automate first | Approves | Drafts from the audit |
| Choice of framework and language | Approves | Proposes, with reasons |
| Repository and pipeline | Owns and grants access | Works inside them |
| Test environment and test accounts | Provides | Reports problems with them |
| Test data | Sets the rules: synthetic or masked | Builds the data setup inside the tests |
| Writing and updating tests | Reviews pull requests | Does |
| Running the suite | Pipeline runs it | Keeps the job healthy |
| Investigating a failed test | Fixes product defects | Finds the cause, reports defect or fixes test |
| Flaky tests | Sees the list | Quarantines, records, fixes or deletes |
| Exploratory testing of new features | Does, or assigns separately | Only if agreed as extra scope |
| Release go or no-go | Decides | Supplies the results |
| Documentation and handover | Checks that it works | Writes |
Two rows cause most disputes. The first is the test environment: if it is unstable, the tests fail for reasons that have nothing to do with the product, and the vendor is blamed. The second is failure investigation: agree how quickly a red result must be explained, and who is told.
How do you keep ownership of the test code and avoid lock-in?
Lock-in in test automation rarely comes from a contract clause. It comes from practical details: the code sits in the vendor's account, the tests need the vendor's own tool to run, or only the vendor's engineers understand the structure. Prevent each of these directly.
- Your repository from the first commit. The vendor's engineers get access to your repository. Nothing is developed elsewhere and copied over later.
- Your pipeline. The tests run in the CI system you already use, for example GitHub Actions, GitLab CI/CD or Jenkins, with credentials stored in your own secrets.
- A widely used open-source framework. Playwright, Cypress and Selenium WebDriver are examples. Avoid a framework that only the vendor sells or maintains, unless you accept that dependency knowingly.
- Plain code, reviewed by your developers. If your developers cannot read a test, ask for it to be simplified. Pull request review is the cheapest protection you have.
- Ownership in the contract. State that the test code, framework configuration and documentation belong to you, and when the transfer takes effect. Many vendors, including us, transfer ownership on full payment; our intellectual property ownership page shows what such a clause covers.
- A handover test. Before the engagement ends, or once a year, one of your engineers runs the suite and adds a test using only the documentation. If that fails, the documentation is not finished.
- Access you can remove. Named accounts, no shared passwords, and a list of what to revoke on the last day.
Ask about each point before you sign. Our guide to choosing a QA outsourcing vendor has a full question list and a scorecard.
What are the signs the engagement is working?
Do not count tests. A large number of tests can hide a suite that nobody trusts. Look at behavior.
| Sign it is working | Sign it is not |
|---|
| Developers look at a red result and act on it the same day | Developers re-run the job until it turns green |
| Failures usually point to a real defect or a deliberate product change | Most failures are explained as "the test environment" |
| The smoke suite finishes in minutes and runs on every build | The suite is run by hand, before releases only |
| The flaky test list is short and gets shorter | The same tests are quarantined month after month |
| Manual regression time before a release is going down | Manual regression is unchanged and automation is extra work |
| Your engineers have added tests themselves | Only the vendor can change the suite |
| The vendor asks questions about the product every week | The vendor asks nothing and delivers a test count |
Check these after the first month and then every quarter. If the signs on the right appear, the cause is often on both sides: an unstable environment, no named owner, or a priority list that was never approved. Fix the cause before you change the vendor. For the wider decision of when to outsource testing and which model to use, see the QA outsourcing guide.
How Timeline Digital works on test automation
Timeline Digital is a custom software development company founded in 2013 and headquartered in Islamabad, Pakistan. We deliver test automation remotely as a managed project, not by placing engineers in your team, and we work in the client's repository and pipeline as described above. The pilot is always free. The free pilot of 2 to 3 key modules is ready in about 2 days. For automation, that means a first suite for 2 to 3 key flows that your developers can read and run before you decide. Timeline Digital does not publish prices for custom software, because every project is custom. Test code, framework and documentation transfer to you on full payment, as written in the contract. Our working hours are Monday to Friday, 9:00 to 18:00 Pakistan time (PKT, UTC+5), which covers the morning in the UK and Central Europe. The engagement is set out on our QA automation outsourcing services page.