找回密码
 立即注册
相关推荐换一批
  1. SJ/Z 9011.2-1987 光敏器件的测试 第2部分:光电管的测试方法
  2. SJ/Z 9010.28-1987 电子管电性能的测试 第28部分:彩色电视显像管测试方法
  3. SJ/Z 9010.15-1987 电子管电性能的测试 第15部分:寄生和不需要电极电流测试方法
  4. SJ/Z 9010.14-1987 电子管电性能的测试 第14部分:雷达和示波阴极射线管测试方法
  5. SJ/Z 9010.13-1987 电子管电性能的测试 第13部分:高真空电子管热阴极发射电流的?
  6. SJ/Z 9010.11-1987 电子管电性能的测试 第11部分:射频输出功率的测试方法
  7. SJ/Z 9010.10-1987 电子管电性能的测试 第10部分:音频输出功率和失真的测试方法
  8. SJ/Z 9010.9-1987 电子管电性能的测试 第9部分:阴极中间层阻抗的测试
  9. SJ/Z 9010.4-1987 电子管电性能的测试 第4部分:噪声系数的测试方法
  10. SJ/Z 9010.3-1987 电子管电性能的测试 第3部分:等效输入和输出导纳的测试
  11. SJ/Z 9010.1-1987 电子管电性能的测试 第1部分:电极电流的测试
  12. SJ/Z 9008.6-1987 微波电子管电性能的测试 第7部分:充气微波开关管
  13. SJ/Z 9008.2-1987 微波电子管电性能的测试 第2部分:一般测试
  14. SJ/T 10861-1996 铬版光密度的测试方法
  15. SJ/T 11148-1997 VCD视盘机测试盘
  16. SJ/T 10595-1994 话带调制解调器测试方法
  17. SJ/T 11005-1996 半导体电视集成电路伴音通道电路测试方法的基本原理
  18. SJ/T 10370.2-1993 电视频道信号发生器测试方法
  19. SJ/T 10300-1991 电容测量仪测试方法
  20. GB/T 9846.8-1988 胶合板 测试胶合板的抽取
  21. GB 9468-1988 道路照明灯具光度测试
  22. GB 9264-1988 色漆流挂性测试方法
  23. GB/T 11792-1989 测试方法的精密度 在重复性或再现性条件下所得测试结果可接受性的?
AndroidThe测试framework | android开发 2022-10-27 122 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Android自动化测试初探Android系统下使用程序的测试如今应当还算是个新的领域,网上用于这方面的资料很多都是基于白盒测试的,一般都是基于JUnit框架和AndroidSDK中android.test等命名空间下的内容进行,但是有一个条件,那就是有必要要有使用程序的源代码以提供测试接入点,但是这在很多软件企业中是不现实的。很多测试工程师做的工作是完全黑盒,基本触摸不到源代码,白盒测试大部分也是由开发自己终结。回忆一下Windows下的黑盒测试自动化,从前使用的是微软提供的基于framework的UIAutomation自动化测试框架(要求版本在framework3.0以上,即VS.NET2008开发环境),对与拿手C#语言的人来说,使用起来承认比较好用。自己也写了基于UIAutomation的轻量级的自动化框架,将在以后的博文中引出。那在Android操作系统中能不能做相似于UIAutomation的办公呢?意外的是,Android的权限控制分的十分清理,不同程序之间的数据访问只能通过Intent,contentprovider相似的功能实现。也就是说你开发的运行在Android中的自动化程序想要捕获当时运行的AUT(ApplicationunderTest)界面上的控件等Element(该术语引自UIAutomation,觉得翻译成元素有点生硬,故不作翻译)基本不可能,你也拿不到当时activeactivity的引证(截止这篇文章发帖停止,自己暂时没有找到方法取得此引证)。无路可走了?模拟器里边不能走,外面能不能走?或许可以。。。。。。。
Android自动化测试初探.doc
codepub下载说明.txt
.....太多文件了省略.....

(Preliminary Exploration of Android Automated Testing The testing of programs used in the Android system should be a new field now. Many online materials used in this field are based on white box testing, generally based on the JUnit framework and android in the Android SDK Test and other namespaces, but there is a condition that it is necessary to use the source code of the program to provide a test access point, but this is not practical in many software enterprises. Many test engineers work in a completely black box, and can hardly touch the source code. Most white box tests are ended by developers themselves. Recall that the black box test automation under Windows used to use the framework based UI Automation automation test framework provided by Microsoft (the version is required to be above framework 3.0, that is, VS.NET2008 development environment). It is easy for those who are good at C # language to use it. I also wrote a lightweight automation framework based on UI Automation, which will be introduced in a future blog post. Can I do office work similar to UI Automation in the Android operating system? Surprisingly, Android's permission control is very clean, and data access between different programs can only be achieved through similar functions of Intent and contentprovider. That is to say, it is almost impossible for the automated program you developed to run in Android to capture elements such as controls on the AUT (Application under Test) interface running at that time (the term is quoted from UIAutomation, which is a bit stiff when translated into elements, so it is not translated), and you can't get the citation of active activity at that time (as of the end of this article, you haven't found a way to obtain this citation for the time being). No way to go? Can you walk inside the simulator and outside? Maybe.......
Preliminary Exploration of Android Automated Test.doc
Codepub Download Description.txt
..... Too many files omitted)

[下载]15131432261.rar




上一篇:Android 屏幕保护程序源码
下一篇:LumaQQ for Android 源代码