CN110362465A - A method of test program relevant information is saved using XML file - Google Patents

A method of test program relevant information is saved using XML file Download PDF

Info

Publication number
CN110362465A
CN110362465A CN201811230789.4A CN201811230789A CN110362465A CN 110362465 A CN110362465 A CN 110362465A CN 201811230789 A CN201811230789 A CN 201811230789A CN 110362465 A CN110362465 A CN 110362465A
Authority
CN
China
Prior art keywords
file
test program
label
xml
relevant information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811230789.4A
Other languages
Chinese (zh)
Inventor
王浩
王刚
郭冠彤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JIANGSU ACETEC SEMICO-NDUCTOR Co Ltd
Original Assignee
JIANGSU ACETEC SEMICO-NDUCTOR Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JIANGSU ACETEC SEMICO-NDUCTOR Co Ltd filed Critical JIANGSU ACETEC SEMICO-NDUCTOR Co Ltd
Priority to CN201811230789.4A priority Critical patent/CN110362465A/en
Publication of CN110362465A publication Critical patent/CN110362465A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses a kind of method for saving test program relevant information using XML file, and XML file structure is divided into the file header and root label two parts of XML file;And root label part includes label TestGroups, DCPower, Digital, RF, DutPinSpecPinMap, GlobalSpecs, StopOnFirstFail and MultiBinning;The obtained relevant information of test program in database is classified according to the suffix name of file in its file, and the name of file and path are placed in the Name and Path of XML root label according to classification.Using the associated XML file that generates of XML file and database come the information of storing test program in the present invention;According to the layered structure in XML file, these files are generated on software interface according to tree construction, so that test program relevant information be saved by way of XML file.

Description

