随笔分类 -  Appium

摘要:https://blog.csdn.net/chushujin/article/details/109016922?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7E 阅读全文
posted @ 2023-02-21 17:11 悠然现南山 阅读(149) 评论(0) 推荐(0)
摘要:https://blog.51cto.com/u_14629396/5643117 阅读全文
posted @ 2023-02-21 17:10 悠然现南山 阅读(10) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-02-15 18:51 悠然现南山 阅读(58) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-02-10 15:39 悠然现南山 阅读(24) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_35768238/article/details/107685459 阅读全文
posted @ 2023-02-10 11:46 悠然现南山 阅读(11) 评论(0) 推荐(0)
摘要:https://cloud.tencent.com/developer/article/2007557 https://blog.csdn.net/qq_44757414/article/details/128142859 阅读全文
posted @ 2023-02-09 16:36 悠然现南山 阅读(44) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/20b5a990d49e 阅读全文
posted @ 2023-02-08 17:52 悠然现南山 阅读(167) 评论(0) 推荐(0)
摘要:原文链接: https://blog.csdn.net/crayonjingjing/article/details/125750591 阅读全文
posted @ 2022-10-25 10:27 悠然现南山 阅读(144) 评论(0) 推荐(0)
摘要:原文地址:http://blog.csdn.net/qqtMJK/article/details/77838814 今天做自动化解锁9宫格,发现swipe不能满足需求,于是用TouchAction去实现手势滑动,这里先给出我写的代码: 根据UIAutomatorViewer抓到的坐标,我的坐标滑动需 阅读全文
posted @ 2018-02-27 10:50 悠然现南山 阅读(414) 评论(0) 推荐(0)
摘要:Allure 使用 安装 adapter 如果要在 pytest 中使用 Allure,需要使用一个 Adaptor Allure Pytest Adaptor 安装 pytest-allure-adaptor 生成报告 还是基于我们上一篇讲解 pytest 所写的代码 现在我们需要做的只是一行命令 阅读全文
posted @ 2018-01-30 17:37 悠然现南山 阅读(21987) 评论(2) 推荐(1)
摘要:名称 链接地址 Appium+python自动化8-Appium Python API(上) http://mp.weixin.qq.com/s/WvpT5oRrYY22avI95FuypQ Appium+python自动化8-Appium Python API(下) http://mp.weixi 阅读全文
posted @ 2018-01-26 12:00 悠然现南山 阅读(718) 评论(0) 推荐(1)
摘要:转http://blog.csdn.net/bear_w/article/details/50330753 问题描述 当使用类似下面的代码获取元素的 content-desc 属性时,会报 NoSuchElement 错误: 但使用如下代码却能正常执行: 很明显,这个错误原因不是找不到元素,而是 g 阅读全文
posted @ 2017-11-28 16:06 悠然现南山 阅读(974) 评论(0) 推荐(0)
摘要:收藏地址: http://www.jianshu.com/u/f45da7b8ae1f 阅读全文
posted @ 2017-07-21 17:53 悠然现南山 阅读(244) 评论(0) 推荐(0)
摘要:转自http://www.cnblogs.com/testhub/p/5949668.html 前些日子写一个滑动手机页面的小脚本,看到大家给的内容都是swipe方法,这里对swipe方法做一个小介绍: Swipe(int start x,int start y,int end x,int y,du 阅读全文
posted @ 2017-07-20 11:47 悠然现南山 阅读(3386) 评论(0) 推荐(3)
摘要:#coding=utf-8 import os import HTMLTestRunner import unittest import time import sys from appium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import... 阅读全文
posted @ 2017-06-19 17:02 悠然现南山 阅读(517) 评论(0) 推荐(0)
摘要:在代码中用try..except捕获异常截图后,HTMLTestRunner生成的测试报告中,用例的执行结果为pass 解决办法为: 在try..except后加raise,只要再加个raise就行了 执行结束后,生成的测试报告中,该条case的结果为error 阅读全文
posted @ 2017-06-19 16:13 悠然现南山 阅读(2037) 评论(1) 推荐(0)
摘要:参考文章和解决办法:http://blog.csdn.net/xie_0723/article/details/50825310 http://jingyan.baidu.com/article/cbcede071e479e02f40b4dc5.html 根本原因: 其实这是编辑器搞得鬼,编辑器为了 阅读全文
posted @ 2017-06-19 15:18 悠然现南山 阅读(395) 评论(0) 推荐(0)