← Back to Patent Explorer
US5754755A Expired / Lapsed US ⏱️ 0.0 years remaining

Method and system for generating test scripts

Assignee: Microsoft Technology Licensing LLC
•
Filing: 1996-10-10
•
Granted: 1998-05-19
•
Expires: 2016-10-10
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method and system in a computer system for generating an application-specific test script file. The application-specific test script file contains test instructions for testing an application program. The system receives a test template file that has test instructions that contain placeholders. The placeholders indicate where application-specific placeholder values are to be logically inserted into the test template file. The system receives an ordered list of customizing files that have application-specific placeholder values. The system then searches the customizing files according to the ordered list for a first placeholder value for each placeholder of the test instruction. When such a placeholder value is found, the system replaces the placeholder with the placeholder value in the test instruction and stores the test instruction into the application-specific test script file.

Inventors

  • 👤 Ross Faulkner Smith, Jr.

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-07 14:34
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/3668; G06F11/3672; G06F11/3684

Claims Analysis

Total Claims: 39
Claim 1
Independent Claim 159 words
A method in a computer system for generating an application-specific test script file, the application-specific test script file containing test instructions for testing an application program, the method comprising: receiving a test template file, the test template file having test instructions that contain placeholders, the placeholders indicating where application-specific placeholder values are to be logically inserted into the test template file, each placeholder having a placeholder name; receiving an ordered list of customizing files having application-specific placeholder values each with a corresponding placeholder name; and for each test instruction in the test template file, when the test instruction contains a placeholder, searching the customizing files according to the ordered list for a first placeholder value with a corresponding placeholder name that matches the placeholder name of the placeholder of the test instruction; and when such a placeholder value is found, inserting the placeholder value into the test instruction; and storing the test instruction into the application-specific test script file.
Claim 2
Independent Claim 159 words
A method in a computer system for generating an application-specific test script file, the application-specific test script file containing test instructions for testing an application program, the method comprising: receiving a test template file, the test template file having test instructions that contain placeholders, the placeholders indicating where application-specific placeholder values are to be logically inserted into the test template file, each placeholder having a placeholder name; receiving an ordered list of customizing files having application-specific placeholder values each with a corresponding placeholder name; and for each test instruction in the test template file, when the test instruction contains a placeholder, searching the customizing files according to the ordered list for a first placeholder value with a corresponding placeholder name that matches the placeholder name of the placeholder of the test instruction; and when such a placeholder value is found, inserting the placeholder value into the test instruction; and storing the test instruction into the application-specific test script file.
Claim 3
Dependent Claim 37 words
The method of claim 1 wherein a plurality of the customizing files contain placeholder values for a placeholder and the ordering of the list results in a placeholder value overriding another placeholder value in another customizing file.
Claim 4
Dependent Claim 23 words
The method of claim 1 wherein the template script file contains control commands for controlling the generation of the application-specific test script file.
Claim 5
Dependent Claim 20 words
The method of claim 3 wherein the control commands include a command for indicating an ordered list of customizing files.
Claim 6
Dependent Claim 20 words
The method of claim 3 wherein the control commands include a command for iteratively generating test instructions with indexed placeholders.
Claim 7
Dependent Claim 24 words
The method of claim 1 wherein after a placeholder value is inserted into the test instruction, determining whether the inserted placeholder value contains placeholders.
Claim 8
Independent Claim 144 words
A method in a computer system for generating an application-specific test script file, the application-specific test script file containing test instructions for testing an application program, the method comprising: receiving a test template file, the test template file having statements that are test instructions or iterative commands, and having placeholders, the placeholders indicating where application-specific placeholder values are to be logically inserted into the test template file, the iterative command having an iterative instruction with an iterative placeholder; and for each statement in the test template file, when the statement is the iterative command, for each iteration of the iterative command, replacing the iterative placeholder with an indexed iterative placeholder within the iterative instruction; inserting an application-specific placeholder value for the indexed iterative placeholder within the iterative instruction; and storing the iterative instruction with the inserted placeholder value into the application-specific test script file.
Claim 9
Independent Claim 144 words
A method in a computer system for generating an application-specific test script file, the application-specific test script file containing test instructions for testing an application program, the method comprising: receiving a test template file, the test template file having statements that are test instructions or iterative commands, and having placeholders, the placeholders indicating where application-specific placeholder values are to be logically inserted into the test template file, the iterative command having an iterative instruction with an iterative placeholder; and for each statement in the test template file, when the statement is the iterative command, for each iteration of the iterative command, replacing the iterative placeholder with an indexed iterative placeholder within the iterative instruction; inserting an application-specific placeholder value for the indexed iterative placeholder within the iterative instruction; and storing the iterative instruction with the inserted placeholder value into the application-specific test script file.
Claim 10
Dependent Claim 31 words
The method of claim 7 wherein the inserting of an application-specific placeholder value includes searching an ordered list of customizing files for a first placeholder value for the indexed iterative placeholder.
Claim 11
Independent Claim 117 words
A method of generating a customized output file comprising: creating a template file having data with placeholders; creating a derived customizing file having placeholder values for placeholders, wherein the derived customizing file inherits a base customizing file having placeholder values for placeholders; and for each placeholder within the template file, when the derived customizing file has a placeholder value for the placeholder, replacing the placeholder with the placeholder value from the derived customizing file; and when the derived customizing file does not have a placeholder value for the placeholder, replacing the placeholder with a placeholder value from the base customizing file so that the derived customizing file can share the placeholder values of the base customizing file.
Claim 12
Independent Claim 117 words
A method of generating a customized output file comprising: creating a template file having data with placeholders; creating a derived customizing file having placeholder values for placeholders, wherein the derived customizing file inherits a base customizing file having placeholder values for placeholders; and for each placeholder within the template file, when the derived customizing file has a placeholder value for the placeholder, replacing the placeholder with the placeholder value from the derived customizing file; and when the derived customizing file does not have a placeholder value for the placeholder, replacing the placeholder with a placeholder value from the base customizing file so that the derived customizing file can share the placeholder values of the base customizing file.
Claim 13
Dependent Claim 15 words
The method of claim 9 wherein the customized output file is an application-specific test script.
Claim 14
Dependent Claim 39 words
The method of claim 9 wherein the customized output file is a WEB page, wherein the template file is stored on a local computer, and wherein the customizing files are downloaded from a server computer to the local computer.
Claim 15
Dependent Claim 26 words
The method of claim 9 wherein the customized output file is a localized version of a computer program and wherein the customizing files contain language-specific data.
Claim 16
Dependent Claim 21 words
The method of claim 9 wherein the base and derived customizing files are specified in an ordered list of customizing files.
Claim 17
Dependent Claim 22 words
The method of claim 9 wherein the template file contains a control command for iteratively generating data for the customized output file.
Claim 18
Dependent Claim 17 words
The method of claim 14 wherein the generated data includes placeholders that are replaced by placeholder values.
Claim 19
Independent Claim 96 words
A method of generating a customized output file, the method comprising: receiving a template file having statements with an iterative command, the iterative command indicating a number of iterations and having an iterative instruction with an indexed placeholder; receiving a customizing file having placeholder values for iterative placeholders; and for each of the number of iterations in the iterative command, replacing the indexed placeholder within the iterative instruction with a placeholder value from the customizing file based on the iteration number; and adding the iterative instruction with the replaced iterative placeholder to the customized output file.
Claim 20
Independent Claim 96 words
A method of generating a customized output file, the method comprising: receiving a template file having statements with an iterative command, the iterative command indicating a number of iterations and having an iterative instruction with an indexed placeholder; receiving a customizing file having placeholder values for iterative placeholders; and for each of the number of iterations in the iterative command, replacing the indexed placeholder within the iterative instruction with a placeholder value from the customizing file based on the iteration number; and adding the iterative instruction with the replaced iterative placeholder to the customized output file.
Claim 21
Dependent Claim 15 words
The method of claim 16 wherein the customized output file is an application-specific test script.
Claim 22
Dependent Claim 39 words
The method of claim 16 wherein the customized output file is a WEB page, wherein the template file is stored on a local computer, and wherein the customizing file is received from a server computer at the local computer.
Claim 23
Dependent Claim 26 words
The method of claim 16 wherein the customized output file is a localized version of a computer program and wherein the customizing file contains language-specific data.
Claim 24
Dependent Claim 27 words
The method of claim 16 including receiving a plurality of customizing files wherein the replacing of the indexed placeholder is based on inheritance of the customizing files.
Claim 25
Dependent Claim 98 words
A computer-readable medium containing instructions for causing a computer system to generate an output file by: receiving a template file having data with placeholders; receiving an ordered list of customizing files having placeholder values; and for each placeholder in the data, searching the customizing files according to the ordered list for a first placeholder value for the placeholder; when such a placeholder value is found, inserting the placeholder value into the data; and storing the data with the inserted placeholder as part of the output file whereby the searching of the customizing files effects inheritance of customizing files.
Claim 26
Dependent Claim 98 words
A computer-readable medium containing instructions for causing a computer system to generate an output file by: receiving a template file having data with placeholders; receiving an ordered list of customizing files having placeholder values; and for each placeholder in the data, searching the customizing files according to the ordered list for a first placeholder value for the placeholder; when such a placeholder value is found, inserting the placeholder value into the data; and storing the data with the inserted placeholder as part of the output file whereby the searching of the customizing files effects inheritance of customizing files.
Claim 27
Dependent Claim 38 words
A computer-readable medium of claim 21 wherein a plurality of the customizing files contain placeholder values for a placeholder and the ordering of the list results in a placeholder value overriding another placeholder value in another customizing file.
Claim 28
Dependent Claim 21 words
The computer-readable medium of claim 21 wherein the template file contains control commands for controlling the generation of the output file.
Claim 29
Dependent Claim 21 words
The computer-readable medium of claim 23 wherein the control commands include a command for indicating an ordered list of customizing files.
Claim 30
Dependent Claim 20 words
The computer-readable medium of claim 23 wherein the control commands include a command for iteratively generating data with indexed placeholders.
Claim 31
Dependent Claim 29 words
The computer-readable medium of claim 21 wherein after a placeholder value is inserted into the data, determining whether the inserted placeholder value contains placeholders to effect recursion of placeholders.
Claim 32
Dependent Claim 33 words
The computer-readable medium of claim 23 wherein the control commands include a command for indicating to selectively process portions of the template file based on evaluation of a test condition in the command.
Claim 33
Dependent Claim 140 words
A computer-readable medium containing instructions for causing a computer system to generate an application-specific test script file, the application-specific test script file containing test instructions for testing an application program, by: receiving a test template file, the test template file having statements that are test instructions or iterative commands and having placeholders, the placeholders indicating where application-specific placeholder values are to be logically inserted into the test template file, the iterative command having an iterative instruction with an iterative placeholder; and for each iteration of each iterative command in the test template file, replacing the iterative placeholder of the iterative command with an indexed iterative placeholder within the iterative instruction; inserting an application-specific placeholder value for the indexed iterative placeholder within the iterative instruction; and adding the iterative instruction with the inserted placeholder value to the application-specific test script file.
Claim 34
Dependent Claim 140 words
A computer-readable medium containing instructions for causing a computer system to generate an application-specific test script file, the application-specific test script file containing test instructions for testing an application program, by: receiving a test template file, the test template file having statements that are test instructions or iterative commands and having placeholders, the placeholders indicating where application-specific placeholder values are to be logically inserted into the test template file, the iterative command having an iterative instruction with an iterative placeholder; and for each iteration of each iterative command in the test template file, replacing the iterative placeholder of the iterative command with an indexed iterative placeholder within the iterative instruction; inserting an application-specific placeholder value for the indexed iterative placeholder within the iterative instruction; and adding the iterative instruction with the inserted placeholder value to the application-specific test script file.
Claim 35
Dependent Claim 32 words
The computer-readable medium of claim 28 wherein the inserting of an application-specific placeholder value includes searching an ordered list of customizing files for a first placeholder value for the indexed iterative placeholder.
Claim 36
Dependent Claim 116 words
A computer system for generating an application-specific test script comprising: a test template file having test instructions with placeholders; a derived customizing file having placeholder values for placeholders, wherein the derived customizing file inherits a base customizing file having placeholder values for placeholders; and an output file generator that replaces the placeholder with the placeholder value from the derived customizing file when the derived customizing file has a placeholder value for the placeholder and replaces the placeholder with a placeholder value from the base customizing file so that the derived customizing file can share the placeholder values of the base customizing file when the derived customizing file does not have a placeholder value for the placeholder.
Claim 37
Dependent Claim 116 words
A computer system for generating an application-specific test script comprising: a test template file having test instructions with placeholders; a derived customizing file having placeholder values for placeholders, wherein the derived customizing file inherits a base customizing file having placeholder values for placeholders; and an output file generator that replaces the placeholder with the placeholder value from the derived customizing file when the derived customizing file has a placeholder value for the placeholder and replaces the placeholder with a placeholder value from the base customizing file so that the derived customizing file can share the placeholder values of the base customizing file when the derived customizing file does not have a placeholder value for the placeholder.
Claim 38
Dependent Claim 97 words
A computer system for generating a test script comprising: a test template file having statements with an iterative command, the iterative command indicating a number of iterations and having an iterative instruction with an indexed placeholder; a customizing file having placeholder values for iterative placeholders; and an output file generator that, for each of the number of iterations in the iterative command, replaces the indexed placeholder within the iterative instruction with a placeholder value from the customizing file based on the iteration number and adds the iterative instruction with the replaced iterative placeholder to the test script.
Claim 39
Dependent Claim 97 words
A computer system for generating a test script comprising: a test template file having statements with an iterative command, the iterative command indicating a number of iterations and having an iterative instruction with an indexed placeholder; a customizing file having placeholder values for iterative placeholders; and an output file generator that, for each of the number of iterations in the iterative command, replaces the indexed placeholder within the iterative instruction with a placeholder value from the customizing file based on the iteration number and adds the iterative instruction with the replaced iterative placeholder to the test script.

References Cited (Backward Citations)

US4860291A Cited
US5025396A Cited
US5148366A Cited
US5159687A Cited
US5657438A Cited
US5479414A Cited
US5669000A Cited
US5495571A Cited
US5544298A Cited
US5455938A Cited
US5572668A Cited
US5572643A Cited
US5633879A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2001-05-18 2001-11-17 2002-05-19 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2005-05-18 2005-11-17 2006-05-19 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2009-05-18 2009-11-17 2010-05-19 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag