Functional Test Automation for Android GUI Widgets Using XML

Yingzhe Ma, Eun-Man Choi
{"title":"Functional Test Automation for Android GUI Widgets Using XML","authors":"Yingzhe Ma, Eun-Man Choi","doi":"10.3745/KIPSTD.2012.19D.2.203","DOIUrl":null,"url":null,"abstract":"Capture-and-replay technique is a common automatic method for GUI testing. Testing applications on Android platform cannot use directly capture-and-replay technique due to the testing framework which is already set up and technical supported by Google and lack of automatic linking GUI elements to actions handling widget events. Without capture-and-replay testing tools testers must design and implement testing scenarios according to the specification, and make linking every GUI elements to event handling parts all by hand. This paper proposes a more improved and optimized approach than common capture-and-replay technique for automatic testing Android GUI widgets. XML is applied to extract GUI elements from applications based on tracing the actions to handle widget events. After tracing click events using monitoring in capture phase test cases will be created by communicating status of activated widget in replay phase with API events.","PeriodicalId":348746,"journal":{"name":"The Kips Transactions:partd","volume":"22 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-04-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Kips Transactions:partd","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3745/KIPSTD.2012.19D.2.203","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Capture-and-replay technique is a common automatic method for GUI testing. Testing applications on Android platform cannot use directly capture-and-replay technique due to the testing framework which is already set up and technical supported by Google and lack of automatic linking GUI elements to actions handling widget events. Without capture-and-replay testing tools testers must design and implement testing scenarios according to the specification, and make linking every GUI elements to event handling parts all by hand. This paper proposes a more improved and optimized approach than common capture-and-replay technique for automatic testing Android GUI widgets. XML is applied to extract GUI elements from applications based on tracing the actions to handle widget events. After tracing click events using monitoring in capture phase test cases will be created by communicating status of activated widget in replay phase with API events.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用XML的Android GUI小部件的功能测试自动化
捕获-重放技术是一种常用的GUI测试自动化方法。在Android平台上测试应用程序不能直接使用捕获和重放技术,因为测试框架已经建立,技术上由谷歌支持,并且缺乏将GUI元素自动链接到处理小部件事件的操作。如果没有捕获和重放测试工具,测试人员必须根据规范设计和实现测试场景,并手工将每个GUI元素链接到事件处理部分。本文提出了一种比常见的捕获和重放技术更改进和优化的方法来自动测试Android GUI小部件。基于跟踪处理小部件事件的操作,应用XML从应用程序中提取GUI元素。在使用捕获阶段监控跟踪单击事件之后,将通过与API事件通信重播阶段激活小部件的状态来创建测试用例。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Web Document Classification Based on Hangeul Morpheme and Keyword Analyses Identification of the Extension Points of Design Patterns Based on Reference Flows A QoS-aware Service Selection Method for Configuring Web Service Composition TK-Indexing : An Indexing Method for SNS Data Based on NoSQL Analysis of Power Consumption for Embedded Software using UML State Machine Diagram
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1