摘要: 1.在安装java环境的时候报错,/usr文件系统空间不够。 2.查看df -h,发现/usr已经99%了,但是/home只有1% [root@training usr]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 484M 阅读全文
posted @ 2020-09-24 09:30 gracexu 阅读(1881) 评论(0) 推荐(0) 编辑
摘要: 一、安装 1.yum install -y docker 2.systemctl enable docker(.service) && systemctl start docker 3.查看docker版本:docker version 4.校验docker run hello_world Unab 阅读全文
posted @ 2020-09-22 09:24 gracexu 阅读(150) 评论(0) 推荐(0) 编辑
摘要: PyCharm Community Edition-->Preference-->Tools-->Python Integrated Tools, 把Default test runner换为pytest就可以了 阅读全文
posted @ 2020-08-02 22:40 gracexu 阅读(765) 评论(0) 推荐(0) 编辑
摘要: 1、首先在启动 WinAppDriver.exe,运行界面: 路径:C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe 如果不运行它的话,UI自动化工程在运行单元测试的时候,vs 会抛异常: 1 2 3 4 5 6 7 阅读全文
posted @ 2018-08-23 11:05 gracexu 阅读(2037) 评论(0) 推荐(0) 编辑
摘要: 安装的软件: 1、WinAppDriver WinAppDriver官网:https://github.com/Microsoft/WinAppDriver上面有些 demo。 Application Driver直接安装地址:https://github.com/Microsoft/WinAppD 阅读全文
posted @ 2018-08-21 15:04 gracexu 阅读(7954) 评论(0) 推荐(0) 编辑
摘要: 个人习惯将源码包放到opt下 1.安装jdk jdk是java的运行环境,整个jenkins就是一个var包,是java写的程序。 1.1.通过yum安装 A.安装yum: #yum install wget 在opt目录下下载 #cd opt #wget http://www.oracle.com 阅读全文
posted @ 2018-04-28 19:27 gracexu 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 我们在实际使用selenium或者appium时,等待下个等待定位的元素出现,特别是web端加载的过程,都需要用到等待,而等待方式的设置是保证脚本稳定有效运行的一个非常重要的手段,在selenium中(appium通用)常用的等待分为显示等待WebDriverWait()、隐式等待implicitl 阅读全文
posted @ 2018-03-01 12:46 gracexu 阅读(1413) 评论(0) 推荐(0) 编辑
摘要: 1.核心算法: 第一遍:冒泡取第一个数和第二个数进行比较,如果X(i)>X(i+1),就调换。这么遍历完一遍后,最后一个元素(n)是序列里最大的一个数。 第二遍:第一个数和后面的数进行比较,如果X(i)>X(i+1),就调换,一直到倒数第二个元素(n-1)。 总共需要遍历 n-1。 核心思想:遍历n 阅读全文
posted @ 2018-02-04 23:10 gracexu 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 1.安装python 27,并配置环境变量 2.安装pip,并配置环境变量 3.安装Robot Framework:pip install robotframework 4.安装wxPython:pip install wxpython 5.安装ride:pip install robotframe 阅读全文
posted @ 2018-02-01 12:15 gracexu 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Python2.7安装和配置环境变量 1.python2.7下载地址:https://www.python.org/getit/ 1. python2.7安装在默认目录C:\Python27. 2. 环境变量配置:system properities >advance >enviornment va 阅读全文
posted @ 2018-02-01 12:14 gracexu 阅读(140) 评论(0) 推荐(0) 编辑