Skip to main content

The Wasu Auto TestFrameWork

Project description

通过继承线程Thread类是实现多线程

windows:

  • 启动服务命令
  • 杀服务命令
  • adb命令
  • 编码问题
# 设置编码格式为rb,解决windows编码问题
    def yaml_to_dict(self) -> dict:
        with open(self.path, "rb") as f:
            yaml_file = yaml.safe_load(f)
        return yaml_file

使用AppiumService启动Appium 配置JDK环境,最好为JDK8

引用同一个名称的webdriver,需要用as提供别名来访问,否则容易被覆盖

解决mac上报错

理解queue里面的join和task_done方法的区别 queue中的empty方法是不可信赖的

Python中退出运行状态

sys.exit(0)

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

wasu_test-1.9.2.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

wasu_test-1.9.2-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

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