Methods and Systems of Distributed Tracing
US-2015370693-A1 · Dec 24, 2015 · US
US9430356B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9430356-B2 |
| Application number | US-201313934278-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jul 3, 2013 |
| Priority date | Jul 31, 2012 |
| Publication date | Aug 30, 2016 |
| Grant date | Aug 30, 2016 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A method and associated system for repairing a script. A missed object is detected among one or more objects of the running script, the missed object being unrecognized from an original object of a previous running of the script. A change type of the detected missed object is determined. The script is repaired based on the change type.
Opening claim text (preview).
What is claimed is: 1. A method for repairing a script, comprising: running a script, said running the script performed by a processor of a computer system; said processor detecting a missed object among one or more objects of the running script, said missed object being unrecognized from an original object of a previous running of the script; said processor determining a change type of the detected missed object; and said processor repairing the script based on the change type, wherein said determining the change type of the missed object comprises: determining whether a height of a new hierarchical structure including the missed object has changed as compared with a height of an original hierarchical structure including the original object, said original hierarchical structure and the new hierarchical structure being hierarchical structures formed by the one or more objects of the running script together with the missed object before and after said detecting respectively; if it is determined that the height of the new hierarchical structure has changed then marking the change type of the missed object as a hierarchy change; if it is determined that the height of the new hierarchical structure has not changed then determining whether a value of an object at a lowest hierarchy in the new hierarchical structure has changed; if it is determined that the height of the new hierarchical structure has not changed and that the value of the object at the lowest hierarchy in the new hierarchical structure has changed, then determining whether a class of the object at the lowest hierarchy in the new hierarchical structure has changed and if so then marking the change type of the missed object as a class change and if not then marking the change type of the missed object as a recognition property change; if it is determined that the height of the new hierarchical structure has not changed and that the value of the object at the lowest hierarchy in the new hierarchical structure has not changed, then determining whether at least one object upwards along the new hierarchical structure starting from a parent object at the lowest hierarchy has changed and if so then marking the change type of the missed object as said hierarchy change and if not then marking the change type of the missed object as no change. 2. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as no change, and wherein said repairing the script based on the change type comprises: in response to said marking the change type of the missed object as no change, fetching a plurality of objects with a same class and recognition property as the missed object, from a plurality of child objects of a parent object of the missed object; and causing the plurality of objects with the same class and recognition property to perform a same action, determining as the missed object an object obtaining a result that is the same as a result to be obtained from the missed object performing the same action, and continuing said running the script. 3. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as the recognition property change, and wherein said repairing the script based on the change type comprises: in response to said marking the change type of the missed object as the recognition property change, fetching one or more child objects of a parent object of the missed object; and in response to determining that among the one or more child objects there is only one unique object with a same class and a different recognition property as the missed object and determining that other objects have not changed, determining the unique object as the missed object and continuing said running the script. 4. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as the recognition property change, and wherein said repairing the script based on the change type comprises: in response to said marking the change type of the missed object as the recognition property change, fetching one or more child objects of a parent object of the missed object; in response to determining that among the one or more child objects there are a plurality of objects with a same class and different recognition properties as the missed object, specifying, in turn, as a new recognition property each of one or more properties of each object of the plurality of objects with the same class and different recognition properties as the missed object until at least one object is recognized according to the new recognition property; if an object is uniquely recognized, then determining the uniquely recognized object as the missed object and continuing said running the script; and if a plurality of objects is recognized, then causing the objects of the recognized plurality of objects to perform a same action, determining as the missed object an object obtaining a result that is the same as a result that would be obtained from the missed object performing the same action, and continuing said running the script. 5. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as the class change, and wherein said repairing the script based on the change type comprises: in response to determining that the change type of the object is the class change, fetching one or more child objects of a parent object of the missed object; and in response to determining that among the one or more child objects there is only one unique object with the same class as the missed object and the same class is operable and determining that other objects have not changed, determining the unique object as the missed object and continuing said running the script. 6. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as the class change, and wherein said repairing the script based on the change type comprises: in response to determining that the change type of the object is the class change, fetching one or more child objects of a parent object of the missed object; in response to that among the one or more child objects there are a plurality of objects with different classes from the missed object and the plurality of objects are all operable, specifying, in turn, as a new recognition property each of one or more properties of each of the plurality of objects until one or more objects are recognized; if an object is uniquely recognized, then determining the uniquely recognized object as the missed object and continuing said running the script; and if a plurality of objects is recognized, then causing the objects of the recognized plurality of objects to perform a same action, determining as the missed object an object obtaining a result that is the same as a result that would be obtained from the missed object performing the same action, and continuing said running the script. 7. The method of claim 1 , wherein said marking comprises marking the change type of the missed object as the hierarchy change, and wherein said repairing the script based on the change type comprises: in response to determining that the change type of the missed object is the hierarchy change, fetching one or more child objects of a parent object of the missed object; looking up in the one or more child objects in an attempt to find an object with a same class as the missed object; in response to determining that the lookup fails to find the object with the same class as the missed object, traversing one or more child objects of each level of a parent object upwards along the original hierarchical structure until the object with the same class is found or the traversing fails; if it is de
by runtime analysis (performance monitoring G06F11/3466) · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.