Frequently Asked Questions
What is Chathai?
Chathai is a tool that helps you generate Cypress test scripts from Excel test cases. It automates the process of converting your manual test cases into executable test scripts.
How do I install Chathai?
You can install Chathai in two ways:
- As a dev dependency:
npm install chathai --save-dev
- Globally:
npm install -g chathai
What Excel template format does Chathai use?
Chathai uses a standard template with the following columns:
- Test Case ID
- Test Case Name
- Description
- Steps
- Expected Result
- Actual Result
- Status
Can I use my own Excel template?
Yes, you can use your own Excel template. Just make sure it follows the required column structure or modify the template configuration to match your structure.
Where are the generated test scripts saved?
By default, test scripts are saved in the cypress/e2e
directory. You can specify a custom output directory using the --output
option.
How do I handle dynamic data in my tests?
You can use Cypress fixtures or environment variables to handle dynamic data. Chathai supports both approaches in the generated test scripts.
Can I customize the generated test scripts?
Yes, you can customize the generated test scripts by modifying the template or using custom hooks. The generated scripts are standard Cypress tests that you can edit as needed.
How do I report issues or request features?
You can report issues or request features by:
- Opening an issue on our GitHub repository
- Contacting us through our support channels
- Contributing directly through pull requests