Vehicle-mounted application automatic test method and system

The invention provides a vehicle-mounted application automatic testing method and system. The method comprises the steps that an adb is called based on a Python script to be connected with an upper computer and a vehicle machine system; calling a monkey command to execute the test case to test the n...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: DAI XINMING, SHI XIAOHUA, ZHANG ZHIJUN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a vehicle-mounted application automatic testing method and system. The method comprises the steps that an adb is called based on a Python script to be connected with an upper computer and a vehicle machine system; calling a monkey command to execute the test case to test the navigation APP, and if the execution of the current test case is completed, storing a log file to an upper computer through an adb pull; and calling a next test case through an adb command, synchronously analyzing the log file by the upper computer, and backfilling an analysis result into a test record. By means of the scheme, automatic testing of the vehicle navigation APP can be achieved, the testing efficiency is effectively improved, human participation in the testing process is reduced, and the labor cost of testing is reduced. 本发明提供一种车载应用自动化测试方法及系统,该方法包括:基于Python脚本调用adb连接上位机和车机系统;调用monkey命令执行测试用例对导航APP进行测试,若当前测试用例执行完毕,则通过adb pull将日志文件存储至上位机;通过adb命令调用下一条测试用例,上位机同步分析日志文件,将分析结果回填至测试记录中。通过该方案可以实现车载导航APP的自动化测试,有效提高