A method of test program relevant information is saved using XML file
Technical field
The present invention relates to semiconductor test information software management domain, specifically a kind of saved using XML file is surveyed The method for trying program related information.
Background technique
The prior art saves the relevant information of related test program by writing XML file manually, writes XML text manually Mistake is easy to appear when part, in fact it could happen that write error information omits information.Subsequent using test program In the process it is possible that problem, needs engineer to re-start inspection and solve the problem.Write XML file manually simultaneously The excessive time can be consumed, unnecessary waste of time is caused.
Summary of the invention
The purpose of the present invention is in view of the deficienciess of the prior art, providing a kind of using XML file preservation test program The method of relevant information.
Technical solution: it is of the present invention solve the problems, such as used by technical solution are as follows: it is a kind of using XML file save test program The method of relevant information, comprising the following steps:
(1) XML file structure is divided into the file header and root label two parts of XML file;And root label part includes mark Sign TestGroups, DCPower, Digital, RF, DutPinSpecPinMap, GlobalSpecs, StopOnFirstFail And MultiBinning;
(2) the obtained relevant information of test program in database is divided according to the suffix name of file in its file Class, and the name of file and path are placed in the Name and Path of XML root label according to classification;
(3) user selects CustomerName, and ProductNumber, SpecsheetReversion determine database Then the data of middle Specsheet table screen the field in Specsheet table by SelectorType;By what is filtered out Field is put under TestGroups label, and user needs to classify to each TestGroup, is selected respectively by drop-down list box Select its corresponding TestGroupType;
(4) user selects the file TpConfigFolder in relation to test data, the TpConfigFolder file For dependent file needed for storing test program, test program configuration file and test program;
(5) file in step (4) is named with the ProductNumber of product, and includes storage dependent file Sub-folder TPSupport;Wherein, TpConfig file automatically generates under the root of TpConfigFolder, and its He must be placed in TpSupport file dependent file, lower directory structure by the file in relation to test data according to Suffix name is classified;
(6) according to the layered structure in XML file, these files are generated on software interface according to tree construction, are used Family can check the classification in relation to test data by checking tree construction, so that test program relevant information is passed through XML text The form of part saves.
Wherein, test group is stored under TestGroups label in the step (2), data therein are obtained from database It takes, name is major key, is generated according to SelectorType, and SelectorType is selected by user, passes through the field in database It generates;The file of the entitled .xml of suffix is stored under DCPower label, and name and the path of file are stored in label;Digital The file of the entitled .pinmap of suffix is stored under label;The file of the entitled .specs of suffix is stored under Specs label; The file of the entitled .digilevels of suffix is stored under Levels label;It is entitled that suffix is stored under Timings label .digitiming file, above-mentioned file has in the file chosen and only one;The file of the entitled .digipat of suffix It will be put under the label of Patterns, the quantity of such file may more, the label meeting of the entitled .tdms of suffix in file It is placed under RF label;And the data under DutPinSpecPinMap and GlobalSpecs label, by user oneself selection or It is manually entered, the data of selection come from database.
Wherein, TestGroupType is determined in TestNumber search procedure in the step (3), used Test item enumeration type.
Wherein, the test program in the step (4) includes exe file and exe.config file, the test Program configuration file includes TpConfig;Dependent file needed for the test program include PinMap, Spec, Level, Timing, Pattern and Waveform.
Wherein, in DutPinSpecPinMap table, the mapping that right button can add or delete DutPin and SpecPin is closed System;Wherein, DutPin is the pin title of test product;SpecPin is the title of corresponding field in Specsheet tables of data.
Wherein, in GlobalSpecs table, right button can add or delete the global variable used for test program;Its In, SpecName is the title of global variable;SpecValue is the numerical value of global variable.
Wherein, in the step (1), StopOnFirstFail function is set, True, which is represented, to be opened StopOnFirstFail function;False, which is represented, closes StopOnFirstFail function.
Wherein, in the step (1), MultiBinning function is set, True indicates to open MultiBinning function Energy;False, which is represented, closes MultiBinning function.
The utility model has the advantages that utilizing XML file and data in the present invention compared with prior art, the present invention having the advantage that The associated information for generating XML file and carrying out storing test program in library;XML file structure is divided into file header and root label, is arranged The attribute of root label, and it is mutual with root label by the way that the information tested in database is carried out classification according to the suffix title of file Match storage;Further according to the layered structure in XML file, these files are generated on software interface according to tree construction, from And test program relevant information is saved by way of XML file;Hand-written XML file is not easy in compared with the prior art Mistake is generated, working efficiency can be greatly improved using this method, can check the data for generating XML file, side in software Just user checks and checks, greatly reduces manpower.
Detailed description of the invention
Fig. 1 is invention software sectional view;
Fig. 2 is TestGroup sort operation figure of the present invention;
Fig. 3 is that TpConfigFolder file of the present invention stores expanded view;
Fig. 4 is that XML tree structure of the present invention generates surface chart;
Fig. 5 is DutPinSpecPinMap set interface figure of the present invention;
Fig. 6 is GlobalSpecs set interface figure of the present invention.
Specific embodiment
In the following with reference to the drawings and specific embodiments, the present invention is furture elucidated, and the present embodiment is with technical solution of the present invention Premised under implemented, it should be understood that these examples are only for illustrating the present invention and are not intended to limit the scope of the present invention.
As shown in Figure 1, be the interface of software, user opens interface such as Fig. 1 for seeing of software, user need according to oneself Demand clicks Generate TpConfig button after selecting information corresponding to each part, selection to finish.User from Selected respectively in drop-down list box current test program CustomerName, ProductNumber, SpecRev and SelectorType.Wherein, SelectorType is Specsheet data sheet field needed for test program searches TestNumber Combining form.
As shown in Fig. 2, showing that current test program corresponds to Specsheet in the TestGroupName column of right side table The non-duplicate character string that all test items are automatically generated according to SelectorType in tables of data;User needs to each TestGroup classifies, and selects its corresponding TestGroupType respectively by drop-down list box, wherein TestGroupType determines in TestNumber search procedure, used test item enumeration type.
As shown in figure 3, TpConfigFolder is for storing test program (comprising exe file and exe.config text Part), dependent file needed for test program configuration file (TpConfig) and test program (such as PinMap, Spec, Level, Timing, Pattern and Waveform etc.);This document is pressed from both sides to be named with the ProductNumber of product, is relied on comprising storage The sub-folder TPSupport of file.Wherein, TpConfig file automatically generates under the root of TpConfigFolder, And other dependent files must be placed in TpSupport file, lower directory structure can be adjusted according to the actual situation It is whole.
As shown in figure 4, user selects the path TpConfigFolder by clicking SelectTpConfigFolder button, Software automatically parses the dependent file for including in its TPSupport file, and title and path are shown the tree below button In shape figure.It should be noted that the use of binding test program, software can be automatically by the exhausted of the upper layer file path TPSupport I: is changed to path.
As shown in figure 5, right button can add or delete DutPin's and SpecPin in DutPinSpecPinMap table Mapping relations.Wherein, DutPin is the pin title of test product;SpecPin is corresponding field in Specsheet tables of data Title, Add add newline at table end;Delete deletes current selected line.
As shown in Figure 6 in GlobalSpecs table, right button can add or delete the global change used for test program Amount.Wherein, SpecName is the title of global variable;SpecValue is the numerical value of global variable, and Add is added at table end Newline;Delete deletes current selected line.
GenerateTpConfig button is clicked, new TpConfig file can be generated according to Current software interface information. As shown below, it if existing TpConfig file, clicks Yes and generates new file under the root of TpConfigFolder, And original is backed up, it include the current backup time in backup filename;It clicks No and cancels the new TpConfig of generation File.
XML file is a kind of for marking electronic document to make it have structural markup language;XML can be flexibly to have The mode of effect defines the structure of management information, and the data stored in xml format not only have good immanent structure, but also due to it It is the international standard that W3C is proposed, thus the support by vast software supplier is easy to carry out data exchange and exploitation.It is existing The management information bank specification of network management standard such as TMN, SNMP etc. determine that network management data meets hierarchical structure and object-oriented Principle, this to store network management data in xml format also very naturally, being easily achieved.
The development platform of XML file and operating system, programming language is all unrelated, can be realized the data between not homologous ray Interaction.XML is the technology in currently processed structured document information quite to power, so that the control that developer is more handy The storage and transmission of data processed.XML can be used to reference numerals for marking electronic document to make it have structural markup language According to definition data structure is a kind of original language that permission user is defined the markup language of oneself.XML provides unified Method describes and exchanges the structural data independently of application program or supplier.
The present invention provides a kind of softwares of storing test program information, generate using XML file and database are associated XML file carrys out the information of storing test program.It is easy to produce mistake when hand-written XML file, efficiency can be improved using the invention Mistake is reduced, can check the data for generating XML file in software, facilitates user to check and check, greatly reduces people Power improves efficiency.
Above-mentioned specific embodiment is a preferred embodiment of the present invention, is not for limiting implementation of the invention The equivalence changes and modification made with scope of the claims, content described in all ranges of patent protection according to the present invention, It should be included within the scope of present patent application.

