02-06-2022 дата публикации
Номер: US20220171510A1
Принадлежит:
Described herein are techniques that may be used to automate testing of services on mobile devices using visual analysis. In some embodiments, a behavioral model or other machine learning model is trained using training data collected while testers use mobile devices to test the services. During execution of a testing routine on a mobile device, screenshots are obtained of a screen of the mobile device and provided to the machine learning model. The behavioral model or other machine learning model can use the provided screenshot to determine an action that simulates a user action (e.g., a user touch on the screen of the mobile device) at a location of an icon or other visual element associated with the testing routine. These steps are repeated until an end-state of the testing routine is detected. 1. A computer-implemented method , comprising:receiving, during a testing routine associated with a user goal on a mobile device, a screenshot of the mobile device; the behavioral model comprises a machine learning model trained on a set of training data indicating behavior of one or more users to achieve the user goal on one or more test devices, and', 'selection of the object is predicted, by the behavioral model, to cause progress towards achievement of the user goal on the mobile device; and, 'dynamically determining, using a behavioral model, an object shown in the screenshot to select with a simulated user action, whereincausing selection of the object on the mobile device.2. The computer-implemented method of claim 1 , wherein the behavioral model comprises:an object detector configured to identify, based on the screenshot, at least one of boundaries or coordinates of one or more objects shown in the screenshot;an optical character recognition (OCR) model configured to recognize text associated with the one or more objects; andan action prediction model configured to dynamically determine the object to select, from among the one or more objects.3. The computer- ...
Подробнее