Adopting an existing automation script to a new framework

US9411711B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9411711-B2
Application numberUS-201314042437-A
CountryUS
Kind codeB2
Filing dateSep 30, 2013
Priority dateSep 10, 2013
Publication dateAug 9, 2016
Grant dateAug 9, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Arrangements described herein relate to adopting an existing automation script to a new framework. A first version of an automation script configured to execute in a first framework, and expected unit test results for the automation script, are received. A second version of the automation script is created from the first version of the automation script. The second version of the automation script is configured to execute in at least a second framework. The first version of the automation script is executed in the first framework to run a first version of a unit test and the second version of the automation script is executed in the second framework to run a second version of the unit test. Results generated by execution of the first and second versions of the automation script are analyzed to validate the second version of the automation script.

First claim

Opening claim text (preview).

What is claimed is: 1. A system comprising: a processor programmed to initiate executable operations comprising: receiving a first version of an automation script configured to execute in a first framework and expected unit test results for the automation script; automatically creating a second version of the automation script from the first version of the automation script, the second version of the automation script configured to execute in at least a second framework; generating a first plurality of outputs by executing the first version of the automation script in the first framework to run a first version of a unit test and, in parallel with executing the first version of the automation script, generating a second plurality of outputs by executing the second version of the automation script in the second framework to run a second version of the unit test; comparing each sequential one of the first plurality of outputs generated by the first version of the automation script running the first version of the unit test and a corresponding one of the second plurality of outputs generated by the second version of the automation script running the second version of the unit test, as output pairs, to at least one expected unit test result to determine whether the first output and the second output correlate with the expected unit test result; and responsive at least to one output in a particular output pair not correlating with the expected unit test result, identifying code in the first version of the automation script and code in the second version of the automation script that generate the respective outputs in the output pair. 2. The system of claim 1 , the executable operations further comprising: automatically creating the second version of the unit test from the first version of the unit test. 3. The system of claim 2 , the executable operations further comprising: outputting the second version of the automation script and the second version of the unit test. 4. The system of claim 1 , the executable operations further comprising: capturing a first state of a first system hosting the first framework post execution of the first version of the automation script; capturing a second state of a second system hosting the second framework post execution of the second version of the automation script; and comparing the second state of the second system to the first state of the first system to determine whether the second state correlates with the first state. 5. The system of claim 1 , wherein the second version of the automation script is configured to execute in a plurality of frameworks. 6. A computer program product comprising a computer readable storage medium having program code stored thereon, the program code executable by a processor to perform a method comprising: receiving, by the processor, a first version of an automation script configured to execute in a first framework and expected unit test results for the automation script; automatically creating, by the processor, a second version of the automation script from the first version of the automation script, the second version of the automation script configured to execute in at least a second framework; generating a first plurality of outputs by executing, by the processor, the first version of the automation script in the first framework to run a first version of a unit test and, in parallel with executing the first version of the automation script, generating a second plurality of outputs by executing the second version of the automation script in the second framework to run a second version of the unit test; comparing, by the processor, each sequential one of the first plurality of outputs generated by the first version of the automation script running the first version of the unit test and a corresponding one of the second plurality of outputs generated by the second version of the automation script running the second version of the unit test, as output pairs, to at least one expected unit test result to determine whether the first output and the second output correlate with the expected unit test result; and responsive at least to one output in a particular output pair not correlating with the expected unit test result, identifying, by the processor, code in the first version of the automation script and code in the second version of the automation script that generate the respective outputs in the output pair. 7. The computer program product of claim 6 , the method further comprising: automatically creating the second version of the unit test from the first version of the unit test. 8. The computer program product of claim 7 , the method further comprising: outputting the second version of the automation script and the second version of the unit test. 9. The computer program product of claim 6 , the method further comprising: capturing a first state of a first system hosting the first framework post execution of the first version of the automation script; capturing a second state of a second system hosting the second framework post execution of the second version of the automation script; and comparing the second state of the second system to the first state of the first system to determine whether the second state correlates with the first state. 10. The computer program product of claim 6 , wherein the second version of the automation script is configured to execute in a plurality of frameworks.

Assignees

Inventors

Classifications

  • G06F11/368Primary

    for test version control, e.g. updating test cases to a new software version · CPC title

  • Version control (security arrangements therefor G06F21/57); Configuration management · CPC title

  • for test design, e.g. generating new test cases · CPC title

  • Testing of software · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9411711B2 cover?
Arrangements described herein relate to adopting an existing automation script to a new framework. A first version of an automation script configured to execute in a first framework, and expected unit test results for the automation script, are received. A second version of the automation script is created from the first version of the automation script. The second version of the automation scr…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/368. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 09 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).