Run Your Tests with Playwright
Why Run Tests with Playwright in CloudQA?
Integrating Playwright as your execution engine in CloudQA offers a powerful, modern approach to web testing with several key advantages:
- Zero Setup Needed: Everything runs on the cloud—no installs, no hassle. Simply select Playwright and run your tests.
- Modern and Reliable: Leverage Microsoft's powerful testing framework for faster and more stable test runs without managing infrastructure.
- Full Visibility: Benefit from Playwright's smart auto-waits, detailed execution logs, and performance metrics.
- Cross-Browser Coverage: Test across Chrome, Firefox, and Safari with a single click, all managed on the CloudQA grid.
Step-by-Step Setup & Execution
1. Set Your Execution Preference
- Log in to your CloudQA account and navigate to Settings → Preferences.
- Under the “Select Test Framework” dropdown, choose Playwright.
- Click Save to apply the changes.
2. Create or Choose a Test Case
- Navigate to the Test Cases page.
- Use the recorder to create a new test case, or select an existing one. No changes are required for existing tests to run with Playwright.
3. Execute the Test on the Cloud
- From the Manage Test Cases page, locate the test case you want to run.
- Click the Execute button to run the test instantly on the Playwright engine.
4. Review Detailed Results
-
Once the test completes, navigate to the Reports section.
-
Here you can view detailed logs, screenshots, and performance metrics from the Playwright execution—all in one place.
This approach allows your team to leverage the power of Playwright without writing a single line of code.
Notes
- Setting the Test Framework is a global preference and will apply to all subsequent cloud-based test executions.
- This setting does not affect tests run locally using the Run Locally feature, which always executes in your local Chrome browser.
- No changes are needed for your existing test cases; they will automatically use the Playwright engine once the preference is saved.