> For the complete documentation index, see [llms.txt](https://learning.contextqa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learning.contextqa.com/web-testing.md).

# Web Testing

- [Web Testing Overview](https://learning.contextqa.com/web-testing/web-testing.md): Complete guide to creating, managing, and executing web application tests in ContextQA — from recording your first test to running full regression suites.
- [Creating Test Cases](https://learning.contextqa.com/web-testing/creating-test-cases.md): Create ContextQA test cases with AI assistance, file import, browser recording, or manual authoring, then verify the saved test in the editor.
- [Managing Test Cases](https://learning.contextqa.com/web-testing/managing-test-cases.md): Inspect a ContextQA test case and its creator, edit or duplicate it, move it to Trash, restore it, or permanently delete it with safeguards.
- [Finding and Organizing Test Cases](https://learning.contextqa.com/web-testing/finding-and-organizing-test-cases.md): Find ContextQA test cases by ID, title, requirement, result, or creator; organize them with folders and labels; and change status in bulk.
- [Tutorial: Record Your First Test](https://learning.contextqa.com/web-testing/recording-tutorial.md): Install the ContextQA Recorder, capture a real browser workflow as test steps, and run the recorded test — building a complete web test case without writing code or describing a single step.
- [Requirements Management](https://learning.contextqa.com/web-testing/requirements-management.md): Upload requirements to ContextQA, generate and review test cases, distinguish test-data, environment, and global variables, and analyze coverage gaps.
- [Test Steps Editor](https://learning.contextqa.com/web-testing/test-steps-editor.md): A comprehensive reference for the ContextQA step editor, covering all step types, field options, variable syntax, AI verification steps, and conditional and loop logic.
- [Debugging Test Cases](https://learning.contextqa.com/web-testing/debugging-test-cases.md): Debug test cases interactively with breakpoints, live variable inspection, step-by-step execution, and real-time browser or device viewing.
- [Uploaded Test Files](https://learning.contextqa.com/web-testing/uploaded-test-files.md): Review imported requirement files, generated tests and variable sources, AI analysis, coverage gaps, selected environment, and upload metadata.
- [Imported Files](https://learning.contextqa.com/web-testing/imported-files.md): View and manage test cases generated from imported files, review AI analysis results, and track import history.
- [Version History](https://learning.contextqa.com/web-testing/version-history.md): Track, compare, and restore previous versions of your test cases with ContextQA's built-in version history.
- [Requirements Library](https://learning.contextqa.com/web-testing/requirements-library.md): Upload requirements documents, review AI-generated test cases, analyze coverage gaps, and manage your requirements library in ContextQA.
- [Database Steps](https://learning.contextqa.com/web-testing/database-steps.md): How to add database verification steps to your test cases — run SQL queries, store results in variables, and assert expected values.
- [Custom Code Steps](https://learning.contextqa.com/web-testing/custom-code-steps.md): How to write and execute custom JavaScript code as test steps — for complex logic, calculations, and DOM interactions that go beyond natural language steps.
- [Document Generation Steps](https://learning.contextqa.com/web-testing/document-generation-steps.md): How to generate TXT, CSV, and Excel files during test execution for file upload, import, export, and document-dependent workflows.
- [Managing Test Suites](https://learning.contextqa.com/web-testing/managing-test-suites.md): Create, review, update, clone, and safely delete test suites; manage suite membership, folders, labels, platforms, and prerequisites.
- [Test Plans](https://learning.contextqa.com/web-testing/test-plans.md): Create and run ContextQA test plans, monitor execution capacity and live progress, stop active runs, and manage suites, devices, settings, and schedules.
- [Test Data Management](https://learning.contextqa.com/web-testing/test-data-management.md): How to manage local variables, global variables, test data profiles, environment parameters, API response variables, and random functions in ContextQA for data-driven and parameterized testing.
- [Environment Data Management](https://learning.contextqa.com/web-testing/environment-data-management.md): Create ContextQA environments, manage variables and database connections, and reuse safe test data across test runs and deployment targets.
- [Importing and Exporting Data](https://learning.contextqa.com/web-testing/importing-and-exporting-data.md): Export and import ContextQA environments, variables, database configurations, and test data profiles with JSON or Excel templates and duplicate handling.
- [Tutorial: Data-Driven Testing](https://learning.contextqa.com/web-testing/data-driven-testing-tutorial.md): Build one login test that repeats across selected rows in an environment-linked test data profile, without duplicating test cases.
- [Tutorial: Step Groups](https://learning.contextqa.com/web-testing/step-groups-tutorial.md): Build a reusable login step group, insert it into multiple test cases, pass variables to it, and update it once to fix every test that uses it.
- [AI Self-Healing Tests](https://learning.contextqa.com/web-testing/self-healing.md): Learn how ContextQA self-healing detects web element drift, applies or suggests reliable locator repairs, persists healed references, and preserves genuine failures.
- [Interactive Demo](https://learning.contextqa.com/web-testing/self-healing-demo.md): See how ContextQA's AI Self-Healing detects broken locators when the UI changes and repairs test steps automatically — without any engineer intervention.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://learning.contextqa.com/web-testing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
