A buyer owns the test automation code a QA vendor writes only as far as a written agreement transfers it: under Polish law, a transfer covers only the fields of exploitation (the forms of use, such as copying, modifying or distributing, that a Polish copyright transfer or license lists) it names ev-content-contracts-003confidence A and is void unless made in writing ev-content-contracts-005confidence A. Where a suite also runs on the vendor's own framework or on open-source libraries, the license terms for those layers, and any escrow (deposit of source code with an independent agent, who releases it to the buyer on agreed events), decide whether the suite still runs and can be changed after the vendor leaves.
On this page
A test suite has three ownership layers
Each layer of an outsourced test suite needs its own clause, because the buyer acquires rights to each in a different way. The first layer is code written for the buyer: test scripts, page objects (classes that wrap the screens of the application under test, so that scripts do not repeat element locators), test data generators, fixtures (the fixed data or setup code a test needs before it runs) and pipeline configuration. The second is the vendor's pre-existing material: an in-house framework, helper libraries, reporting plugins and templates it reuses across clients. The third is open-source tooling such as the Playwright framework, published under the Apache License, Version 2.0 ev-content-teamcost-006confidence A.
Non-code deliverables sit in the first layer. Test cases, test plans, defect reports and run reports may be protected works too, and a clause that names only "source code" leaves them out. The rules quoted below are Polish law and apply where Polish law governs the agreement, for example where the parties chose it ev-content-eujur-015confidence A. A buyer whose contract names another law should have counsel check the equivalent points under that law.
Possession is not ownership. Under the Polish Copyright Act, transferring ownership of a copy of a work does not transfer the economic rights (the copyright entitlements to use a work and to permit its use, as distinct from the author's personal rights) to it, unless the agreement provides otherwise ev-content-ipcode-006confidence A. A buyer that hosts the repository in its own organization holds every file, yet it may hold no rights to modify or reuse them.
The boundary between the first two layers blurs in practice. A vendor engineer who extends a framework helper to handle the buyer's login flow produces code that mixes pre-existing and new material, and a clause that assigns "deliverables" without saying which side of the line such changes fall on invites a dispute at exit. The cleanest fix is a layer map: a file in the repository, updated each release, that tags every directory as assigned, licensed or open source.
What Polish law fills in when the clause is silent
Silence in an IP (intellectual property, here the copyright in test code and test documents) clause defaults to a license, and the default license is narrow. Where an agreement has no express provision transferring a right, the author is deemed to have granted a license ev-content-ipcode-001confidence A. Unless the agreement says otherwise, that license runs for five years and covers only the country where the licensee has its seat, and the right expires at the end of the term ev-content-ipcode-002confidence A.
Four further defaults matter for test code at exit:
- Use by others. Unless the agreement allows sublicensing (a licensee permitting another person to use the licensed work), a licensee may not authorize another person to use the work within the license ev-content-ipcode-003confidence A. A successor vendor or a group company running the suite is another person.
- Termination by notice. Unless the agreement provides otherwise, the author may terminate a license granted for an indefinite period with the contractual notice or, absent one, with one year's notice to the end of a calendar year; a license for more than five years is treated as indefinite once five years have passed ev-content-ipcode-005confidence A.
- Derivative rights need their own consent. Unless the agreement provides otherwise, the author keeps the exclusive right to authorize the exercise of derivative copyright (the right in an adaptation of a work, such as a translated or reworked version), even where the agreement transfers all economic rights ev-content-ipcode-007confidence A. The rule concerns the use of an adaptation, not ownership of it. For computer programs, the economic rights include the right to adapt and make any other changes to the program, preserving the rights of the person who made the changes ev-content-ipcode-010confidence A. How the two rules meet for a given suite is a question for counsel.
- Exclusivity needs writing. A license that does not reserve exclusivity leaves the author free to license others, and an exclusive license is void unless made in writing ev-content-ipcode-004confidence A.
The chain behind the vendor matters as much as the clause with the buyer. The Copyright Act's employer rule for programs covers economic rights in a program created by an employee as a result of performing employment duties; the contracts and data protection guide quotes it. Engineers who work under a B2B contract (a contract between a company and a self-employed engineer who invoices for services) are not engaged as employees, so the vendor needs a written transfer from each of them; the article on Polish B2B contracts covers that layer.
Clause patterns and what each leaves at exit
The same deliverable can end the engagement owned, licensed or locked, depending on which pattern the contract uses. The patterns below cover the main choice for each layer, with the consequence each one has on the day the vendor leaves.
Assignment of code written for the buyer. An assignment clause can tie the transfer to one of three moments: creation, acceptance or payment. A transfer on creation is drafted to reach everything committed before termination, including unfinished work. A transfer on acceptance can leave the last sprint's unaccepted tests with the vendor. A transfer on payment can give the vendor a hold over the code during a disputed final invoice. How far each trigger works is subject to the governing law.
The assignment also has to name what it covers. An agreement is void in the part covering all future works, or all future works of a given kind, of the same author ev-content-ipcode-008confidence A. The guide linked above adds the limit on fields unknown at signature. A clause tied to the deliverables of each statement of work (the document under a master agreement that lists the deliverables, dates and price of one piece of work) is drafted with both limits in mind. Its fields can be listed as storing, copying, modifying, running in any pipeline and passing to third parties.
License to the vendor's framework. A license "for the term of the services" ends when the services end, and the transferred tests may then call code the buyer can no longer use. A license limited to the compiled form (the machine-executable build of a program, delivered without its source code) can let the suite run without letting anyone fix the framework when the application under test changes. The pattern designed to survive exit is a written, non-exclusive license with no end date, excluded from termination by notice, covering modification, worldwide use and sublicensing to group companies and successor vendors.
The ideas behind a framework are not protected, while its code is. Protection of a computer program covers its forms of expression, while the ideas and principles underlying any element, including its interfaces, are not protected ev-content-ipcode-009confidence A. A buyer that cannot obtain an acceptable license can plan a rewrite of the framework layer against documented interfaces. Copying or reworking the vendor's code still needs rights, so whoever writes the replacement works from the interface documentation, and counsel confirms the approach.
Open-source components. Open-source libraries arrive with their own license, separate from the vendor contract. The Apache License, Version 2.0 grants, subject to its terms and conditions, a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license, including the right to prepare derivative works ev-content-ipcode-011confidence A. Other licenses set other terms. The contract therefore needs a dependency list with license names, not a transfer.
Escrow of what the buyer does not own. An escrow clause has the vendor deposit the source of its framework with an independent escrow agent, refreshed on each release used by the buyer's suite. The release events to list are the vendor's insolvency, discontinuation of the service line and termination for the vendor's breach. A deposit nobody has built is of little use, so the clause should give the buyer a right to have the agent compile the deposit and run the suite against it.
Escrow is the wrong tool for code the buyer owns. Assigned test code belongs in a repository under the buyer's organization from the first commit, so a deposit of the same files adds little at exit. The article on taking automation in-house covers the move itself, and the exit clauses article covers notice and knowledge transfer.
IP clause patterns for a QA engagement and their consequence at exit
- Assignment trigger: on creation, not on acceptance or payment. At exit: work in progress is inside the clause, and payment of a disputed invoice is not a condition of the transfer
- Assignment scope: deliverables per statement of work, covering test scripts, page objects, data generators, fixtures, pipeline configuration, test cases and reports. At exit: fewer deliverables fall outside the clause than under a 'source code' definition
- Fields of exploitation listed: storing, copying, modifying, translating to another framework, running in any pipeline, distributing to group companies and third parties. At exit: the buyer can point to the listed field for each use
- Consent to exercise derivative rights stated in the agreement. At exit: a successor vendor or in-house team that uses adapted tests can point to a written consent
- Written form for the transfer and for any exclusive license. At exit: the buyer's title does not rest on an email exchange
- Vendor warranty that every contributor, employee or B2B, transferred rights in writing. At exit: the buyer has a contractual claim against the vendor if a contributor contests a file
- Framework license: written, non-exclusive, no end date, termination by notice excluded, worldwide, with modification. At exit: the buyer holds a written right to keep running and changing the suite
- Framework sublicense right to group companies and successor vendors. At exit: the next team works under a written permission
- Framework delivered in source form, or in compiled form plus escrow. At exit: the source needed for a framework fix is in hand or on deposit
- Escrow deposit refreshed per release, with a verification build. At exit: the buyer has a dated record of whether the deposit compiled and ran the suite
- Escrow release events listed: insolvency, end of the service line, termination for vendor breach. At exit: the agent has written events to release against
- Dependency list with each open-source package and its license name, updated per release. At exit: the buyer's license review starts from a current list
- Repository and pipelines hosted under the buyer's organization from the first commit. At exit: fewer assets to recover from the vendor's systems
- Interface documentation for the framework layer as a deliverable. At exit: a rewrite of the framework layer has a specification to work from
- Layer map in the repository tagging each directory as assigned, licensed or open source, updated per release. At exit: a recorded line between vendor and buyer code
Where the IP clause sits in the contract set
The IP clause is one row of a longer contract, and its terms should be fixed before the pilot, not at renewal. Test code written in a pilot is exposed first, as the four-week pilot article notes. The contracts and data protection guide lists IP transfer, contributor rights and vendor accelerators next to the data protection and exit clauses, and this article adds the statutory defaults and exit consequences behind those rows.
The clause also affects how a buyer reads automation claims. The test automation category lists the ranked vendors that offer test automation, and the ranking does not score IP terms. A buyer comparing vendors there should ask each one, in writing, which parts of its proposed suite rely on pre-existing material and on what license terms that material is offered.