上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
参考并摘自:http://www.runoob.com/java/java-encapsulation.html 在面向对象的程序设计方法中,封装(英语 :Encapsulation)是指一种将函数接口的实现细节部分包装、隐藏起来的方法。 封装可以被认为是一个保护屏障,防止该类的代码和数据被外部类定 Read More
posted @ 2018-03-12 16:07 happy_xiaoxiao Views(110) Comments(0) Diggs(0) Edit
参考并摘自:http://www.runoob.com/java/java-abstraction.html Java抽象类: 在面向对象的概念中,所有的对象都是通过类来描绘的,但是反过来,并不是所有的类都是用来描绘对象的。 如果一个类中没有包含足够的信息来描绘一个对象,这样的类就是抽象类。 抽象类 Read More
posted @ 2018-03-07 12:24 happy_xiaoxiao Views(121) Comments(0) Diggs(0) Edit
参考并摘自:http://www.runoob.com/java/java-polymorphism.html 多态 多态是一个行为具有多个不同表现形式的能力。 多态就是同一个接口,使用不同的实例而执行不同的操作。 多态存在的三个必要条件: 1.继承 2.重写 3.父类引用指向子类对象 如Paren Read More
posted @ 2018-03-05 09:48 happy_xiaoxiao Views(133) Comments(0) Diggs(0) Edit
参考并摘自:http://www.runoob.com/java/java-override-overload.html 重写(Override) 子类对父类(允许访问的)方法的实现过程进行重新编写,形参和返回值都不能变。即外壳不变,核心重写。 重写不能抛出比父类更宽泛的异常。 上面注释一行尽管do Read More
posted @ 2018-03-02 15:33 happy_xiaoxiao Views(154) Comments(0) Diggs(0) Edit
新建虚拟机快速分区后启动报"Units specified don’t exist SHSUCDX can’t install",试过网上说的 修改BIOS设置方法不起作用 修改虚拟机设置,将虚拟设备节点改为IDE Read More
posted @ 2018-02-27 16:30 happy_xiaoxiao Views(338) Comments(0) Diggs(0) Edit
摘自:http://www.testclass.net/appium/appium-base-api-01/ 1.安装: installApp() driver.installApp("d:\mk\xxphone.apk") 2.卸载:removeApp() driver.removeApp("co Read More
posted @ 2018-02-01 11:05 happy_xiaoxiao Views(193) Comments(0) Diggs(0) Edit
部分摘自:http://www.testclass.net/appium/appium-base-find-element/ appium 通过 uiautomatorviewer.bat 工具来查看控件的属性。该工具位于 Android SDK 的 /tools/目录下。 如果目标设备的API L Read More
posted @ 2018-01-31 15:25 happy_xiaoxiao Views(168) Comments(0) Diggs(0) Edit
Desired Capabilities 是由多个键值对组成,代表移动设备相关信息。由Appium Client向Appium Server发送。 但无论Appium Client使用何种语言,最终是以JSON 对象方式发给Appium Server。 example: 应用的绝对路径,注意一定是绝 Read More
posted @ 2018-01-31 14:51 happy_xiaoxiao Views(142) Comments(0) Diggs(0) Edit
部分摘自:http://www.testclass.net/appium/appium-base-desktop/ Appium-Server主要用来监听移动设备,然后将不同编程语言编写的 appium 脚本解析,然后驱动移动设备来运行 但Appium-Server有一两年没有更新了。Windows Read More
posted @ 2018-01-29 17:30 happy_xiaoxiao Views(492) Comments(0) Diggs(0) Edit
步骤为:启动AVD、启动Appium、写用例(python)、执行 一、启动Android模拟器 二、启动Appium Server 双击appium图标启动,配置appium的Android Settings,将PlatformVersion对应AVD配置中的target;Device Name对 Read More
posted @ 2018-01-29 11:36 happy_xiaoxiao Views(273) Comments(0) Diggs(0) Edit
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页