Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 502 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 502 Bytes

EasyHTMLReport

for uiautomator2

Demo code

# coding: utf-8

import uiautomator2 as u2
import easyhtmlreport as htmlreport


u = u2.connect()
hrp = htmlreport.HTMLReport(u)

# take screenshot before each click
hrp.patch_click()

u.click(0.4, 0.6)
u.click(0.4, 0.5)
u(text="Github").click() # will also record

How to add into requirements.txt

Put the following content into requirements.txt

git+https://github.com/openatx/easyhtmlreport

Screenshot

TODO

LICENSE

MIT