Automating Test Case Generation for Android Applications using Model-based Testing

IF 0.4 Q4 ENGINEERING, ELECTRICAL & ELECTRONIC EMITTER-International Journal of Engineering Technology Pub Date : 2022-04-26 DOI:10.24003/emitter.v10i1.628
Usman Habib Khan, Muhammad Naeem Ahmed Khan, Aamir, Mehmood Mirza, Muhammad Akram, Shariqa Fakhar, Shumaila, Hussain, Irfan Ahmed Magsi, R. A. Wagan
{"title":"Automating Test Case Generation for Android Applications using Model-based Testing","authors":"Usman Habib Khan, Muhammad Naeem Ahmed Khan, Aamir, Mehmood Mirza, Muhammad Akram, Shariqa Fakhar, Shumaila, Hussain, Irfan Ahmed Magsi, R. A. Wagan","doi":"10.24003/emitter.v10i1.628","DOIUrl":null,"url":null,"abstract":"Testing of mobile applications (apps) has its quirks as numerous events are required to be tested. Mobile apps testing, being an evolving domain, carries certain challenges that should be accounted for in the overall testing process. Since smartphone apps are moderate in size so we consider that model-based testing (MBT) using state machines and statecharts could be a promising option for ensuring maximum coverage and completeness of test cases. Using model-based testing approach, we can automate the tedious phase of test case generation, which not only saves time of the overall testing process but also minimizes defects and ensures maximum test case coverage and completeness. In this paper, we explore and model the most critical modules of the mobile app for generating test cases to ascertain the efficiency and impact of using model-based testing. Test cases for the targeted model of the application under test were generated on a real device. The experimental results indicate that our framework reduced the time required to execute all the generated test cases by 50%. Experimental setup and results are reported herein.","PeriodicalId":40905,"journal":{"name":"EMITTER-International Journal of Engineering Technology","volume":"57 1","pages":""},"PeriodicalIF":0.4000,"publicationDate":"2022-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"EMITTER-International Journal of Engineering Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.24003/emitter.v10i1.628","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 1

Abstract

Testing of mobile applications (apps) has its quirks as numerous events are required to be tested. Mobile apps testing, being an evolving domain, carries certain challenges that should be accounted for in the overall testing process. Since smartphone apps are moderate in size so we consider that model-based testing (MBT) using state machines and statecharts could be a promising option for ensuring maximum coverage and completeness of test cases. Using model-based testing approach, we can automate the tedious phase of test case generation, which not only saves time of the overall testing process but also minimizes defects and ensures maximum test case coverage and completeness. In this paper, we explore and model the most critical modules of the mobile app for generating test cases to ascertain the efficiency and impact of using model-based testing. Test cases for the targeted model of the application under test were generated on a real device. The experimental results indicate that our framework reduced the time required to execute all the generated test cases by 50%. Experimental setup and results are reported herein.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
使用基于模型的测试为Android应用程序自动生成测试用例
移动应用程序的测试有其特殊性,因为需要测试的事件很多。作为一个不断发展的领域,手机应用测试也面临着一些挑战,需要在整个测试过程中加以考虑。由于智能手机应用程序的大小适中,因此我们认为使用状态机和状态图的基于模型的测试(MBT)可能是确保测试用例最大覆盖率和完整性的有希望的选择。使用基于模型的测试方法,我们可以将繁琐的测试用例生成阶段自动化,这不仅节省了整个测试过程的时间,而且最小化了缺陷,保证了最大的测试用例覆盖率和完整性。在本文中,我们探索并建模了移动应用程序中最关键的模块,用于生成测试用例,以确定使用基于模型的测试的效率和影响。被测应用程序的目标模型的测试用例是在真实设备上生成的。实验结果表明,我们的框架将执行所有生成的测试用例所需的时间减少了50%。本文报道了实验装置和结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
EMITTER-International Journal of Engineering Technology
EMITTER-International Journal of Engineering Technology ENGINEERING, ELECTRICAL & ELECTRONIC-
自引率
0.00%
发文量
7
审稿时长
12 weeks
期刊最新文献
Hardware Trojan Detection and Mitigation in NoC using Key authentication and Obfuscation Techniques Estimation of Confidence in the Dialogue based on Eye Gaze and Head Movement Information Experimental Study of Hydroformed Al6061T4 Elliptical Tube Samples under Different Internal Pressures Numerical Study of a Wind Turbine Blade Modification Using 30° Angle Winglet on Clark Y Foil 3D Visualization for Lung Surface Images of Covid-19 Patients based on U-Net CNN Segmentation
×
引用
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