Claims (8)

1. a kind of method for saving test program relevant information using XML file, it is characterised in that: the following steps are included:
(1) XML file structure is divided into the file header and root label two parts of XML file;And root label part includes label TestGroups, DCPower, Digital, RF, DutPinSpecPinMap, GlobalSpecs, StopOnFirstFail with And MultiBinning;
(2) the obtained relevant information of test program in database is classified according to the suffix name of file in its file, And the name of file and path are placed in the Name and Path of XML root label according to classification;
(3) user selects CustomerName, and ProductNumber, SpecsheetReversion are determined in database Then the data of Specsheet table screen the field in Specsheet table by SelectorType;The word that will be filtered out Section is put under TestGroups label, and user needs to classify to each TestGroup, is selected respectively by drop-down list box Its corresponding TestGroupType;
(4) user selects the file TpConfigFolder in relation to test data, which is used for Dependent file needed for storage test program, test program configuration file and test program;
(5) file in step (4) is named with the ProductNumber of product, and includes the son for storing dependent file File TPSupport;Wherein, TpConfig file automatically generates under the root of TpConfigFolder, and other according to Bad file must be placed in TpSupport file, and lower directory structure is by the file in relation to test data according to suffix Name is classified;
(6) according to the layered structure in XML file, these files are generated on software interface according to tree construction, Yong Huke To check the classification in relation to test data by checking tree construction, so that test program relevant information is passed through XML file Form saves.
2. a kind of method for saving test program relevant information using XML file according to claim 1, feature exist In: test group is stored under TestGroups label in the step (2), data therein are obtained from database, and name is Major key is generated according to SelectorType, and SelectorType is selected by user, is generated by the field in database; The file of the entitled .xml of suffix is stored under DCPower label, and name and the path of file are stored in label;Digital label Under store the file of the entitled .pinmap of suffix;The file of the entitled .specs of suffix is stored under Specs label;Levels mark Sign the file for storing the entitled .digilevels of suffix;Store the entitled .digitiming's of suffix under Timings label File, above-mentioned file has in the file chosen and only one;The file of the entitled .digipat of suffix will be put into Under the label of Patterns, the quantity of such file may be more in file, and the label of the entitled .tdms of suffix can be placed to Under RF label;And the data under DutPinSpecPinMap and GlobalSpecs label, it is selected by user oneself or defeated manually Enter, the data of selection come from database.
3. a kind of method for saving test program relevant information using XML file according to claim 2, feature exist In: TestGroupType determines that in TestNumber search procedure, used test item is enumerated in the step (3) Type.
4. a kind of method for saving test program relevant information using XML file according to claim 1, feature exist In: the test program in the step (4) includes that exe file and exe.config file, the test program configure text Part includes TpConfig;Dependent file needed for the test program include PinMap, Spec, Level, Timing, Pattern and Waveform.
5. a kind of method for saving test program relevant information using XML file according to claim 2, feature exist In: in DutPinSpecPinMap table, right button can add or delete the mapping relations of DutPin and SpecPin;Wherein, DutPin is the pin title of test product;SpecPin is the title of corresponding field in Specsheet tables of data.
6. a kind of method for saving test program relevant information using XML file according to claim 2, feature exist In: in GlobalSpecs table, right button can add or delete the global variable used for test program;Wherein, SpecName For the title of global variable;SpecValue is the numerical value of global variable.
7. a kind of method for saving test program relevant information using XML file according to claim 1, feature exist In: in the step (1), StopOnFirstFail function is set, True, which is represented, opens StopOnFirstFail function; False, which is represented, closes StopOnFirstFail function.
8. a kind of method for saving test program relevant information using XML file according to claim 1, feature exist In: in the step (1), MultiBinning function is set, True indicates to open MultiBinning function;False generation Table closes MultiBinning function.
CN201811230789.4A 2018-10-22 2018-10-22 A method of test program relevant information is saved using XML file Pending CN110362465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811230789.4A CN110362465A (en) 2018-10-22 2018-10-22 A method of test program relevant information is saved using XML file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811230789.4A CN110362465A (en) 2018-10-22 2018-10-22 A method of test program relevant information is saved using XML file

