FIELD OF THE INVENTION

The present invention relates to automating tests for software.

BACKGROUND

Testing is a common phase in software application development, and is generally used prior to distribution of the software in order to ensure that a developed software application executes without errors, failures, etc. Initially, testing was performed in an entirely manual manner, with a user interacting with the software application in accordance with some pre-planned test cases to validate operation of the software application for those test cases. As time has progressed, many techniques have been developed to automate testing in order to improve the testing speed, thoroughness, and accuracy.

One technique for test automation involves converting manually written test cases into automated tests that can be performed on a software application in an automated manner (e.g. without manual intervention). However, to date, the processes used for this type of test case conversion have been limited. For example, users are still typically required to manually write at least a portion of the automated tests, which is time consuming and prone to error.

There is thus a need for addressing these and/or other issues associated with the prior art.

SUMMARY

As described herein, a system, method, and computer program are provided for automating manually written test cases. In use, a web scraper is used to scrape an application to be tested, wherein the scraping identifies elements of the application. Additionally, a repository is used to store an indication of the elements of the application identified from the scraping of the application. Further, a test case manually written for the application is accessed. One or more of the elements of the application indicated in the repository that are impacted by the manually written test case are then determined. Still yet, one or more of the preconfigured test functions that correspond with the one or more of the elements of the application are selected from a library of preconfigured test functions. Moreover, the manually written test case is automated, to form an automated test case, using the selected one or more of the preconfigured test functions.

