Adaptive Forms Testing
Hi All,
Need recommendations and suggestions on the testing framework, tools we can use to test Adaptive forms. Any help articles on automations that we can benefit from ? We are using AEM as headless.
Thanks,
Abhishek
Hi All,
Need recommendations and suggestions on the testing framework, tools we can use to test Adaptive forms. Any help articles on automations that we can benefit from ? We are using AEM as headless.
Thanks,
Abhishek
Hi
Thanks for the question. For Adaptive Forms in an AEM headless implementation, our recommendation is to use a layered testing strategy rather than relying on a single testing tool.
Because AEM Headless Adaptive Forms separate the form logic and model in AEM from the presentation layer in your frontend application, the most effective approach is to validate both the headless form APIs/contracts and the rendered end-user experience.
Use your frontend framework’s standard testing tools to validate the rendering layer and custom components.
Examples:
This layer is useful for testing:
For headless forms, API-level testing is especially important.
Recommended tools:
Use these to validate:
For real user journey testing, we recommend a modern browser automation framework such as:
This layer should cover:
In addition to functional automation, we strongly recommend including:
axe-core, plus manual screen reader validation where requiredIf you want a straightforward stack for a new project, we typically suggest:
We usually recommend starting with these scenarios:
Concepts and FAQ
Understanding headless forms - Concepts and FAQ
Create a Headless Adaptive Form
Create a Headless adaptive form using Adaptive Forms editor
Hands-on tutorial for headless + core components
Build Engaging Forms Using Core Components and Headless Adaptive Forms on AEM Forms as a Cloud Service
Submit to REST endpoint
Configure an Adaptive Form for REST Endpoint submit action
Submit actions overview
Adaptive Form Submit Action
Custom submit service for headless forms
Submit headless form to an custom submit service
Custom error handling
Add a custom error handler in Adaptive Forms based on Core Components for AEM Adaptive Forms
Prefill tutorial
Prefill core component based adaptive form
Analytics integration
Integrate AEM Forms with Adobe Analytics to report on form data fields
Analytics reports
Viewing and understanding Adaptive Forms analytics reports
In short, for Adaptive Forms with AEM headless, we recommend:
If helpful, we can also help outline:
Thanks
Pranay
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.