Claims
- 1. A method for disambiguating like objects in an application under test, the method comprising the steps of:
obtaining a reference to a related object which is related to one of the like objects in the application under test; and, providing said reference to the related object as a parameter to a function call for performing an operation upon said one of the like objects in the application under test by locating said one of the like objects through a relationship between said one of the like objects and said reference.
- 2. The method of claim 1, wherein said obtaining step comprises the step of obtaining a reference to a content browser hosting said one of the like objects.
- 3. The method of claim 2, wherein said providing step comprises the step of providing said reference as a parameter to a function call for an object directly associated with said content browser.
- 4. The method of claim 2, wherein said providing step comprises the step of providing said reference as a parameter to a function call to manipulate a button disposed in a tool bar directly associated with said content browser.
- 5. The method of claim 1, wherein said obtaining step comprises the step of obtaining a reference to an application hosting said one of the like objects.
- 6. The method of claim 5, wherein said obtaining step comprises the step of retrieving said reference to said application when creating an instance of said application.
- 7. A system for disambiguating like objects in an application under test, the system comprising:
a record process configured to produce both a test script and an object mapping; a playback process configured to process said test script; and, an object manager coupled to said playback process and configured to obtain a reference to a related object which is related to one of the like objects in the application under test and to provide said reference as a parameter to a function call for performing an operation upon said one of the like objects in the application under test by locating said one of the like objects through a relationship between said one of the like objects and said reference.
- 8. A machine readable storage having stored thereon a computer program for disambiguating two like objects in two separate application containers, the computer program comprising a routine set of instructions which when executed by the machine cause the machine to perform the steps of:
obtaining a reference to a related object which is related to one of the like objects in the application under test; and, providing said reference to the related object as a parameter to a function call for performing an operation upon said one of the like objects in the application under test by locating said one of the like objects through a relationship between said one of the like objects and said reference.
- 9. The machine readable storage of claim 8, wherein said obtaining step comprises the step of obtaining a reference to a content browser hosting said one of the like objects.
- 10. The machine readable storage of claim 9, wherein said providing step comprises the step of providing said reference as a parameter to a function call for an object directly associated with said content browser.
- 11. The machine readable storage of claim 9, wherein said providing step comprises the step of providing said reference as a parameter to a function call to manipulate a button disposed in a tool bar directly associated with said content browser.
- 12. The machine readable storage of claim 8, wherein said obtaining step comprises the step of obtaining a reference to an application hosting said one of the like objects.
- 13. The machine readable storage of claim 12, wherein said obtaining step comprises the step of retrieving said reference to said application when creating an instance of said application.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This patent application claims the benefit under 35 U.S.C. § 119(e) of presently pending U.S. Provisional Patent Application 60/457,631, entitled LOCATING A TESTABLE OBJECT IN A FUNCTIONAL TESTING TOOL, filed on Mar. 25, 2003, the entire teachings of which are incorporated herein by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60457631 |
Mar 2003 |
US |