06 2021 档案

appium--真机测试app
摘要:1. appium设置 启动appium,host和port默认即可,在Edit Configuration中将Android SDK和Java JDK加到环境变量中。 设置好后保存并重启Appium,然后启动服务,出现以下画面,说明你的appium server已经正常启动了,可以开始真机测试了。 阅读全文

posted @ 2021-06-28 11:06 zntest 阅读(869) 评论(0) 推荐(0)

selenium 切换iframe
摘要:定位iframe1.有id,并且唯一,直接写iddriver.switch_to_frame("x-URS-iframe")driver.switch_to.frame("x-URS-iframe")2.有name,并且唯一,直接写namedriver.switch_to_frame("xxxx") 阅读全文

posted @ 2021-06-22 18:03 zntest 阅读(322) 评论(0) 推荐(0)

读取ymal时报错解决YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loa
摘要:一、解决报错问题YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsa二、解决办法三、运行后解决报错四、原因:YAML 5.1版本后弃用了yaml.loa 阅读全文

posted @ 2021-06-08 16:22 zntest 阅读(500) 评论(0) 推荐(0)

Python_报错:TypeError: Tuple or struct_time argument required
摘要:报错:TypeError: Tuple or struct_time argument required 原因:时间戳——格式化时间 不能直接转换会报错 上代码: import time time3 = time.asctime(time.time())# print ("本地时间为 :",time 阅读全文

posted @ 2021-06-07 18:31 zntest 阅读(389) 评论(0) 推荐(0)