Patent Document ID: 20170139814
Application ID: 15341023
Patent Status: 0

Claim One:
1. A computer program product for user interface (UI) automation area coverage, comprising: one or more computer-readable storage devices and program instructions stored on at least one of the one or more tangible storage devices, the program instructions executable by a processor, the program instructions comprising: program instructions to receive, by a server, a source code from a user, the source code comprising two unit test classes, the two unit test classes being code used to test a user interface (UI); program instructions to extract, by a computer, document information from each of the two unit test classes, the document information comprising package name, class name, and document code, for each of the two unit test classes; program instructions to receive, by the computer, a keyword from a user; program instructions to search, by the computer, for the keyword within the extracted document information in order to find keyword matches within each of the two unit test classes; program instructions to determine a number of keyword matches for each of the two unit test classes, the number of keyword matches comprising a number of time the keyword has occurred within each of the two extracted document information; program instructions to receive, by the computer, a weight factor from a user, wherein the weight factor is defined by increasing or decreasing an importance to the keywords from a user for each of the two unit test classes; program instructions to assign, by the computer, a weight score to each keyword match based on the number of keyword matches and the weight factor wherein the weight score is calculated based on the number of matches of the searched keywords multiplied by the weight factor received from the user for each of the two unit test classes; program instructions to determine, by the computer, a total match and a total weight score for the unit test for each of the two unit test classes; program instructions to rank, by the computer, each of the two unit test classes based on the respective weight scores; and program instructions to generate, by the computer, a UI coverage report, the UI coverage report comprising the weight score and their respective ranks for each of the two unit test classes.