2020年1月5日

Python AES加密

该文被密码保护。 阅读全文

posted @ 2020-01-05 20:40 dongxl 阅读(0) 评论(0) 推荐(0) 编辑

收藏的网站

该文被密码保护。 阅读全文

posted @ 2020-01-05 20:29 dongxl 阅读(1) 评论(0) 推荐(0) 编辑

2019年8月13日

神秘的指令链(Action Chains)

该文被密码保护。 阅读全文

posted @ 2019-08-13 16:14 dongxl 阅读(4) 评论(0) 推荐(0) 编辑

2019年7月28日

下拉框处理(select)

该文被密码保护。 阅读全文

posted @ 2019-07-28 11:22 dongxl 阅读(0) 评论(0) 推荐(0) 编辑

Appium定位方式总结

该文被密码保护。 阅读全文

posted @ 2019-07-28 11:18 dongxl 阅读(3) 评论(0) 推荐(0) 编辑

Linux学习

摘要: 开关机、重启、注销 shutdown -h now #立即关机 reboot #重启 exit #注销当前用户 上传下载文件,这两个命令需要安装,不是自带的命令 #yum -y install lrzsz #rz和sz都只能操作文件,不能操作文件夹 rz #上传 sz filename #下载文件 阅读全文

posted @ 2019-07-28 11:08 dongxl 阅读(182) 评论(0) 推荐(0) 编辑

2019年7月27日

移动端自动化测试-AppiumApi接口详解

摘要: Appium 初始化配置信息(Desired Capabilities),Desired Capabilities实际上就是一个字典,它主要用于向Appium Server提供初始化配置参数,如:想要测试的系统是Android还是IOS,测试哪款软件,软件的入口是哪里等。 这种服务关键字在网上很多, 阅读全文

posted @ 2019-07-27 16:37 dongxl 阅读(711) 评论(0) 推荐(0) 编辑

2019年6月12日

unittest参数化

摘要: import requests import unittest from parameterized import parameterized as pd def read_file(file_name): result = [] with open(file_name, encoding='utf-8') as fr: for line in fr: ... 阅读全文

posted @ 2019-06-12 21:30 dongxl 阅读(113) 评论(0) 推荐(0) 编辑

2019年6月1日

itsdangerous 产生token

摘要: import itsdangerous #产生token def create_token(data,expires_time=3600): salt = '!@#' t = itsdangerous.TimedJSONWebSignatureSerializer(salt,expires_in=expires_time) # 产生一个token res = t... 阅读全文

posted @ 2019-06-01 13:51 dongxl 阅读(159) 评论(0) 推荐(0) 编辑

multiprocessing多进程

摘要: # 每个进程之间的数据是独立的 import multiprocessing, time # 进程 cpu密集型任务 ,多线程 io 密集型任务 def conversation(qq): print('开始聊天了,%s在聊' % qq) time.sleep(1) if __name__ == '__main__': for i in range(10)... 阅读全文

posted @ 2019-06-01 13:41 dongxl 阅读(101) 评论(0) 推荐(0) 编辑

导航