基于android的关键字驱动自动化测试框架,Android文:Android 关键字驱动 自动化 软件测试 GUI测试.doc...

本文针对Android应用程序测试中存在的效率低下问题,提出了基于关键字驱动的自动化测试框架。该框架对Robotium进行封装,实现了测试用例从数据文件导入,降低了测试代码与数据的耦合性。同时,设计了高复用性的GUI关键字库,能够生成测试报告和代码覆盖率报告,提高了测试的可开发性和可维护性,已在实际项目中应用,提升了测试效率和投资回报率。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Android文:Android 关键字驱动 自动化 软件测试 GUI测试

【关键词】Android 关键字驱动 自动化 软件测试 GUI测试

【英文关键词】Android Keyword-driven Automation Software Test GUI Test

Android论文:基于Android的关键字驱动自动化测试框架研究

【中文摘要】Android作为一款主流的智能手机的操作系统,凭借其开源、拓展性及可移植性强等特点迅速走红全球。然而,与Android应用开发的飞速发展相比,其相对滞后的测试技术却更让人担忧。目前,大部分软件企业对Android项测试都采用传统的手工测试方法,而手工测试受到诸多方面因素的限制,不利于版本迭代时大规模的回归测试。尽管目前国内外已经出现了多款成熟的软件自动化测试框架,可针对Android的自动化测试框架相对较少。目前,针对Android的开源测试框架主要有Android SDK自带的Activity Instrumentation、Robotium、Robolectric及TMTS。该类自动化测试框架均需要测试人员通过编写测试代码来实现测试用例,测试效率低下。针对上述问题,本文综合分析现有Android开源测试框架的优缺点后,提出基于Android的关键字驱动自动化测试框架。该框架对Robotium进行了再次封装,并把基于关键字驱动的软件测试技术移植到Android测试中。实现了从数据文件中直接导入测试用例进行测试,使测试数据与测试代码分离,降低测试数据与测试代码的耦合性。同时根据Android的GUI测试,设计出可重用性高的关键字库。能自动生成并导出测试报告与代码覆盖率报告,使测试人员能更直观的分析测试结果。实践经验表明,本框架增强了自动化测试的可开发性和可维护性,把测试用例的设计与测试数据相结合,通过设计测试数据和关键字来实现测试用例的开发。本文的自动化测试框架和关键字驱动测试代码己经应用于实际的项目开发上,有效提高了测试效率,获得了较高的投资收益比。

【英文摘要】With the development of science and technology, smart phones become increasinglypopular and gradually become the mainstream of mobile phone market. Mobile phone is nolonger limited to a simple communication tool, but terminal equipment with variety offeatures. Such as Symbian, Android, Widows Mobile and Max OS X are the majorsmartphone operating systems at the moment, while Android quickly becamepopular around the world with its open-source, expanding and portability. In February2012, Android accounted for52.5%of the global smartphone operating systemmarket share. The number of App in Android Market has more than450,000and monthlydownloads have reach one billion. However, compared with the rapid development of theAndroid development, the testing techniques have lagged far behind. Most softwarecompanies on the Android test using the traditional manual testing methods. Manualtesting will be limited by many factors, and not conducive to large-scale regression testing.Although there have been a variety of sophisticated software automation testing framework,most of them are for Java or C++, C#but less for Android. Activity In

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值