Browse Prior Art Database

Method and system to automatic customer specific test automation suite generation using semantic annotation

IP.com Disclosure Number: IPCOM000246805D
Publication Date: 2016-Jul-01
Document File: 3 page(s) / 39K

Publishing Venue

The IP.com Prior Art Database

Abstract

This article describes a new way to completely automate the process of generating and executing scenarios both for test phase during development and test phase on preproduction customer environment . The suite are created based on the information included in the semantic UI itself and on the paths used by the customer.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 46% of the total text.

Page 01 of 3

Method and system to automatic customer specific test automation suite generation using semantic annotation

    In recent years the time of software development cycle has reduced. The software product is designed, developed, tested and released quickly, just think of devops approach. In this scenario, the test automation assumes a very important role.

    The problem that this patent try to solve is to create automatically a suite of UI test automation for both test phases during the development test phase (CVT, SVT) and test on pre-production environment, considering the impact of changes on the specific customer.

    There are two mainly problems:
1. Create a test suite for UI automation.

    The automatic test, performed through UI frameworks, is currently being created in the following way:
· The scenario is manually recorded on the UI
· The values defined in the scenario are manually parameterized
· Some sets of values are defined for the scenario (DataPool)

· The recorded scenario runs in automatic way
· Changes to the UI require some changes to the recorded scenario or even the re-registration of the scenario

    This type of test automation is very expensive because of the set of manual steps that need to be made.

2. Define a subset of scenarios specific for each customer (the combinations of environments and possible testing are endless).

    This article describes a new way to completely automate the process of generating and executing scenarios both for test phase during development and test phase on pre production customer environment . The suite are created based on the information included in the semantic UI itself and on the paths used by the customer.

    Some patterns of scenarios execution are identified. For example a scenario "Happy Path" stipulate that all the fields are instantiated with the correct values and the operations are performed in the correct sequence. For each customer are identified the operations done on the user interface.

    When a new version of user interface need to be tested a new test automation suite is required. In response to the request to create a new test suite for automatic UI, the pattern is used to generate fully automatically a set of scenarios.

    The generation of a scenario from a pattern is done using the semantic information contained in the UI.

    When a new driver is available to be deployed to the customer environment, a test automation suite specific for each customer is created based on the environment of the customer and on the impact of the new feature on the usual operations performed by the customer on the UI.

    After the definition of these scenarios in an automatic way, these scenarios can be run on different versions of the UI.

The figure below shows the system components of the presented solution.

System component

1


Page 02 of 3

o Engine Scenario executor: represents the engine of the framework that takes care of the execution of the automatic scenarios

o Semantic Datapool Generator: is the compone...