Patent · US Active

Generating executable test automation code automatically according to a test case

US10684943B2 · kind B2 · utility

6Cited by
0References
18Claims
0Family size

Assignee

Inventors

Key dates

Filing dateAug 28, 2018
Grant dateJun 16, 2020
Priority date
Expiry dateFeb 16, 2039

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F11/3698
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A mapping is created between test steps from existing test cases and code snippets from existing automated test scripts. The code snippets are clustered into categories. The test steps are refined to generate training word segments. A new manual test case to automate is received. New test steps from the new manual test case are refined to generate new word segments. Probabilities are calculated for the categories, each probability indicating a likelihood that a new test step belongs in a particular category, and being based on a training word segment associated with the particular category, and a new word segment derived from the new test step. The new test step is mapped to a code snippet from a category having the highest probability. The probability calculation and code snippet mapping is repeated for each other new test step.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.