03 2020 档案
摘要:1. 首先在Charles 中导出证书,操作为:Help选项 --> SSL Proxying --> 选择第二项 Install Charles Root Certificate 2. 把证书导出到本地,保存为.p12格式的,然后导入Firefox,操作为: Firefox->首选项->隐私与安全
阅读全文
摘要:1. Mac 下 Charles配置 https://www.jianshu.com/p/9f4ebde9c518 2. 获取ios设备的udid 命令行输入: idevice_id -l
阅读全文
摘要:经过多次调试,在Safari上的测试脚本终于可以运行了,不过部分元素还是无法识别,还需要继续调试; #!/usr/bin/env/python # -*-coding:utf-8-*- import pytest from time import sleep from selenium import
阅读全文
摘要:经过不断的调试WebDriverAgent, 现在终于可以执行ios的自动化测试脚本了,😄😄😄 # This sample code uses the Appium python client # pip install Appium-Python-Client # Then you can
阅读全文
摘要:在使用真机调试的时候犯了一个错误,我把WebDriverAgent 下载到本地的A目录下,然后进行build安装,这样在模拟器上执行是无法发现问题的,但是使用appium 在真机上执行就出错了,因为Appium 调用的是它自己的WebDriverAgentRunner, 所以自动化测试脚本执行时会一
阅读全文
摘要:1.使用Xcode遇到的问题 xcode-select: error: tool 'instruments' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a comma
阅读全文
摘要:testcase.yaml: - id: home_search - id: search_input_text input: alibaba - id: name - id: current_price get: text class TestDemo: def test_search_from_
阅读全文