03 2022 档案
摘要:Python 3.9.6 在windows下使用multiprocessing多进程报如下错误,但linux下正常 Traceback (most recent call last): File "D:\Studio\python\New\autoTest\cases\Zd\commDaping.p
阅读全文
摘要:方法一: a = {}if type(a).__name__ == 'dict': 方法二: a = {} if type(a) == dict: if type(a) == int: if type(a) == str: if type(a) == list:
阅读全文
摘要:一、自动化测试框架: 1、框架和项目源代码下载 https://gitee.com/rmtic/autoTest 说明:框架可以支持web界面UI、安卓Android,ios苹果、接口API等自动化测试。文档和代码持续维护更新,有问题可以交流。 2、依赖包安装 2.1、jdk jdk安装 2.2、p
阅读全文
摘要:获取复制xpath地址 代码如下 a=document.evaluate('//*[@id="mainBox"]/main/div[1]/article', document).iterateNext(); a.innerText 注:a.textContent为纯文本,不包括回车等格式 在控件台执
阅读全文
摘要:配置Settings->Editor->General->Console->override console cycle buffer size 修改1024值
阅读全文
摘要:1、下载服务器代码到本地电脑git clone https://gitee.com/rmtic/autoTest.git 注:如果要下载某分支则用添加参数如git clone --branch branchname https://gitee.com/rmtic/autoTest.git 2、如果本
阅读全文