Functional test automation of mobile applications interacting with native stock applications
First Claim
Patent Images
1. A method comprising:
- receiving, by one or more computer processors, a first view hierarchy data set including information indicative of a first view hierarchy for a first native stock application, with the first native stock application being a system application that is packaged with an operating system (OS) for a first type of mobile computing device, and with the first view hierarchy being data organized into a tree structure that defines relationships among and between views generated by the first native stock application including views structurally specified by parent-child relationships;
generating, by one or more computer processors, based, at least in part, on the first view hierarchy data set, a template table for the first native stock application, with the template table including an identification of the type of first type of mobile computing device, a set of possible orientation(s) of the first type of mobile computing device, an identification of the OS, an identification of a version on the first type of mobile computing device, name of the first native stock application, activity information of the first native stock application, action information for the first native stock application, and bounding coordinates for each feature of a set of feature(s) of the first native stock application; and
performing automated testing of a first application under test (AUT) using the template table.
1 Assignment
0 Petitions
Accused Products
Abstract
In an approach to test automation of an application under test which interacts with one or more native stock applications, a computer identifies one or more native stock applications on a mobile computing device. The computer then dumps a view hierarchy for each of the one or more native stock applications. The computer generates, based, at least in part, on the view hierarchy, a template table for each of the one or more native stock applications.
-
Citations
12 Claims
-
1. A method comprising:
-
receiving, by one or more computer processors, a first view hierarchy data set including information indicative of a first view hierarchy for a first native stock application, with the first native stock application being a system application that is packaged with an operating system (OS) for a first type of mobile computing device, and with the first view hierarchy being data organized into a tree structure that defines relationships among and between views generated by the first native stock application including views structurally specified by parent-child relationships; generating, by one or more computer processors, based, at least in part, on the first view hierarchy data set, a template table for the first native stock application, with the template table including an identification of the type of first type of mobile computing device, a set of possible orientation(s) of the first type of mobile computing device, an identification of the OS, an identification of a version on the first type of mobile computing device, name of the first native stock application, activity information of the first native stock application, action information for the first native stock application, and bounding coordinates for each feature of a set of feature(s) of the first native stock application; and performing automated testing of a first application under test (AUT) using the template table. - View Dependent Claims (2, 3, 4)
-
-
5. A computer program product comprising:
-
a machine readable storage device; and computer code stored on the machine readable storage device, with the computer code including instructions for causing a processor(s) set to perform operations including the following; receiving, by one or more computer processors, a first view hierarchy data set including information indicative of a first view hierarchy for a first native stock application, with the first native stock application being a system application that is packaged with an operating system (OS) for a first type of mobile computing device, and with the first view hierarchy being data organized into a tree structure that defines relationships among and between views generated by the first native stock application including views structurally specified by parent-child relationships, generating, by one or more computer processors, based, at least in part, on the first view hierarchy data set, a template table for the first native stock application, with the template table including an identification of the type of first type of mobile computing device, a set of possible orientation(s) of the first type of mobile computing device, an identification of the OS, an identification of a version on the first type of mobile computing device, name of the first native stock application, activity information of the first native stock application, action information for the first native stock application, and bounding coordinates for each feature of a set of feature(s) of the first native stock application, and performing automated testing of a first application under test (AUT) using the template table. - View Dependent Claims (6, 7, 8)
-
-
9. A computer system comprising:
-
a processor(s) set; a machine readable storage device; and computer code stored on the machine readable storage device, with the computer code including instructions for causing the processor(s) set to perform operations including the following; receiving, by one or more computer processors, a first view hierarchy data set including information indicative of a first view hierarchy for a first native stock application, with the first native stock application being a system application that is packaged with an operating system (OS) for a first type of mobile computing device, and with the first view hierarchy being data organized into a tree structure that defines relationships among and between views generated by the first native stock application including views structurally specified by parent-child relationships, generating, by one or more computer processors, based, at least in part, on the first view hierarchy data set, a template table for the first native stock application, with the template table including an identification of the type of first type of mobile computing device, a set of possible orientation(s) of the first type of mobile computing device, an identification of the OS, an identification of a version on the first type of mobile computing device, name of the first native stock application, activity information of the first native stock application, action information for the first native stock application, and bounding coordinates for each feature of a set of feature(s) of the first native stock application, and performing automated testing of a first application under test (AUT) using the template table. - View Dependent Claims (10, 11, 12)
-
Specification