使用Kotlin为Android应用生成机器人框架测试脚本

Chor. Gitpit Petchpaisit, T. Suwannasart
{"title":"使用Kotlin为Android应用生成机器人框架测试脚本","authors":"Chor. Gitpit Petchpaisit, T. Suwannasart","doi":"10.1109/icccs55155.2022.9846504","DOIUrl":null,"url":null,"abstract":"As known that a wide variety of hardware and operating system versions are circulating in the Android market. In addition, for the past decade more and more organizations have been adopting iterative and incremental software development approaches to handle rapid requirement changes in software requirements and to accelerate their products to the market. These factors have pushed tons of pressure on software testing, especially in the regression testing step. Regression testing is a pivotal step to ensure that code alterations do not impact the existing functionalities of the software. As software grows larger, regression testing could become impractical, if done manually, since human resource consumption would exponentially increase. To alleviate this issue, many organizations have embraced automation testing in their regression testing steps. Keyword-driven testing is one of the automation testing techniques that has been frequently used on Android projects. However, constructing a test case for automation testing (also known as a test script) is an arduous task which tends to easily cause errors [1]. Therefore, in this research a tool to generate Robot Framework test scripts for Android applications written in Kotlin is proposed. With this tool, an Android project's source code is analyzed for its flow. Next, test cases are generated using AppiumLibrary keywords and the source code. Test data sets embedded in the test cases are generated using Boundary Value Testing and randomization techniques. Finally, the generated test cases are ready to be run on Robot Framework to test the software.","PeriodicalId":121713,"journal":{"name":"2022 7th International Conference on Computer and Communication Systems (ICCCS)","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Generating Robot Framework Test Script for Android Application Using Kotlin\",\"authors\":\"Chor. Gitpit Petchpaisit, T. Suwannasart\",\"doi\":\"10.1109/icccs55155.2022.9846504\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"As known that a wide variety of hardware and operating system versions are circulating in the Android market. In addition, for the past decade more and more organizations have been adopting iterative and incremental software development approaches to handle rapid requirement changes in software requirements and to accelerate their products to the market. These factors have pushed tons of pressure on software testing, especially in the regression testing step. Regression testing is a pivotal step to ensure that code alterations do not impact the existing functionalities of the software. As software grows larger, regression testing could become impractical, if done manually, since human resource consumption would exponentially increase. To alleviate this issue, many organizations have embraced automation testing in their regression testing steps. Keyword-driven testing is one of the automation testing techniques that has been frequently used on Android projects. However, constructing a test case for automation testing (also known as a test script) is an arduous task which tends to easily cause errors [1]. Therefore, in this research a tool to generate Robot Framework test scripts for Android applications written in Kotlin is proposed. With this tool, an Android project's source code is analyzed for its flow. Next, test cases are generated using AppiumLibrary keywords and the source code. Test data sets embedded in the test cases are generated using Boundary Value Testing and randomization techniques. Finally, the generated test cases are ready to be run on Robot Framework to test the software.\",\"PeriodicalId\":121713,\"journal\":{\"name\":\"2022 7th International Conference on Computer and Communication Systems (ICCCS)\",\"volume\":\"13 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-04-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 7th International Conference on Computer and Communication Systems (ICCCS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/icccs55155.2022.9846504\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 7th International Conference on Computer and Communication Systems (ICCCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/icccs55155.2022.9846504","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

众所周知,Android市场上有各种各样的硬件和操作系统版本。此外,在过去的十年中,越来越多的组织已经采用迭代和增量的软件开发方法来处理软件需求中的快速需求变化,并加速他们的产品进入市场。这些因素给软件测试带来了巨大的压力,尤其是在回归测试阶段。回归测试是确保代码更改不会影响软件现有功能的关键步骤。随着软件的增长,回归测试可能变得不切实际,如果手工完成,因为人力资源消耗将呈指数增长。为了缓解这个问题,许多组织在他们的回归测试步骤中采用了自动化测试。关键字驱动测试是在Android项目中经常使用的自动化测试技术之一。然而,为自动化测试构建测试用例(也称为测试脚本)是一项艰巨的任务,容易导致错误[1]。因此,本研究提出了一种为Kotlin编写的Android应用程序生成Robot Framework测试脚本的工具。使用此工具,可以分析Android项目的源代码的流程。接下来,使用AppiumLibrary关键字和源代码生成测试用例。嵌入在测试用例中的测试数据集是使用边界值测试和随机化技术生成的。最后,生成的测试用例准备在Robot Framework上运行以测试软件。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Generating Robot Framework Test Script for Android Application Using Kotlin
As known that a wide variety of hardware and operating system versions are circulating in the Android market. In addition, for the past decade more and more organizations have been adopting iterative and incremental software development approaches to handle rapid requirement changes in software requirements and to accelerate their products to the market. These factors have pushed tons of pressure on software testing, especially in the regression testing step. Regression testing is a pivotal step to ensure that code alterations do not impact the existing functionalities of the software. As software grows larger, regression testing could become impractical, if done manually, since human resource consumption would exponentially increase. To alleviate this issue, many organizations have embraced automation testing in their regression testing steps. Keyword-driven testing is one of the automation testing techniques that has been frequently used on Android projects. However, constructing a test case for automation testing (also known as a test script) is an arduous task which tends to easily cause errors [1]. Therefore, in this research a tool to generate Robot Framework test scripts for Android applications written in Kotlin is proposed. With this tool, an Android project's source code is analyzed for its flow. Next, test cases are generated using AppiumLibrary keywords and the source code. Test data sets embedded in the test cases are generated using Boundary Value Testing and randomization techniques. Finally, the generated test cases are ready to be run on Robot Framework to test the software.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信