UiPath Documentation
test-manager
latest
false
Test Manager-Benutzerhandbuch
Wichtig :
Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Configuring artifact capture for Playwright tests

Enable screenshots, videos, or traces on Playwright test results in Test Manager by updating your project's playwright.config.ts.

Hinweis:

This capability is in controlled availability, delivered only to eligible tenants. It is available in Test Manager only when delivered through Test Cloud.

Get screenshots, videos, or traces to appear on your Playwright test results in Test Manager, if they aren't showing up by default. For why this configuration lives in your project rather than in Test Manager, see How Playwright artifact capture works.

Voraussetzungen

  • A Playwright automation already selected for a test case. See Selecting automation.
  • At least one execution already attempted.

Schritte

  1. Open the project's playwright.config.ts.

  2. Add or update the use: block to enable the artifact type you want, for example:

    use: { trace: 'on' }
    use: { trace: 'on' }
    

    Replace trace with screenshot or video as needed.

  3. Republish the package to Orchestrator.

  4. Run the test again.

Ergebnis

The next execution includes the newly enabled artifact type, visible on the execution's Attempts and Trace tabs.

  • Voraussetzungen
  • Schritte
  • Ergebnis
  • Zugehörig

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben