Generated object model for test automation
AssigneeMicrosoft Corporation
InventorsKristopher Makey, Ryan Cavanaugh, Dmitri Klementiev, Xuechun Li, Scott Louvau, Eric Maino
Life of this patent
Estimating the term…
Abstract
A generated object model engine abstracts actions, used in test cases, in a manner to produce new object model types that are independent of an underlying code implementation. The generated object model engine analyzes action classes to aggregate a set of actions having similarly-related class types. Action classes having similarly-related class types are then used to form a new object model type. The new object model type may be used in a test case to hide the action's code implementation from the test case.
Claims20
A computer-implemented method, comprising:
- providing one or more test case applications written in an object-oriented programming language, the one or more test case applications including one or more action classes;
- dynamically determining a class type associated with each of the action classes;
- aggregating the action classes into one or more sets, each set including one or more of the action classes having similarly-related class types;
- and
- generating an object model type for each.
A computer-readable storage medium storing thereon processor-executable instructions that when executed on a processor perform the actions of:
- dynamically determining a class type associated with each action class used in one or more test case applications;
- aggregating a plurality of action classes to form a set of actions having a similarly-related class type;
- creating an object model type that represents the set of actions;
- and
- developing an application operable with one or more of the object model types.
A system, comprising:
- a processor;
- and
- a memory, coupled to the processor, the memory having a generated object model engine, the generated object model engine containing instructions that when executed on the processor generates an object model type associated with one or more action classes, the object model type providing an interface to a code implementation associated with the action class,
- dynamically determines a class type associated with each of the action classes;
- aggregates a plurality of action classes for association with the object model type based on a similarly-related class type, the action classes used in one or more test case applications.
Dependencies are inferred from the claim text.