Automated test tool interface
First Claim
1. A non-transitory computer-readable storage medium storing a plurality of instructions for controlling a processor to generate automated test tool interfaces, the plurality of instructions comprising:
- instructions that cause the processor to receive information defining one or more functions that convert between a Document Object Model dependent representation of an element of a component and a Document Object Model independent representation of the element of the component;
instructions that cause the processor to generate one or more interfaces of the component based on the information defining the one or more functions;
instructions that cause the processor to provide the Document Object Model independent representation of the element of the component based on accessing at least one of the one or more interfaces, wherein the instructions that cause the processor to provide the Document Object Model independent representation of the element of the component comprise;
instructions that cause the processor to receive, from a testing system, a first identifier that identifies the element of the component that is being tested;
instructions that cause the processor to determine, based on the first identifier, a second identifier associated with the element; and
instructions that cause the processor to send the second identifier to the test system; and
instructions that cause the processor to provide a Document Object Model dependent representation of the element of the component based on accessing at least one of the one or more interfaces.
1 Assignment
0 Petitions
Accused Products
Abstract
An automated test tool interface is described. A developer of a reusable web component provides an interface for obtaining an accurate identification of a root element of a component and any sub elements within the root element on a web page. An automated test framework uses this interface when recording automated tests to obtain a stable identification of the element that is independent of the rendering of the component on the web page. When the automated test is played back, the test framework again uses the interface to convert the stable identification of the element to a form that is dependent on the rendering of the component on the web page. Thus, changes in the rendering of a component will no longer cause an automated test tool to fail, as element identification in the testing framework is no longer tied to the specific rendering of the web page.
-
Citations
17 Claims
-
1. A non-transitory computer-readable storage medium storing a plurality of instructions for controlling a processor to generate automated test tool interfaces, the plurality of instructions comprising:
-
instructions that cause the processor to receive information defining one or more functions that convert between a Document Object Model dependent representation of an element of a component and a Document Object Model independent representation of the element of the component; instructions that cause the processor to generate one or more interfaces of the component based on the information defining the one or more functions; instructions that cause the processor to provide the Document Object Model independent representation of the element of the component based on accessing at least one of the one or more interfaces, wherein the instructions that cause the processor to provide the Document Object Model independent representation of the element of the component comprise; instructions that cause the processor to receive, from a testing system, a first identifier that identifies the element of the component that is being tested; instructions that cause the processor to determine, based on the first identifier, a second identifier associated with the element; and instructions that cause the processor to send the second identifier to the test system; and instructions that cause the processor to provide a Document Object Model dependent representation of the element of the component based on accessing at least one of the one or more interfaces. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method comprising:
-
receiving, with a computer, information defining one or more functions that convert between a Document Object Model dependent representation of an element of a component and a Document Object Model independent representation of the element of the component; generating, with the computer, one or more interfaces of the component based on the information defining the one or more functions; providing, with a computer, the Document Object Model independent representation of the element of the component based on accessing at least one of the one or more interfaces, wherein providing the Document Object Model independent representation of the element of the component comprises; receiving, from a testing system, a first identifier that identifies the element of the component that is being tested; determining, based on the first identifier, a second identifier associated with the element; and sending the second identifier to the test system; and providing, with the computer, a Document Object Model dependent representation of the element of the component based on accessing at least one of the one or more interfaces. - View Dependent Claims (14)
-
-
15. A system comprising:
-
a processor; and a memory coupled to the processor, the memory containing a set of instructions which when executed by the processor cause the processor to; receive information defining one or more functions that convert between a Document Object Model dependent representation of an element of a component and a Document Object Model independent representation of the element of the component; generate one or more interfaces of the component based on the information defining the one or more functions; provide the Document Object Model independent representation of the element of the component based on accessing at least one of the one or more interfaces, wherein to provide the Document Object Model independent representation of the element of the component the processor is caused to; receive, from a testing system, a first identifier that identifies the element of the component that is being tested; determine, based on the first identifier, a second identifier associated with the element; and send the second identifier to the test system; and provide a Document Object Model dependent representation of the element of the component based on accessing at least one of the one or more interfaces. - View Dependent Claims (16, 17)
-
Specification