How to Integrate Playwright with QA Touch

What Is PlayWright?

Playwright is an open-source automation tool developed by Microsoft that allows developers to automate the testing of web applications across different browsers (such as Chromium, WebKit, and Firefox) and platforms (including Windows, macOS, and Linux). Playwright enables developers to write reliable and maintainable tests for web applications by automating user interactions such as clicking buttons, filling forms, navigating pages, and validating UI elements.

Step 1 : Playwright Installation – Local Setup

npm init playwright@latest

Step 2 : Running The Example Test

npx playwright test

How to check Version

npx playwright –version

System Requirements Node.Js 18+

  1. Login in QA Touch.
  2. Click My profile – Generate API key.
  3. You can refer QA Touch API from https://doc.qatouch.com/#qa-touch-api
  4. Access the Package URL https://www.npmjs.com/package/playwright-qatouch-reporter
  5. Install the package in Playwright root directory by executing the below command from your automation environment from the command line.

Installation – QA Touch Plugin

npm i playwright-qatouch-reporter