Skip to main content

#Introduction

    Based on TheRuffianReport development,
     new assertion failure screenshot,
      screenshot display and DingTalk function

#Installing pip install TheRuffianReport python≥3.0

#Author bugpz2779@gmail.com

#Function Introduction

 # screenshot
import unittest
from selenium import webdriver

from TheRuffianReport.HTMLTestRunner import failure_monitor


class Test_demo(unittest.TestCase):
    def setUp(self) -> None:
        self.driver = webdriver.Chrome()
        self.failureException = failure_monitor(self, 'images')
        self.driver.get('https://www.baidu.com')

    def test_baidu(self):
        self.driver.find_element('id', 'kw').send_keys('python')
        self.driver.find_element('id', 'su').click()
        self.assertEqual(self.driver.find_element('id', 'kw').get_attribute('value'), 'selenium')

Release files for TheRuffianReport 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TheRuffianReport 1.0.1
File Size Uploaded
TheRuffianReport-1.0.1.tar.gz 12.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for TheRuffianReport 1.0.1
File Interpreter ABI Platform
TheRuffianReport-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / TheRuffianReport-1.0.1.tar.gz

Download URL TheRuffianReport-1.0.1.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
58002c5fc6bedc4d710fa26468b6026e98c3dd15292f6524f85158f8a7f53550
BLAKE2b-256 checksum
How to use checksums
f452abe8b98f73a3f491643ea9a47ab8bc0eba5b4b2b4ea13e70de14bba82571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / TheRuffianReport-1.0.1-py3-none-any.whl

Download URL TheRuffianReport-1.0.1-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8478ed172eb20360b85adb3af13f7838ee3e820139b52d6a494d6a9fa5ef9b60
BLAKE2b-256 checksum
How to use checksums
f4ae002aa901bc663cb87e603bbcfe2c8f9fac7d291a5d47882c6b55f1efdb3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page