原文地址:https://www.cnblogs.com/imyalost/p/7242747.html 4109245 作者:老 张 1.关于Webdriver 设计模式:按照Server Client的经典设计模式设计; Server端:即Remote Server(远程服务器),可以是任意的浏 ...
分类:
Web程序 时间:
2018-11-08 10:10:12
阅读次数:
214
uiautomatorviewer是android-sdk自带的一个元素定位工具,非常简单好用,使用uiautomatorviewer,可以检查一个应用的UI来查看应用的布局和组件以及相关的属性。 一、运行uiautomatorviewer.bat 1.打开F:\Android\android-sd ...
分类:
移动开发 时间:
2018-11-03 18:21:29
阅读次数:
264
一、Appium介绍 https://testerhome.com/topics/11318 整个UI自动化实现:定位元素》利用appium提供的API进行流程操作》利用unittest进行断言》利用TestHTMLReport生成测试报告 二、Appium遇到的坑 全的元素定位不到 解决办法:封装 ...
分类:
移动开发 时间:
2018-11-01 13:42:04
阅读次数:
199
import unittest import HTMLTestRunner import time from ios_login import driver # from appium.webdriver.common.mobileby import MobileBy ReferenceNumber... ...
分类:
其他好文 时间:
2018-10-30 17:06:41
阅读次数:
369
以火狐浏览器为例 目录 1、找到配置项 2、读取配置 1、找到配置项 打开Firefox点右上角设置>?(帮助)>故障排除信息>显示文件夹,复制文件管理器地址栏 2、读取配置 用FirefoxProfile() 方法读取配置,然后再加载配置 这时候得到的driver就是加载了浏览器配置的 ...
分类:
其他好文 时间:
2018-10-22 23:20:25
阅读次数:
296
测试开发 Web UI测试自动化 splinter - web UI测试工具,基于selnium封装。 selenium - web UI自动化测试。 –推荐 mechanize- Python中有状态的程序化Web浏览。 selene - 使用Python + Ajax支持+ PageObject ...
分类:
编程语言 时间:
2018-10-15 14:37:34
阅读次数:
243
文章推荐 测试开发之路--UI自动化常用的设计模式 链接:https://testerhome.com/topics/15768 (二):https://testerhome.com/topics/16042 [腾讯 TMQ][浅谈 Chromium 中的设计模式 (一)]——Chromium 中模 ...
分类:
其他好文 时间:
2018-10-14 14:01:00
阅读次数:
201
很多QA在做UI自动化或者App自动化的时候,会遇到在web页面要抓取App模式的元素,或者是在App要抓取H5页面的元素,从网上整理了一些方法,不一定能解决,但是试一下也未尝不可,如果解决了就记得关注一波咯!!!python噢~~~ self.driver.switch_to.context() ...
分类:
移动开发 时间:
2018-10-11 21:56:59
阅读次数:
248
import jsonimport osfrom lib.path import APPPATHfrom lib.path import APPPICTUREPATH, APPERRORimport threadingimport yamlfrom lib.logger import loggerc ...
分类:
移动开发 时间:
2018-10-06 23:12:07
阅读次数:
243
from lib.pyse import Pysefrom selenium.webdriver.support import expected_conditions as ECfrom selenium.webdriver.support.ui import WebDriverWaitfrom a ...
分类:
移动开发 时间:
2018-10-06 22:33:59
阅读次数:
264