...
首页> 外文期刊>International journal of software engineering and knowledge engineering >Random GUI Testing of Android Application Using Behavioral Model
【24h】

Random GUI Testing of Android Application Using Behavioral Model

机译:使用行为模型对Android应用程序进行随机GUI测试

获取原文
获取原文并翻译 | 示例
           

摘要

Automated GUI testing based on behavioral model is one of the most efficient testing approaches. By mining user usage, test scenarios can be generated based on statistical models such as Markov chain. However, these works require static analysis before starting the exploration which requires too much prerequisites and time. To address these challenges, we propose a behavioral-based GUI testing approach for mobile applications that achieves faster and higher coverage. The proposed approach does not conduct static analysis. It creates a behavioral model from usage logs by applying a statistical model. The events within the behavioral model are mapped to GUI components in a GUI tree. Finally, it updates the model dynamically to increase the probability of an event that rarely or never occurs when users use the application. The proposed approach was evaluated on four open-source Android applications, and compared with the state-of-the-art tools and manual testing. The main evaluation criteria are code coverage and ability to find errors. The proposed approach performed better than the current state-of-the-art automated testing tools in most aspects.
机译:基于行为模型的自动化GUI测试是最有效的测试方法之一。通过挖掘用户使用情况,可以基于统计模型(如马尔可夫链)生成测试方案。但是,这些工作在开始探索之前需要进行静态分析,这需要太多的先决条件和时间。为了应对这些挑战,我们为移动应用程序提出了一种基于行为的GUI测试方法,该方法可以实现更快,更高的覆盖范围。所提出的方法不进行静态分析。它通过应用统计模型从使用日志创建行为模型。行为模型内的事件被映射到GUI树中的GUI组件。最后,它动态地更新模型,以增加用户使用应用程序时很少或永远不会发生的事件的可能性。在四个开源Android应用程序上对提出的方法进行了评估,并与最先进的工具和手动测试进行了比较。主要的评估标准是代码覆盖范围和发现错误的能力。在大多数方面,所提出的方法的性能均优于当前最新的自动化测试工具。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号