UI Automating Test Method for Cross-Device Based on Widget Path
CSTR:
Author:
Affiliation:

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    With the explosive growth of mobile applications, how to carry out UI automation testing efficiently and correctly becomes an important issue. Most of the traditional automated methods require developers to write test scripts manually, and another high-level testing method called "recording and playback" does not has capability of crossing devices. In addition, existing assertion mechanisms are generally not capable of describing the UI semantics completely. Due to those problems, this paper presents a new recording and playback method which is capable of crossing devices and describing the UI semantics. This method uses the widget path to precisely locate the widgets and employs the cross-device UI adaptive method to improve the capability of device-crossing. Furthermore, this study proposes two new assertion mechanisms to support UI semantics which check on number sorting and pictures. In addition, this study builds a prototype framework called RRF according to the proposed methods, and the experimental results show that RRF has a higher success rate of playback than other automated test tools.

    Reference
    Related
    Cited by
Get Citation

侯津,顾乃杰,丁世举,杜云开.基于控件路径的跨设备UI自动化测试方法.计算机系统应用,2018,27(10):240-247

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:March 15,2018
  • Revised:April 03,2018
  • Adopted:
  • Online: September 29,2018
  • Published:
Article QR Code
You are the firstVisitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-3
Address:4# South Fourth Street, Zhongguancun,Haidian, Beijing,Postal Code:100190
Phone:010-62661041 Fax: Email:csa (a) iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063