The present invention relates to a APP running test method, apparatus, computer-readable storage medium and computer equipment, including APP running test method: get the target information and the corresponding terminal installation package to be tested; test installation package of treatment, identification information; according to the terminal information, start the corresponding identification information corresponding to the mobile terminal installed on APP; the implementation of the corresponding test installation package default test operation on the launch of the APP test, the implementation of state information corresponding to the preset test operation; according to the state information generating test result information. So, the mobile terminal to the corresponding target terminal information on APP automatic test run, without manual testing, can reduce labor costs; in addition, there are a number of target information terminal, the mobile terminal can be tested at the same time a target terminal information corresponding to the APP, reduce the test time, high test efficiency.
【技术实现步骤摘要】
APP运行测试方法、装置、可读存储介质和计算机设备
本专利技术涉及测试
,特别是涉及一种APP运行测试方法、装置、可读存储介质和计算机设备。
技术介绍
APP(Application应用程序)指可应用于智能手机或平板等移动设备的应用程序。目前智能手机市场繁盛,各品牌、各配置的智能手机繁多,应用于智能手机上的APP也日渐增多,比如有社交类APP、游戏类APP、金融类APP等。一款APP在发布之前,通常需要先经过运行测试,检测APP能否在手机上正常运行。传统的对APP进行运行测试的方式,一般是通过用各种类型的手机上安装待测试的APP,由工作人员启动并操作APP,根据操作的情况分析是否可正常运行。这样,每测试一款APP,就需要分别在不同类型的手机上人工测试,人力成本高。
技术实现思路
基于此,有必要针对传统的APP运行测试人力成本高的问题,提供一种可降低人力成本的APP运行测试方法、装置、可读存储介质和计算机设备。一种APP运行测试方法,包括:获取待测安装包和对应的目标终端信息;对所述待测安装包进行解析,得到识别信息;根据所述目标终端信息,启动对应的移动终端上安装的对 ...
【技术保护点】
一种APP运行测试方法,其特征在于,包括:获取待测安装包和对应的目标终端信息;对所述待测安装包进行解析,得到识别信息;根据所述目标终端信息,启动对应的移动终端上安装的对应所述识别信息的APP;执行对应所述待测安装包的预设测试操作对启动的APP进行测试,得到所述预设测试操作对应的执行状态信息;根据所述执行状态信息生成测试结果信息。
【技术特征摘要】
1.一种APP运行测试方法,其特征在于,包括:获取待测安装包和对应的目标终端信息;对所述待测安装包进行解析,得到识别信息;根据所述目标终端信息,启动对应的移动终端上安装的对应所述识别信息的APP;执行对应所述待测安装包的预设测试操作对启动的APP进行测试,得到所述预设测试操作对应的执行状态信息;根据所述执行状态信息生成测试结果信息。2.根据权利要求1所述的APP运行测试方法,其特征在于,所述根据所述目标终端信息,启动对应的移动终端上安装的对应所述识别信息的APP之前,还包括:启动Appium服务进程,根据所述Appium服务进程接收连接的移动终端发送的终端类型信息;查找与所述目标终端信息一致的终端类型信息,将查找到的终端类型信息对应的移动终端作为所述目标终端信息对应的移动终端。3.根据权利要求1所述的APP运行测试方法,其特征在于,所述根据所述目标终端信息,启动对应的移动终端上安装的对应所述识别信息的APP,包括:调起所述待测安装包对应的执行脚本,并将所述待测安装包、所述目标终端信息和所述识别信息所对应的任务ID传递给所述执行脚本,使所述执行脚本根据所述任务ID获取所述识别信息和所述目标终端信息;通过所述执行脚本根据所述目标终端信息和所述识别信息调用预设的启动程序,以启动对应的移动终端上安装的对应的APP。4.根据权利要求1所述的APP运行测试方法,其特征在于,所述预设测试操作包括主功能测试操作,所述执行对应所述待测安装包的预设测试操作对启动的APP进行测试,得到所述预设测试操作对应的执行状态信息,包括:获取所述移动终端显示的APP操作界面的界面图;根据预设的控件基准图获取所述界面图的操作控件位置;根据所述操作控件位置执行所述主功能测试操作以对启动的APP进行测试,得到对应的执行状态信息。5.根据权利要求4所述的APP运行测试方法,其特征在于,所述根据预设的控件基准图获取所述界面图的操作控件位置,包括:获取所述界面图的宽度...
【专利技术属性】
技术研发人员:陈金海,陆海鹏,李育春,林元,
申请(专利权)人:广州君海网络科技有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。