9990271

Automatically Generating Object Locators for Automation Test Generation

PublishedJune 5, 2018
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
20 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A device, comprising: one or more processors to: receive a uniform resource identifier that identifies an object source, the object source including one or more objects organized in a hierarchy of objects; identify an identification technique based on a type of the one or more objects, a first identification technique being identified based on the one or more objects being a first type, or a second identification technique being identified based on the one or more objects being a second type; identify a first object, of the one or more objects, using the identification technique to permit extraction of one or more properties of the first object; extract the one or more properties of the first object based on identifying the first object; select a subset of properties, of the one or more properties, to use to generate an object locator based on extracting the one or more properties, the object locator being associated with locating the first object in the hierarchy of objects; generate the object locator based on selecting the subset of properties; use the object locator to locate a second object that is within a threshold quantity of pixels of the first object; provide the object locator to permit the device to generate a test of the object source; generate the test of the object source using the object locator; and test the object source using the test.

2

2. The device of claim 1 , where the one or more processors are further to: apply a first rule that permits the device to select a particular property or a particular combination of properties as the subset of properties, or apply a second rule that prevents the device from selecting the particular property or the particular combination of properties as the subset of properties; and where the one or more processors, when selecting the subset of properties, are to: select the subset of properties based on applying the first rule or applying the second rule.

3

3. The device of claim 1 , where the one or more processors are further to: apply a rule that indicates a weight, a score, or a priority associated with selecting a particular property or a particular combination of properties as the subset of properties; and where the one or more processors, when selecting the subset of properties, are to: select the subset of properties based on applying the rule.

4

4. The device of claim 1 , where the one or more processors, when generating the object locator, are to: generate the object locator based on: a property that identifies the first object, a combination of properties that identify the first object, a path that identifies a location of the first object within the hierarchy of objects, a hierarchical relationship associated with the first object, or another object that is proximate to the first object.

5

5. The device of claim 1 , where the one or more processors, when identifying the first object, are to: identify the first object based on receiving an indication to identify the first object, or identify the first object based on receiving an indication to identify multiple objects using the one or more properties of the multiple objects.

6

6. The device of claim 1 , where the one or more processors are further to: export the object locator to an extensible markup language (XML) file or a spreadsheet file; and where the one or more processors, when generating the test of the object source, are to: generate the test of the object source using the XML file or the spreadsheet file.

7

7. The device of claim 1 , where the object locator is a first object locator; and where the one or more processors are further to: generate a second object locator associated with the second object; and provide the second object locator to permit the device to generate the test of the object source.

8

8. The device of claim 1 , where the test is a first test; and where the one or more processors are further to: provide the object locator to another device to generate a second test of the object source.

9

9. A non-transitory computer-readable medium storing instructions, the instructions comprising: one or more instructions that, when executed by one or more processors of a device, cause the one or more processors to: receive one or more uniform resource identifiers that identify one or more object sources, the one or more object sources including at least one object, of one or more objects, that represents at least one element of the one or more object sources, the one or more objects being hierarchically related; identify one or more identification techniques based on one or more types of the one or more objects, a first identification technique, of the one or more identification techniques, being identified based on at least one of the one or more objects being a first type, or a second identification technique, of the one or more identification techniques, being identified based on at least one of the one or more objects being a second type; identify a first object, of the one or more objects, using the one or more identification techniques to identify the first object; extract one or more properties of the first object based on identifying the first object using the one or more identification techniques to identify the first object; select a subset of properties, of the one or more properties, to use to generate an object locator based on extracting the one or more properties, the object locator enabling the device to identify the first object in the one or more object sources; generate the object locator using the subset of properties of the first object; use the object locator to locate a second object that is within a threshold quantity of pixels of the first object; provide the object locator to permit the device to generate a test of the one or more object sources; generate the test of the one or more object sources using the object locator; and test the one or more object sources using the test.

10

10. The non-transitory computer-readable medium of claim 9 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to: apply a rule that identifies a property, or a combination of properties, of the one or more properties, to use to generate the object locator; and where the one or more instructions, that cause the one or more processors to select the subset of properties, cause the one or more processors to: select the subset of properties based on applying the rule.

11

11. The non-transitory computer-readable medium of claim 9 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to: apply a rule that identifies properties, of the one or more properties, to include in the subset of properties based on a weight, a score, or a priority associated with the one or more properties; and where the one or more instructions, that cause the one or more processors to select the subset of properties, cause the one or more processors to: select the subset of properties based on applying the rule.

12

12. The non-transitory computer-readable medium of claim 9 , where the one or more instructions, that cause the one or more processors to identify the first object, cause the one or more processors to: identify a single-selection identification technique; and identify the first object using the single-selection identification technique.

13

13. The non-transitory computer-readable medium of claim 9 , where the one or more instructions, when executed by the one or more processors, further cause the one or more processors to: identify a bulk identification technique; and where the one or more instructions, that cause the one or more processors to identify the first object, cause the one or more processors to: identify multiple objects using the bulk identification technique, the multiple objects including the first object.

14

14. The non-transitory computer-readable medium of claim 9 , where the one or more instructions, that cause the one or more processors to provide the object locator, further cause the one or more processors to: provide the object locator in a manner that enables the object locator to be used with: different devices, different programs, or different web browsers.

15

15. The non-transitory computer-readable medium of claim 9 , where the one or more uniform resource identifiers identify: a webpage, a hypertext markup language (HTML) document, an extensible markup language (XML) document, or an extensible hypertext markup language (XHTML) document.

16

16. A method, comprising: receiving, by a device, a uniform resource identifier that identifies an object source, the object source including one or more objects; identifying, by the device, an identification technique based on a type of the one or more objects, a first identification technique being identified based on at least one of the one or more objects being a first type, or a second identification technique being identified based on at least one of the one or more objects being a second type; identifying, by the device, a first object, of the one or more objects, using the identification technique to permit extraction of one or more properties of the first object; extracting, by the device, the one or more properties of the first object based on identifying the first object; selecting, by the device, a subset of properties, of the one or more properties, using a rule, the rule being associated with determining whether a property, of the one or more properties, can be used to generate an object locator that identifies a location of the first object in the object source; generating, by the device, the object locator based on selecting the subset of properties; using, by the device, the object locator to locate a second object that is within a threshold quantity of pixels of the first object; providing, by the device, the object locator to permit the device to generate a test of the object source; generating, by the device, the test of the object source using the object locator; and testing, by the device, the object source using the test.

17

17. The method of claim 16 , further comprising: determining that the property can be used to identify the first object, or determining that the property cannot be used to identify the first object; and selectively including the property in the subset of properties based on determining that the property can or cannot be used to identify the first object.

18

18. The method of claim 16 , where the object locator is associated with at least one of: a property of the first object that identifies the first object, a combination of properties that identify the first object, a path that identifies a location of the first object within a hierarchy of objects, a hierarchical relationship associated with the first object, or another object that is proximate to the first object.

19

19. The method of claim 16 , where generating the test comprises: generating one or more test steps to test the object source, the one or more test steps including the object locator; and where testing the first object comprises: testing the first object using the one or more test steps.

20

20. The method of claim 16 , where providing the object locator further comprises: exporting the object locator to permit the object locator to be used by a different device or a different program to test the object source.

Patent Metadata

Filing Date

Unknown

Publication Date

June 5, 2018

Inventors

Azarudeen ANIFA

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “AUTOMATICALLY GENERATING OBJECT LOCATORS FOR AUTOMATION TEST GENERATION” (9990271). https://patentable.app/patents/9990271

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.