IP Library Granted Patent US 10,169,218
Granted Patent B2
US 10,169,218 · App. 15/491,532 · Granted Jan 1, 2019

Method for automatically validating data against a predefined data specification

Inventors: Abhijeet Choudhury (Karnataka, IN); Mallikarjun Basavarajappa (Karnataka, IN); Anita Menon (Karnataka, IN); Pran Sheokand (Karnataka, IN)
Assignee: ALSTOM TRANSPORT TECHNOLOGIES
G06F11/3684G06F11/36G06F11/3688
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,169,218
App. No.
15/491,532
Granted
Jan 1, 2019
Kind
B2
Abstract

A method for automatically validating data against a predefined data specification, includes: a) acquiring data to be validated ( 2 ), the data including a plurality of test objects, b) acquiring a test database ( 4 ) including a plurality of test files each defining a test scenario, c) acquiring a predefined data specification ( 6 ) against which the test objects must be validated, d) automatically generating a plurality of test scripts ( 8 ), from the acquired test files and using relevant data from the test objects of the acquired predefined data specification, e) for each generated test script, executing the test script ( 10 ) on the test objects, and f) automatically generating a test report ( 12 ) including a result of each executed test case.

Claims (31)

1. A method for automatically validating data against a predefined data specification, said method comprises steps of:

a) acquiring data to be validated, said data comprising a plurality of test objects;

b) acquiring a test database comprising a plurality of test files each defining a test scenario;

c) acquiring a predefined data specification against which the test objects must be validated;

d) automatically generating a plurality of test scripts, from the acquired test files and using relevant data from the test objects of the acquired predefined data specification;

e) for each generated test script, executing said test script on the test objects; and

f) automatically generating a test report comprising a test result,

wherein, during the step a) of acquiring data to be validated, the following sub-steps are carried out:

comparing two files of different versions,

filtering mismatching lines of the two files,

categorizing the mismatching lines into a plurality of corresponding categories, and

for each category, removing all mismatching lines of said category except for one mismatching line of said category.

2. The method according to claim 1 , wherein the execution of said test script comprises a comparison of data comprised in the test objects with data comprised in the data specification.

3. The method according to claim 2 , wherein the data compared during the execution of said test script comprises at least an attribute of the test objects.

4. The method according to claim 1 , wherein said test scripts are automatically generated by a generation module by adding, to a test scenario defined by a test file, a test parameter depending on the test object.

5. The method according to claim 1 , wherein the test objects are stored in an XML file.

6. The method according to claim 1 , further comprising:

acquisition of user-set formatting options, the test report being generated in a file format according to the acquired formatting options.

7. A non-transitory data recording medium, comprising instructions recorded thereon, executable on an electronic calculator, for implementing the method according to claim 1 .

8. An electronic calculator for automatically validating data against a predefined data specification, said electronic calculator comprising a memory and an automated module, the memory having stored therein a program that, upon execution by the automated module, carries out the steps of:

a) acquiring data to be validated, said data comprising a plurality of test objects;

b) acquiring a test database comprising a plurality of test files each defining a test scenario;

c) acquiring a predefined data specification against which the test objects must be validated;

d) automatically generating a plurality of test scripts, from the acquired test files and using relevant data from the test objects of the acquired predefined data specification;

e) for each generated test script, executing said test script on the test objects; and

f) automatically generating a test report comprising a test result,

wherein, during the step a) of acquiring data to be validated, the following sub-steps are carried out:

comparing two files of different versions,

filtering mismatching lines of the two files,

categorizing the mismatching lines into a plurality of corresponding categories, and

for each category, removing all mismatching lines of said category except for one mismatching line of said category.

Assignments (2)
DISSOLUTION AND TRANSFER OF ASSETS Recorded Sep 3, 2024
From: ALSTOM TRANSPORT TECHNOLOGIES
To: ALSTOM HOLDINGS
Reel/Frame 068823/0899 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 30, 2017
From: CHOUDHURY, ABHIJEET; BASAVARAJAPPA, MALLIKARJUN; MENON, ANITA; SHEOKAND, PRAN
To: ALSTOM TRANSPORT TECHNOLOGIES
Reel/Frame 043451/0268 →
Priority Claims (1)
IN 201641014765 · Apr 28, 2016 · national
Continuity (1)
Related Publication 20170315905A1 · Nov 2, 2017