|
| 1 | +--- |
| 2 | +id: test-data-generation |
| 3 | +title: Test Data Generation |
| 4 | +hide_title: false |
| 5 | +sidebar_label: Test Data Generation |
| 6 | +description: Generate synthetic test data, mask sensitive payloads in network logs and recordings, and parameterize tests across environments on TestMu AI. |
| 7 | +keywords: |
| 8 | + - test data generation |
| 9 | + - synthetic data |
| 10 | + - data masking |
| 11 | + - network data masking |
| 12 | + - parameterization |
| 13 | + - kaneai datasets |
| 14 | + - kaneai parameters |
| 15 | + - kaneai variables |
| 16 | + - test data management |
| 17 | + |
| 18 | +url: https://www.testmuai.com/support/docs/test-data-generation/ |
| 19 | +site_name: TestMu AI |
| 20 | +slug: test-data-generation/ |
| 21 | +canonical: https://www.testmuai.com/support/docs/test-data-generation/ |
| 22 | +--- |
| 23 | +import BrandName, { BRAND_URL } from '@site/src/component/BrandName'; |
| 24 | + |
| 25 | +<script type="application/ld+json" |
| 26 | + dangerouslySetInnerHTML={{ __html: JSON.stringify({ |
| 27 | + "@context": "https://schema.org", |
| 28 | + "@type": "BreadcrumbList", |
| 29 | + "itemListElement": [{ |
| 30 | + "@type": "ListItem", |
| 31 | + "position": 1, |
| 32 | + "name": "Home", |
| 33 | + "item": BRAND_URL |
| 34 | + },{ |
| 35 | + "@type": "ListItem", |
| 36 | + "position": 2, |
| 37 | + "name": "Support", |
| 38 | + "item": `${BRAND_URL}/support/docs/` |
| 39 | + },{ |
| 40 | + "@type": "ListItem", |
| 41 | + "position": 3, |
| 42 | + "name": "Test Data Generation", |
| 43 | + "item": `${BRAND_URL}/support/docs/test-data-generation/` |
| 44 | + }] |
| 45 | + }) |
| 46 | + }} |
| 47 | +></script> |
| 48 | + |
| 49 | +# Test Data Generation |
| 50 | +* * * |
| 51 | + |
| 52 | +<BrandName /> provides built-in capabilities to generate, manage, and protect the test data your teams use across automation. You can author synthetic datasets for data-driven tests, mask sensitive payloads in network logs and test recordings, and parameterize tests so the same flow runs across environments and inputs without rework. |
| 53 | + |
| 54 | +This page summarizes the three capabilities and points you to the deeper documentation for each. |
| 55 | + |
| 56 | +--- |
| 57 | + |
| 58 | +## Synthetic Data Generation |
| 59 | + |
| 60 | +Author and manage datasets directly inside KaneAI Test Manager to drive the same test case with multiple inputs. Datasets remove the need to hand-craft fixtures or maintain external data files. |
| 61 | + |
| 62 | +**Capabilities:** |
| 63 | +- **Auto-generated default datasets** — every test case that uses parameters generates an immutable default dataset during authoring |
| 64 | +- **Custom datasets** — create copies of default datasets, add rows, and edit values to cover additional scenarios |
| 65 | +- **Autofill with AI** — populate dataset fields automatically based on parameter names (for example, generate realistic names, ages, and phone numbers) |
| 66 | +- **CSV import** — bring existing test data into KaneAI by uploading a CSV |
| 67 | +- **Version history** — track changes, revert, or restore previous dataset versions for audit and recovery |
| 68 | + |
| 69 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/datasets/1.png').default} alt="KaneAI Test Manager Parameters table with Age, Phone number, and Name columns" className="doc_img img_center"/> |
| 70 | + |
| 71 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/datasets/5.png').default} alt="Autofill with AI populating dataset values automatically" className="doc_img img_center"/> |
| 72 | + |
| 73 | +**Documentation:** |
| 74 | +- [KaneAI Datasets](/support/docs/kane-ai-using-datasets/) |
| 75 | + |
| 76 | +--- |
| 77 | + |
| 78 | +## Data Masking |
| 79 | + |
| 80 | +Protect credentials, tokens, and other confidential values from showing up in network logs and test recordings. Masking is enforced at the platform level so sensitive data never lands in shared artifacts. |
| 81 | + |
| 82 | +**Capabilities:** |
| 83 | +- **Network payload masking (Selenium)** — set the `network.mask` capability to `true` to automatically mask values for sensitive keys (`key`, `password`, `token`, `auth`, `email`, `cipher`, `secret`, `nonce`, `salt`) across request headers, response headers, and cookies |
| 84 | +- **Lambda Masking for HyperExecute recordings** — automatically hide sensitive interactions captured in Playwright test recordings, including credentials, geolocation, and storage state |
| 85 | +- **Compliance-ready logs** — share test results, debug network traffic, and store CI/CD reports without exposing production secrets |
| 86 | + |
| 87 | +**Documentation:** |
| 88 | +- [Network Data Masking for Selenium](/support/docs/network-data-masking/) |
| 89 | +- [HyperExecute Lambda Masking (Release 2.3.1)](/support/docs/hyperexecute-release-notes-2-3-1/#mask-your-sensitive-data) |
| 90 | + |
| 91 | +--- |
| 92 | + |
| 93 | +## Parameterization |
| 94 | + |
| 95 | +Pass dynamic values into test cases at runtime so a single test runs across environments, accounts, and configurations. KaneAI provides a layered model — variables, secrets, smart variables, parameters, and datasets — so each piece of dynamic data is stored in the most appropriate way. |
| 96 | + |
| 97 | +**Capabilities:** |
| 98 | +- **Variables** — reusable placeholders for values that change between runs (URLs, user IDs, configuration flags) |
| 99 | +- **Secrets** — encrypted storage for credentials and other sensitive inputs that must never appear in plain text |
| 100 | +- **Smart variables** — context-aware values that resolve at runtime (for example, the current build's artifact URL) |
| 101 | +- **Parameters** — values supplied to a test case at execution time, including URL and data input fields, with the ability to convert any literal step value into a parameter on the fly |
| 102 | +- **Datasets** — combine parameters into rows for data-driven runs across multiple inputs |
| 103 | + |
| 104 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/1.png').default} alt="Convert step value as Parameter, Variable, or Secret in KaneAI" className="doc_img img_center"/> |
| 105 | + |
| 106 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/3.png').default} alt="Create Parameter dialog with name and value fields in KaneAI" className="doc_img img_center"/> |
| 107 | + |
| 108 | +**Documentation:** |
| 109 | +- [KaneAI Variables & Parameters Overview](/support/docs/kaneai-variables-and-parameters/) |
| 110 | +- [Using Variables](/support/docs/kane-ai-using-variables/) |
| 111 | +- [Using Parameters](/support/docs/kane-ai-using-parameters/) |
| 112 | +- [Secrets](/support/docs/kane-ai-secrets/) |
| 113 | + |
| 114 | +--- |
| 115 | + |
| 116 | +## Related Resources |
| 117 | + |
| 118 | +- [Enterprise Readiness Overview](/support/docs/enterprise-ready/) |
| 119 | +- [Product Security](/support/docs/enterprise-ready/#product-security) |
| 120 | +- [Data Protection & GDPR](/support/docs/enterprise-ready/#data-protection--gdpr) |
| 121 | + |
| 122 | +<nav aria-label="breadcrumbs"> |
| 123 | + <ul className="breadcrumbs"> |
| 124 | + <li className="breadcrumbs__item"> |
| 125 | + <a className="breadcrumbs__link" target="_self" href={BRAND_URL}> |
| 126 | + Home |
| 127 | + </a> |
| 128 | + </li> |
| 129 | + <li className="breadcrumbs__item"> |
| 130 | + <a className="breadcrumbs__link" target="_self" href={`${BRAND_URL}/support/docs/`}> |
| 131 | + Support |
| 132 | + </a> |
| 133 | + </li> |
| 134 | + <li className="breadcrumbs__item breadcrumbs__item--active"> |
| 135 | + <span className="breadcrumbs__link"> |
| 136 | + Test Data Generation |
| 137 | + </span> |
| 138 | + </li> |
| 139 | + </ul> |
| 140 | +</nav> |
0 commit comments