`
huangqinqin
  • 浏览: 359608 次
  • 性别: Icon_minigender_2
  • 来自: 福州
社区版块
存档分类
最新评论
文章列表
问题:No active compatible AVD's or devices found. Relaunch this configuration after connecting a device or starting an AVD.     原因:你的模拟器或设备的固件低于当前应用的target。如果app的target是8,而你的设备是7。 解决方法: 1、更改Manifest.xml中的<uses-sdk android:minSdkVersion="8" />,将minSdkVersion改成你的模拟器或设备的target(如改成7)。 ...
UI Automation JavaScript Reference Note: This document was previously titled UI Automation Reference Collection.   Use the UI Automation JavaScript library to write test scripts that exercise your app’s user interface elements while the app runs on a connected device. You write the tests in ...
UI Automation JavaScript Reference Note: This document was previously titled UI Automation Reference Collection.   Use the UI Automation JavaScript library to write test scripts that exercise your app’s user interface elements while the app runs on a connected device. You write the tests in ...

代码对比工具

windows: http://www.scootersoftware.com/download.php  Beyond Compare   ubuntu: http://meld.sourceforge.net/  meld
源码下载:https://source.android.com/source/downloading.html   Downloading the Source Tree Installing Repo Repo is a tool that makes it easier to work with Git in the context of Android. For more information about Repo, see Version Control. To install, initialize, and configure Repo, follow these st ...
   Windows平台MonkeyTalk环境搭建   MonkeyTalk是款针对手机应用的自动化测试工具。   特性: 1》免费且开源。 2》支持Android,IOS平台。 3
原文出自:http://www.cnblogs.com/yjf512/archive/2011/06/03/2071914.html   JS中的phototype是JS中比较难理解的一个部分   本文基于下面几个知识点:   1 原型法设计模式 在.Net中可以使用clone()来实现原型法 原型法的主要思想是,现在有1个类A,我想要创建一个类B,这个类是以A为原型的,并且能进行扩展。我们称B的原型为A。   2 javascript的方法可以分为三类: a 类方法 b 对象方法 c 原型方法 例子: function People(name ...
1:Monkeytalk 2: Calabash 3:UI Automation tool   http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomation 4:TestStudio by Telerik 5:Frank 6:SOASTA 7:Appium https://github.com/appium/appium    

FileInputStream

    博客分类:
  • java
这是一对继承于InputStream和OutputStream的类,用于本地文件读写(二进制格式读写并且是顺序读写,读和写要分别创建出不同的文件流对象); 本地文件读写编程的基本过程为: ①  生成文件流对象(对文件读操作时应该为FileInputStream类,而文件写应该为FileOutputStream类); ②  调用FileInputStream或FileOutputStream类中的功能函数如read()、write(int b)等)读写文件内容; ③  关闭文件(close())。 实例:流文件读写 流文件的单元是字节,所以它不但可以读写文本文件,也可以读写图片、声音、 ...

Ios源码示例

    博客分类:
  • Ios
http://code4app.com/category/navigationbar
原文出自:http://www.cnblogs.com/SilenceCity/archive/2012/11/08/2761714.html   先来说下一般自动化测试的流程,今天一个朋友也问过我这个问题,就顺便说说。   一般在开始自动化测试,如拿到一个程序包或apk或网站文件后,我们首先 ...
原文:http://blog.csdn.net/javayujiafeng/article/details/8445007   先说闪退是什么,闪退就是程序崩溃了,原因多种多样,内存不足是一种,大部分是因为程序本身有BUG(BUG中野指针类居多,建议百度下野指针,能看懂的就看懂了,看不懂的就不解释了,几句话说不清楚)讲一个概念,虚拟内存。咱从windows说起,让大家好理解。在windows上,如果你电脑有1G内存,但是你的程序需要2G内存才能跑,那这个程序会崩溃掉么?答案是一般不会。windows有虚拟内存机制,大概的意思是,用硬盘去扩充内存。硬盘和内存本质都是存数据嘛,无非内存快, ...

Mac Os引导

    博客分类:
  • Ios
Mac Os引导 “引导”指系统为准备投入使用而执行的一系列动作。引导流程包括许多不同的任务,例如初始化硬件、启动系统守护程序(system daemon)以及显示登录窗口。当用户登录后,系统将完成另一系列动作,用以为用户建立计算环境。   一 引导流程 在从用户打开Mac OS X系统到登录窗口出现的这个时间段内,Mac OS X将执行一个引导流程,使系统处于准备使用状态。 1 BootROM 当打开Macintosh计算机的电源后,BootROM固件是被激活的第一个代码。BootROM(它是计算机硬件的一部分) 有两个主要的职责:初始化系统硬件以及选择引导操作系统。BootROM ...
Mac平台MonkeyTalk的使用   一  搭建Android开发环境 1 配置JDK环境变量 Mac Os自带Jdk(默认安装在/System/Library/Frameworks/JavaVM.framework中),只需配置其系统变量。 1.1  打开终端,执行open -e ~/.bash_profile以打开.bash_profile文件,如图1所示。若.bash_profile不存在,则执行cd~,并在~目录下创建.bash_profile(执行touch  .bash_profile)

Ios app安装方法

    博客分类:
  • Ios
ipa格式的安装方法: (各版本替换的文件不同,请注意下载对应版本的文件) 1.下载附件,解压后会得到一个名为MobileInstallation且没有任何后缀的文件,将此文件上传至iPhone的/System/Library/PrivateFrameworks/MobileInstallation.framework/文件夹中替换原文件(注意备份!),之后赋予此文件777权限。 2.我们还需要在将/private/var/mobile/中的Applications文件夹设置为777权限,并在/private/var/mobile/Applications/文件夹中新建一个名为Do ...
Global site tag (gtag.js) - Google Analytics