摘要: 1. Mac 下 Charles配置 https://www.jianshu.com/p/9f4ebde9c518 2. 获取ios设备的udid 命令行输入: idevice_id -l 阅读全文
posted @ 2020-03-26 13:46 jiguanghover 阅读(130) 评论(0) 推荐(0)
摘要: 经过多次调试,在Safari上的测试脚本终于可以运行了,不过部分元素还是无法识别,还需要继续调试; #!/usr/bin/env/python # -*-coding:utf-8-*- import pytest from time import sleep from selenium import 阅读全文
posted @ 2020-03-22 12:51 jiguanghover 阅读(366) 评论(0) 推荐(0)
摘要: 经过不断的调试WebDriverAgent, 现在终于可以执行ios的自动化测试脚本了,😄😄😄 # This sample code uses the Appium python client # pip install Appium-Python-Client # Then you can 阅读全文
posted @ 2020-03-21 12:22 jiguanghover 阅读(343) 评论(0) 推荐(0)
摘要: 在使用真机调试的时候犯了一个错误,我把WebDriverAgent 下载到本地的A目录下,然后进行build安装,这样在模拟器上执行是无法发现问题的,但是使用appium 在真机上执行就出错了,因为Appium 调用的是它自己的WebDriverAgentRunner, 所以自动化测试脚本执行时会一 阅读全文
posted @ 2020-03-20 23:58 jiguanghover 阅读(2220) 评论(0) 推荐(0)
摘要: 1.使用Xcode遇到的问题 xcode-select: error: tool 'instruments' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a comma 阅读全文
posted @ 2020-03-19 20:10 jiguanghover 阅读(1835) 评论(0) 推荐(0)
摘要: testcase.yaml: - id: home_search - id: search_input_text input: alibaba - id: name - id: current_price get: text class TestDemo: def test_search_from_ 阅读全文
posted @ 2020-03-08 12:18 jiguanghover 阅读(175) 评论(0) 推荐(0)
摘要: 1.python3下出现问题(首先安装pymysql与mysqlclient):django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.解决方法:在项目的 阅读全文
posted @ 2020-02-18 11:54 jiguanghover 阅读(168) 评论(0) 推荐(0)
摘要: 1.MySql版本:mysql-8.0.19-winx64 2. 需要在mysql-8.0.19-winx64 目录下添加my.ini文件,内容为: [mysql]default-character-set=utf8 [mysqld]port=3306basedir="E:\Pythonaaa\my 阅读全文
posted @ 2020-02-17 19:31 jiguanghover 阅读(114) 评论(0) 推荐(0)
摘要: 一、NoneBot使用 阅读全文
posted @ 2020-01-09 10:19 jiguanghover 阅读(3748) 评论(0) 推荐(0)
摘要: 1. ngrinder-controller-3.4.3.war 放置到tomcat的webapps目录下;2. 启动tomcat;3. 访问地址: http://localhost:8080/ngrinder-controller-3.4.3/home, 密码admin/admin 阅读全文
posted @ 2019-12-17 11:03 jiguanghover 阅读(201) 评论(0) 推荐(0)