OneTrust test automation

Customer experience

The cookie banner is the first thing every visitor sees. DoesQA proves it shows, records choices and gets out of the way.

OneTrust logo
OneTrust logo

Test OneTrust cookie banners and consent choices in real browsers.

What we test on OneTrust

  • Banner shows for new visitors

  • Accept all, reject all and preferences

  • Consent cookies set correctly

  • Tags fire only with consent

  • Banner per market and language

How to test OneTrust

Use a staging site with the OneTrust banner enabled. Start each run as a new visitor (no consent cookies). Check that the banner shows, that accept, reject and preferences each set the right cookies, and that tags only fire after the matching consent. Repeat in a second market if the banner is localised.

Run those journeys on every release.

In DoesQA, cookie steps check what was stored. Delete Cookies resets the visitor so every run starts fresh.

OneTrust test checklist

  • The banner shows for a new visitor.

  • Accept all, reject all and a preferences choice each complete.

  • The consent cookies match the choice.

  • A tag that requires consent does not fire after reject.

  • A second market or language shows the right banner, if you use one.

Where OneTrust tests usually break

A leftover consent cookie hides the banner.

In DoesQA, Delete Cookies resets the visitor so every run starts fresh.

Accept-all hides a broken reject path.

Cover reject and preferences, and check which tags fire.

Markets do not share one banner.

Drive country or language with Values if you localise consent.

What you need to get started

  • A staging site with the OneTrust cookie banner enabled, plus a way to identify a tag that should only fire after consent. See OneTrust and your OneTrust implementation docs (fetched 10 November 2026).

  • In DoesQA, Delete Cookies and Check Cookie are the steps that reset and assert consent.

DoesQA Flows dashboard

Get your next release tested end to end.

Hosted journeys with email, MFA, and branching. Shared Elements keep maintenance low. Pass and fail from real hosted browsers.

DoesQA Flows dashboard

Get your next release tested end to end.

Hosted journeys with email, MFA, and branching. Shared Elements keep maintenance low. Pass and fail from real hosted browsers.

Get your next release tested end to end.

Hosted journeys with email, MFA, and branching. Shared Elements keep maintenance low. Pass and fail from real hosted browsers.