Publications (1)

Publication Number Publication Date
CN110362465A true CN110362465A (en) 2019-10-22

Family

ID=68214826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811230789.4A Pending CN110362465A (en) 2018-10-22 2018-10-22 A method of test program relevant information is saved using XML file

Country Status (1)

Country Link
CN (1) CN110362465A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070256062A1 (en) * 2006-04-29 2007-11-01 Jennifer Madden Computer programming and markup language source code visualization tool
CN101493839A (en) * 2009-03-04 2009-07-29 北京航空航天大学 Method for generating general-purpose test document
CN101833498A (en) * 2009-07-31 2010-09-15 北京伟晨豪嘉科技有限责任公司 Automatic detection system of embedded type system based on testing script technique
CN102646102A (en) * 2011-02-22 2012-08-22 青岛海信电器股份有限公司 XML (Extensible Markup Language) file generating method and device as well as terminal equipment
CN104407973A (en) * 2014-11-25 2015-03-11 珠海格力电器股份有限公司 Automatic unit test realizing method and device
CN105824684A (en) * 2016-01-08 2016-08-03 中国人民解放军63686部队 Method for realizing multi-mode big data software simulator
CN106569801A (en) * 2016-10-18 2017-04-19 中国运载火箭技术研究院 Complex parameter-based configuration display control system
CN107209779A (en) * 2015-01-12 2017-09-26 微软技术许可有限责任公司 The storage of structured content and fetched in non-structured user's editable content store

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070256062A1 (en) * 2006-04-29 2007-11-01 Jennifer Madden Computer programming and markup language source code visualization tool
CN101493839A (en) * 2009-03-04 2009-07-29 北京航空航天大学 Method for generating general-purpose test document
CN101833498A (en) * 2009-07-31 2010-09-15 北京伟晨豪嘉科技有限责任公司 Automatic detection system of embedded type system based on testing script technique
CN102646102A (en) * 2011-02-22 2012-08-22 青岛海信电器股份有限公司 XML (Extensible Markup Language) file generating method and device as well as terminal equipment
CN104407973A (en) * 2014-11-25 2015-03-11 珠海格力电器股份有限公司 Automatic unit test realizing method and device
CN107209779A (en) * 2015-01-12 2017-09-26 微软技术许可有限责任公司 The storage of structured content and fetched in non-structured user's editable content store
CN105824684A (en) * 2016-01-08 2016-08-03 中国人民解放军63686部队 Method for realizing multi-mode big data software simulator
CN106569801A (en) * 2016-10-18 2017-04-19 中国运载火箭技术研究院 Complex parameter-based configuration display control system

