1、启动逍遥模拟器 2、adb连接:cmd中adb connect 127.0.0.1:21503 (逍遥模拟器) 3、启动Appium Server GUI,或者Appium 4、运行python脚本 5、控件定位使用Appium Inspector,或D:\Programs\android-sd Read More
posted @ 2021-11-11 17:27 happy_xiaoxiao Views(972) Comments(0) Diggs(0) Edit
1、电脑-》管理-》本地用户和组-》用户,打开当前登录的用户,查看账户是否禁用 2、运行-》gpedit.msc打开本地组策略编辑器,计算机配置-》Windows设置-》安全设置-》本地策略-》安全选项 禁用《以管理员批准模式运行所有管理员》 3、重启电脑生效 Read More
posted @ 2020-09-15 08:56 happy_xiaoxiao Views(1528) Comments(0) Diggs(0) Edit
tomcat+mysql+jdk 本地已经安装tomcat、mysql、jdk服务,需要更改安装目录由D盘改为C盘,方法如下 一、停止tomcat、mysql服务 二、安装文件由D盘拷贝到C盘,原D盘路径重命名(证明服务没有使用该路径) 三、修改注册表 运行-regedit打开注册表,HKEY_LO Read More
posted @ 2019-10-25 18:33 happy_xiaoxiao Views(2582) Comments(0) Diggs(1) Edit
一、安装 NuGet TestStack.White是通过NuGet进行安装的。NuGet最低支持VS2010。我使用的VS2015。 安装方式一 :从Visual Studio的工具->扩展和更新中搜索安装 安装方式二:从如下链接下载双击安装 从http://visualstudiogallery Read More
posted @ 2019-09-20 07:48 happy_xiaoxiao Views(654) Comments(0) Diggs(0) Edit
说明:程序中有些自定义的控件类型在TestStack.White框架中没有涉及,需要引入自定义的DLL,通过鼠标点击事件处理 使用:将自定义的ClassLibrary2.dll拷贝到项目/bin/debug目录下,项目添加引用选择dll。 --该dll定义了Control Patterns为空的点击 Read More
posted @ 2019-09-20 07:46 happy_xiaoxiao Views(497) Comments(0) Diggs(0) Edit
一、单元测试框架NUnit NUnit是所有.net语言的单元测试框架。使用C#语言编写。 测试框架:NUnit3 1. 安装NuGet包管理器 2. 在NuGet中安装NUnit、NUnit.Console和NUnit 3 Test Adapter 本地安装版本为:NUnit(3.12.0)、NU Read More
posted @ 2019-09-20 07:31 happy_xiaoxiao Views(405) Comments(0) Diggs(0) Edit
【环境】 操作系统:Windows7 集成环境:Visual Studio2015 编程语言:C# 目标框架:.net framework4.6 1、新建项目 Visual Studio 2015 【文件】->【新建】->【项目】->Visual C#(控制台应用程序) 2、添加引用 项目->引用- Read More
posted @ 2019-09-20 07:18 happy_xiaoxiao Views(2288) Comments(0) Diggs(0) Edit
一、Inspect.exe 控件识别工具。官网上说通过下载安装Windows SDK后,可以在目录C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10.. \bin\<version>\<platform> 中找到, Windows SDK 官网 Read More
posted @ 2019-08-29 06:28 happy_xiaoxiao Views(25635) Comments(2) Diggs(1) Edit
使用Xmind写用例 使用Python解析Xmind,统计用例个数 代码: 执行效果: Read More
posted @ 2019-03-29 08:52 happy_xiaoxiao Views(6675) Comments(0) Diggs(1) Edit
Fiddler界面 【Statistics】请求的性能数据分析 【Inspectors】查看数据内容 Inspectors是用于查看会话的内容,上半部分是请求的内容,下半部分是响应的内容: 【AutoResponder】拦截指定规则的请求 AutoResponder允许你拦截指定规则的求情,并返回本 Read More
posted @ 2019-03-22 13:44 happy_xiaoxiao Views(422) Comments(0) Diggs(0) Edit