Skip to main content

Test case fails,take a screenshot,save it,attach it to the allure

Project description

After the test case fails, take a screenshot in time, save the screenshot in the specified address and attach it to the allure; Usage: cmd line or main function –screenshot={on:off} –screenshot_path=file path,default is off, if is on it will be save “screenshot” of project root

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_failed_screenshot-0.1.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file pytest_failed_screenshot-0.1.tar.gz.

File metadata

  • Download URL: pytest_failed_screenshot-0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.0

File hashes

Hashes for pytest_failed_screenshot-0.1.tar.gz
Algorithm Hash digest
SHA256 7832e318d816c7772168c069120c6aeef158ca1fa4e4472cdf99985d006ada9d
MD5 d344b0e2609fd8a30cdafa669c6d190d
BLAKE2b-256 160409752fb44591dcaf8f06de131bdf505c28eebde3a3d79cf4e9201f662087

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page