Automate Business Central page testing using YAML-based scripts executed via Playwright. Record once, generate variants, test multiple combinations.
- 🔄 Variant generation - Automatically create test combinations from data files
- 🔐 MFA TOTP Support for bc-replay - Use bc-replay on SaaS BC with accounts that require multi-factor authentication
- 🤖 AI-assisted development - A methodology for AI script generation
- Generation - See page-scripting/PAGE_SCRIPTING_QUICK_START.md for recording scripts in BC
- Execution - See bc-replay/BC_REPLAY_QUICK_START.md for running scripts in pipelines
- MFA Support - If using MFA accounts, see bc-replay/bc-replay-mfa-solution/
- Examples - Study
page-scripting/PO Post DirectionsEMEA/for working patterns - Full Guide - Complete walkthrough in GETTING_STARTED.md
page-scripting/ - Script generation and variant automation
- PowerShell generators for creating test variants
- Project folders with BASE recordings and data files
- PAGE_SCRIPTING_QUICK_START.md - Recording guide
bc-replay/ - Test execution including using accounts with MFA enforced
- Script runner for automated pipelines
- MFA TOTP solution for test runner accounts with MFA enabled
- 📖 BC_REPLAY_QUICK_START.md - Execution guide
- 📖 bc-replay-mfa-solution/ - MFA setup
✅ MFA solution available for testing with BC accounts that require MFA:
- Automatic TOTP code generation during login
- Seamless integration with bc-replay
See bc-replay/bc-replay-mfa-solution/ for complete setup
Before using:
- Replace placeholder credentials in test scripts
- Update BC URLs with your tenant/environment
- Never commit actual passwords to the repository
📖 See SECURITY.md for complete security guidelines and TOTP account setup
| Guide | Purpose |
|---|---|
| GETTING_STARTED.md | Complete walkthrough and project overview |
| SECURITY.md | Security guidelines and TOTP account setup |
| page-scripting/ | Recording scripts and variant generation |
| bc-replay/ | Execution and MFA support |
| .github/copilot-instructions.md | AI agent instructions and YAML patterns |
- BC Page Scripting Docs - Official Microsoft documentation
- BC-Replay Package - npm package for pipeline execution
- Playwright - Underlying test automation framework
- Blog: AI-Driven Page Scripting - Methodology deep dive
⚠️ Disclaimer: This project is created for demonstration and research purposes only. Use at your own risk.