Similar Documents

Publication Publication Date Title
US6738759B1 (en) System and method for performing similarity searching using pointer optimization
CN107341262B (en) Serialization and deserialization method and device for object type column in database
US6920458B1 (en) Model repository
US20060212477A1 (en) Method and system for altering the configuration of a data warehouse
CN109063421A (en) A kind of analysis of open source licensing compliance and conflicting detection method
AU2012327168B2 (en) Amethod and structure for managing multiple electronic forms and their records using a static database
CN103294805B (en) The creation method of data warehouse personalization dimension table and device
US20070255685A1 (en) Method and system for modelling data
EP3931716A1 (en) Autolayout of visualizations based on graph data
CN108205454A (en) Data management automatic production of HTML page method and system based on Extensible template library
CN106682879A (en) Integrated design flow standard system
Proper Data schema design as a schema evolution process
JP3914081B2 (en) Access authority setting method and structured document management system
JP2005250820A (en) Xml document classification method in storage system
CN109491884A (en) Code method for testing performance, device, computer equipment and medium
JP2006244283A (en) Database management device and database management method
CN104537047B (en) A kind of clothes basic pattern plate searching system based on Lucene
CN110362465A (en) A method of test program relevant information is saved using XML file
Mabanza et al. Performance evaluation of open source native xml databases-a case study
CN105893668B (en) A kind of material metamorphosis functional decomposition methods semantic based on stream
CN112597100B (en) File management method and device based on object proxy label
JP3842572B2 (en) Structured document management method, structured document management apparatus and program
JPH11282882A (en) Document management method
WO2010147453A1 (en) System and method for designing a gui for an application program
Trujillo et al. The Gold Model Case Tool: An Environment for Designing OLAP Applications.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination