Testing Workflow
RocketQA follows a simple, intuitive workflow:
1. ๐ Write Feature Files โ2. ๐ฏ Define Locators โ3. ๐ Run Tests โ4. ๐ Review Reports โ5. ๐ Iterate & Improve
1. Write Feature Files
Section titled โ1. Write Feature FilesโCreate .feature
files describing your applicationโs behavior in natural language.
2. Define Locators
Section titled โ2. Define LocatorsโMap UI elements to selectors in your locators.yml
file.
3. Run Tests
Section titled โ3. Run TestsโExecute tests with simple CLI commands like npx rocketqa test
.
4. Review Reports
Section titled โ4. Review ReportsโGet detailed HTML reports with screenshots and execution details.
5. Iterate & Improve
Section titled โ5. Iterate & ImproveโRefine tests based on results and add new scenarios as needed.