摘要
目前,触摸屏上的虚拟和自动测试方法是有局限的。由于子屏幕更改和显示软件更新将导致自动化测试失败,因此,利用自动化手段,通过指向屏幕上的XY坐标来测试显示器的触摸效果,以及通过屏幕捕获和使用光学字符识别来验证自动化测试方法是不可靠的,并会影响测试结果。为此,提出了一种新的触摸屏显示器软件测试方法,这些显示器广泛用于客车以及非公路用设备等。该软件测试方法使用"测试事件"与显示屏上的不同对象/图标进行链接。每个用户的操作都被视为唯一的操作,并将这些操作与唯一的对象标识数据组合在一起,以在触摸屏显示器上创建用户事件。这些用户事件会自动进行模拟,并对响应进行监视和记录,以识别和分析软件缺陷。
Current virtual and automated test methods on touch screen displays are limited, as secondary screen changing and the display software updating will lead to automated test failures. Using automated methods to test the display by pointing at XY coordinates on the screen, verifying the method through screen capture and using optical character recognition is unreliable and affects the performance of the test.This article proposes a new method of software testing for touch-monitoring. These displays are widely used in complex passenger cars as well as off-highway equipment. This method uses "test events" and different object/icon links on the display. Each user action is treated as the only action, and these actions are then bundled with unique object identification data to create an event on the display. These user events are automatically simulated and the response is monitored and recorded to identify and analyze software defects.
作者
王林林
Wang Linlin(School of Aviation Maintenance Engineering,Xi'an Aeronautical Polytechnic Institute,Xi'an,Shaanxi,710089,China)
出处
《小型内燃机与车辆技术》
2018年第5期44-47,共4页
Small Internal Combustion Engine and Vehicle Technique