基于Java反射的APP自动化混合测试框架的研究与实现  被引量:2

Research and Implementation of APP Automated Hybrid Testing Framework Based on Java Reflection

在线阅读下载全文

作  者:杜巍 

机构地区:[1]中国移动(深圳)有限公司,广东深圳518048

出  处:《移动通信》2016年第22期66-70,共5页Mobile Communications

摘  要:基于软件自动化测试框架的思想以及软件测试项目的实际需求,为提高Android移动应用软件自动化测试的高效性及灵活性,提出了一种高可复用的自动化混合测试框架。该框架利用uiautomator工具,基于Java反射机制,结合模块化思想和测试库思想,以数据驱动和关键字驱动为核心,使测试用例与测试代码相关联,并将业务逻辑、测试数据与测试代码相隔离。该框架可做到测试执行与开发松耦合、自动化程度高,便于快速有效地开展Android移动应用软件的测试。Based on the software automated testing framework and the actual requirements of software testing project, in order to enhance the efficiency and flexibility of Android mobile APP automated testing, a highly-efficient and flexible hybrid automated testing framework was proposed in this paper. By means of uiautomator tool, Java reflection mechanism, modularization and testing library, data drive and keyword drive being the core, the tested case was correlated with testing codes, while business logic, tested data were isolated from testing codes. The advantages of the framework include the loose coupling of test execution and development, high automation and fast deployment of Android mobile APP test projects.

关 键 词:Android应用软件 自动化测试 混合测试框架 JAVA反射机制 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象