Identification of embedded browsers in application for automated software testing
US-2024303183-A1 · Sep 12, 2024 · US
US2018189168A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2018189168-A1 |
| Application number | US-201615395436-A |
| Country | US |
| Kind code | A1 |
| Filing date | Dec 30, 2016 |
| Priority date | Dec 30, 2016 |
| Publication date | Jul 5, 2018 |
| Grant date | — |
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 device may receive information identifying a first set of instructions. The first set of instructions may identify an action to perform to test a first program. The device may identify a second set of instructions, related to testing a second program, that can be used in association with the first set of instructions. The first test may be similar to the second test. The device may identify multiple steps, of the first set of instructions, that can be combined to form a third set of instructions. The third set of instructions may be used to test the first program or a third program. The device may generate program code in a first programming language to perform the action. The first programming language may be different than a second programming language used to write the first set of instructions. The device may perform the action.
Opening claim text (preview).
What is claimed is: 1 . A device, comprising: one or more processors to: receive information identifying a set of steps to perform, the set of steps being related to a test of a program, one or more steps, of the set of steps, being written in a first programming language; determine whether the set of steps is associated with a first artifact that is similar to a second artifact associated with another set of steps based on the information identifying the set of steps, the first artifact identifying information related to the test of the program and the second artifact identifying information related to another test of another program; determine whether two or more steps, of the set of steps, can be combined into a combined set of steps based on determining whether the set of steps is associated with the first artifact that is similar to the second artifact; identify program code written in a second programming language based on determining whether the two or more steps, of the set of steps, can be combined into the combined set of steps; and perform an action related to the test of the program based on identifying the program code. 2 . The device of claim 1 , where the one or more processors are further to: determine whether the first artifact and the second artifact are the same based on the information related to the test identified by the first artifact and the information related to the other test identified by the second artifact; identify the other set of steps based on determining whether the first artifact and the second artifact are the same, the other set of steps being associated with the second artifact; and where the one or more processors, when performing the action, are to: perform the action based on identifying the other set of steps. 3 . The device of claim 1 , where the one or more processors are further to: identify a term associated with the first artifact and another term associated with the second artifact based on the information related to the test identified by the first artifact and the information related to the other test identified by the second artifact; determine whether the term and the other term are similar based on identifying the term and the other term; and determine whether the first artifact and the second artifact are similar based on determining whether the term and the other term are similar. 4 . The device of claim 1 , where the one or more processors are further to: identify a maximal substring of the two or more steps based on the information identifying the set of steps; and where the one or more processors, when determining whether the two or more steps of the set of steps can be combined into the combined set of steps, are to: determine whether the two or more steps of the set of steps can be combined into the combined set of steps based on identifying the maximal substring of the two or more steps. 5 . The device of claim 1 , where the one or more processors are further to: process the two or more steps to identify one or more logical blocks of the set of steps based on the information identifying the set of steps; and where the one or more processors, when determining whether the two or more steps of the set of steps can be combined into the combined set of steps, are to: determine whether the two or more steps of the set of steps can be combined into the combined set of steps based on identifying the one or more logical blocks. 6 . The device of claim 1 , where the one or more processors are further to: receive information identifying a browser to use during the test of the program; and where the one or more processors, when identifying the program code, are to: identify the program code based on the information identifying the browser. 7 . The device of claim 1 , where the one or more processors, when performing the action, are to: select the two or more steps based on determining that the two or more steps can be combined into the combined set of steps; and store the two or more steps as the combined set of steps based on selecting the two or more steps. 8 . A method, comprising: receiving, by a device, information identifying a first set of instructions, the first set of instructions identifying one or more actions to perform to test a first program; identifying, by the device, a second set of instructions that can be used in association with the first set of instructions based on information related to a first test of the first program and information related to a second test of a second program, the second set of instructions being related to testing the second program, the first test being similar to the second test; identifying, by the device, multiple steps, of the first set of instructions, that can be combined to form a third set of instructions based on identifying the second set of instructions that can be used in association with the first set of instructions, the third set of instructions to be used to test the first program or to test a third program; generating, by the device, program code in a first programming language to perform the one or more actions based on identifying the multiple steps of the first set of instructions that can be combined to form the third set of instructions, the first programming language being different than a second programming language used to write the first set of instructions; and performing, by the device, the one or more actions based on generating the program code. 9 . The method of claim 8 , further comprising: determining a first score for the first test based on the information related to the first test and a second score for the second test based on the information related to the second test; performing a comparison of the first score and the second score based on determining the first score and the second score; determining that the first score and the second score are similar based on a result of the comparison; and where identifying the second set of instructions comprises: identifying the second set of instructions based on determining that the first score and the second score are similar. 10 . The method of claim 9 , further comprising: determining a cosine similarity of the first score and the second score based on determining the first score and the second score; and where determining that the first score and the second score are similar comprises: determining that the first score and the second score are similar based on determining the cosine similarity of the first score and the second score. 11 . The method of claim 8 , further comprising: determining a measure of similarity between the information related to the first test and the information related to the second test based on receiving the information identifying the first set of instructions; determining whether the measure of similarity satisfies a threshold based on determining the measure of similarity; and where identifying the second set of instructions comprises: identifying the second set of instructions based on determining whether the measure of similarity satisfies the threshold. 12 . The method of claim 8 , further comprising: determining a frequency of use of the multiple steps based on the information identifying the first set of instructions; determining whether the frequency of use satisfies a threshold based on determining the frequency of use; and where identifying the multiple steps comprises: identifying the multiple steps based on determining whether the frequency of use satisfies the threshold. 13 . The method of claim 8 , further compr
for test design, e.g. generating new test cases · CPC title
Physics · mapped topic
Related publications grouped by family.
Answers are generated from the same data shown on this page.