System, method, and computer readable medium for universal software testing
First Claim
1. A computer-assisted method for software testing and validation, the method comprising:
- generating, by a processor of a computing device, an abstract model defined by data embedded in a software application under test (SAUT), said generating comprising;
identifying, by the processor, the embedded data within at least one region of the SAUT by parsing the at least one region of the SAUT, wherein the embedded data comprises a tag identifying a test region; and
constructing a test region object representing the test region, wherein the test region object stores hierarchical information defining a hierarchy comprising;
(i) a location of the test region within the SAUT, (ii) a parent region that the test region is contained within, (iii) one or more sub-regions contained within the test region, and (iv) one or more test objects associated with the test region; and
executing, by the processor, a test script, wherein the test script navigates the abstract model thereby invoking an action of the test region and/or verifying an output of the test region, wherein the abstract model enables the test script to navigate the abstract model by one or both of (a) directly accessing the test region using the tag thereby locating the test region regardless of location of the test region within the abstract model, and/or (b) using the hierarchical information to navigate up or down the hierarchy re-executing, by the processor, the test script to test an altered test region, wherein the altered test region has been altered by at least one of relocating and redefining the altered test region of the SAUT, the altering resulting in a change of expression of the abstract model of the altered test region without affecting other test regions within the SAUT, wherein the test script is unaffected by updates or changes outside the altered test region.
10 Assignments
0 Petitions
Accused Products
Abstract
An automated software testing and validation system allows testing of a software application under test (SAUT) regardless of the dynamic nature of the SAUT. An abstracted set of hierarchal or linear objects model certain regions of the SAUT. Automated test scripts utilize theses regions to intuitively navigate and identify potions of the SAUT to automate. The scripts can also access specific SAUT elements contain within each defined region. These elements can then be used to invoke actions or verify outputs there from. The system uses a set of rich identification rules embodied in the system which allow the user to configure the identification of any element within the abstracted region. The rules are customizable to allow the user to configure the desired level of loose coupling between the automated scripts and the target element to adapt the scripts to the nature of the SAUT.
-
Citations
21 Claims
-
1. A computer-assisted method for software testing and validation, the method comprising:
-
generating, by a processor of a computing device, an abstract model defined by data embedded in a software application under test (SAUT), said generating comprising; identifying, by the processor, the embedded data within at least one region of the SAUT by parsing the at least one region of the SAUT, wherein the embedded data comprises a tag identifying a test region; and constructing a test region object representing the test region, wherein the test region object stores hierarchical information defining a hierarchy comprising;
(i) a location of the test region within the SAUT, (ii) a parent region that the test region is contained within, (iii) one or more sub-regions contained within the test region, and (iv) one or more test objects associated with the test region; andexecuting, by the processor, a test script, wherein the test script navigates the abstract model thereby invoking an action of the test region and/or verifying an output of the test region, wherein the abstract model enables the test script to navigate the abstract model by one or both of (a) directly accessing the test region using the tag thereby locating the test region regardless of location of the test region within the abstract model, and/or (b) using the hierarchical information to navigate up or down the hierarchy re-executing, by the processor, the test script to test an altered test region, wherein the altered test region has been altered by at least one of relocating and redefining the altered test region of the SAUT, the altering resulting in a change of expression of the abstract model of the altered test region without affecting other test regions within the SAUT, wherein the test script is unaffected by updates or changes outside the altered test region. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for software testing and validation, the system comprising:
-
a processor of a computing device; a non-transitory computer readable medium associated with a software testing and validation program, the software testing and validation program stored on the non-transitory computer readable medium and including instructions that, when executed by the processor, cause the processor to perform the steps of; generating, by a processor of a computing device, an abstract model defined by data embedded in a software application under test (SAUT), said generating comprising; identifying, by the processor, the embedded data within at least one region of the SAUT by parsing the at least one region of the SAUT, wherein the embedded data comprises a tag identifying a test region; and constructing a test region object representing the test region, wherein the test region object stores hierarchical information defining a hierarchy comprising; (i) a location of the test region within the SAUT, (ii) a parent region that the test region is contained within, (iii) one or more sub-regions contained within the test region, and (iv) one or more test objects associated with the test region; and executing, by the processor, a test script, wherein the test script navigates the abstract model thereby invoking an action of the test region and/or verifying an output of the test region, wherein the abstract model enables the test script to navigate the abstract model by one or both of (a) directly accessing the test region using the tag thereby locating the test region regardless of a location of the test region within the abstract model, and/or (b) using the hierarchical information to navigate up or down the hierarchy re-executing, by the processor, the test script to test an altered test region, wherein the altered test region has been altered by at least one of relocating and redefining the altered test region of the SAUT, the altering resulting in a change of expression of the abstract model of the altered test region without affecting other test regions within the SAUT, wherein the test script is unaffected by updates or changes outside the altered test region. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer readable medium that is readable by a computer for software testing and validation, the computer readable medium comprising a set of instructions that, when executed by a processor, causes the processor to perform the steps of:
-
generating, by a processor of a computing device, an abstract model defined by data embedded in a software application under test (SAUT), said generating comprising identifying, by the processor, the embedded data within at least one region of the SAUT by parsing the at least one region of the SAUT, wherein the embedded data comprises a first tag identifying a test region and one or more second tags each identifying a test object; and executing, by the processor, a test script, wherein the test script navigates the abstract model thereby invoking an action of the test region and/or verifying an output of the test region, wherein the abstract model enables the test script to navigate the abstract model by one or both of (a) directly accessing the test region using the first tag thereby locating the test region regardless of a location of the test region within the abstract model, and/or (b) using the hierarchical information to navigate up or down the hierarchy re-executing, by the processor, the test script to test an altered test region, wherein the altered test region has been altered by at least one of relocating and redefining the altered test region of the SAUT, the altering resulting in a change of expression of the abstract model of the altered test region without affecting other test regions within the SAUT, wherein the test script is unaffected by updates or changes outside the altered test region. - View Dependent Claims (18, 19, 20, 21)
-
Specification