Method and device for automating testing based on context parsing across multiple technology layers

US10761971B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10761971-B2
Application numberUS-201815941010-A
CountryUS
Kind codeB2
Filing dateMar 30, 2018
Priority dateFeb 15, 2018
Publication dateSep 1, 2020
Grant dateSep 1, 2020

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.

A method and device for automating testing based on context parsing across multiple technology layers is disclosed. The method includes clustering a plurality of test instructions into a plurality of technology groups based on an analysis of the plurality of test instructions. The method further includes creating an automation component for a set of test instructions in each of the plurality of technology groups, based on actions and objects in an associated set of test instructions. Further, the method includes identifying for each technology group a context information to be passed from an automation component associated with a technology layer to a downstream automation component associated with a succeeding technology layer, based on Natural Language Processing of the plurality of test instructions, and executing testing of the application based on the automation component and the associated context information.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for automating testing of an application across a plurality of technology layers, the method comprising: receiving, by a testing automation device, a plurality of test instructions for performing testing of the application, wherein each of the plurality of test instructions comprises at least one action and at least one object; clustering, by the testing automation device, the plurality of test instructions into a plurality of technology groups based on an analysis of the plurality of test instructions, wherein each technology group in the plurality of technology groups is associated with a technology layer from the plurality of technology layers, wherein the analysis of the plurality of test instructions comprising performing a textual comparison of an action in a test instruction with an action in a succeeding test instruction that succeeds the test instruction to determine a similarity score, comparing the similarity score with a predetermined threshold score; and determining whether the test instruction and the succeeding test instruction are to be clustered, based on the comparison of the similarity score with the predetermined threshold score; creating, by the testing automation device, an automation component for a set of test instructions in each of the plurality of technology groups, based on actions and objects in an associated set of test instructions; identifying for each technology group, by the testing automation device, a context information to be passed from an automation component associated with a technology layer to a downstream automation component associated with a succeeding technology layer, based on Natural Language Processing (NLP) of the plurality of test instructions; and executing, by the testing automation device, testing of the application based on the automation component created for each technology group and an associated context information to be passed to the downstream automation component. 2. The method of claim 1 , wherein the clustering comprises: determining the plurality of technology layers based on at least one pre-identified keywords used in each of the plurality of test instructions; creating the plurality of technology groups based on the determined plurality of technology layers; and identifying whether a test instruction from the plurality of test instructions is associated with one of the plurality of technology groups, wherein the analysis comprises identifying the at least one pre-identified keywords in each of the plurality of test instructions. 3. The method of claim 1 , wherein the determining comprises: clustering the test instruction and the succeeding test instruction in the same technology group from the plurality of technology groups, when the similarity score is greater than the predetermined threshold score; and assigning each of the test instruction and the succeeding test instruction to separate technology groups from the plurality of technology groups, when the similarity score is less than the predetermined threshold score. 4. The method of claim 1 , wherein creating the automation component for a set of test instructions in a technology group from the plurality of technology groups comprises identifying at least one action and the corresponding at least one object in the set of test instructions based on NLP. 5. The method of claim 1 , wherein identifying the context information to be passed from the automation component to the downstream automation component comprises: identifying context values in an output of the automation component; standardizing the context values across the plurality of technology layers as standardized context information. 6. The method of claim 5 , wherein standardizing the context values comprises: identifying expression patterns in the context values; parsing the context values in the plurality of technology layers; and updating the context values across the plurality of technology layers as the standardized context information. 7. A testing automation device for automating testing of an application across a plurality of technology layers, the testing automation device comprising: a processor; and a memory communicatively coupled to the processor, wherein the memory stores processor instructions, which, on execution, causes the processor to: receive a plurality of test instructions for performing testing of the application, wherein each of the plurality of test instructions comprises at least one action and at least one object; cluster the plurality of test instructions into a plurality of technology groups based on an analysis of the plurality of test instructions, wherein each technology group in the plurality of technology groups is associated with a technology layer from the plurality of technology layers, wherein for the analysis of the plurality of test instructions, the processor instructions further cause the processor to perform a textual comparison of an action in a test instruction with an action in a succeeding test instruction that succeeds the test instruction to determine a similarity score, compare the similarity score with a predetermined threshold score, and determine whether the test instruction and the succeeding test instruction are to be clustered, based on the comparison of the similarity score with the predetermined threshold score; create an automation component for a set of test instructions in each of the plurality of technology groups, based on actions and objects in an associated set of test instructions; identify for each technology group a context information to be passed from an automation component associated with a technology layer to a downstream automation component associated with a succeeding technology layer, based on Natural Language Processing (NLP) of the plurality of test instructions; and execute testing of the application based on the automation component created for each technology group and an associated context information to be passed to the downstream automation component. 8. The testing automation device of claim 7 , wherein for clustering, the processor instructions further cause the processor to: determine the plurality of technology layers based on at least one pre-identified keywords used in each of the plurality of test instructions; create the plurality of technology groups based on the determined plurality of technology layers; and identify whether a test instruction from the plurality of test instructions is associated with one of the plurality of technology groups, wherein the analysis comprises identifying the at least one pre-identified keywords in each of the plurality of test instructions. 9. The testing automation device of claim 7 , wherein for determining, the processor instructions further cause the processor to: cluster the test instruction and the succeeding test instruction in the same technology group from the plurality of technology groups, when the similarity score is greater than the predetermined threshold score; and assign each of the test instruction and the succeeding test instruction to separate technology groups from the plurality of technology groups, when the similarity score is less than the predetermined threshold score. 10. The testing automation device of claim 7 , wherein for creating the automation component for a set of test instructions in a technology group from the plurality of technology groups, the processor instructions further cause the processor to: identify at least one action and the corresponding at least one object in the set of test instructions based on NLP. 11. The testing automation device of claim 7 , wherein for identifying the context i

Assignees

Inventors

Classifications

  • for test execution, e.g. scheduling of test suites · CPC title

  • Environments for analysis, debugging or testing of software · CPC title

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

  • Test management · CPC title

  • Physics · mapped topic

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 US10761971B2 cover?
A method and device for automating testing based on context parsing across multiple technology layers is disclosed. The method includes clustering a plurality of test instructions into a plurality of technology groups based on an analysis of the plurality of test instructions. The method further includes creating an automation component for a set of test instructions in each of the plurality of…
Who is the assignee on this patent?
Wipro Ltd
What technology area does this patent fall under?
Primary CPC classification G06F11/3688. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 01 2020 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 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).