CN102063421A - System for editing test item document in test program - Google Patents

System for editing test item document in test program Download PDF

Info

Publication number
CN102063421A
CN102063421A CN2010106128759A CN201010612875A CN102063421A CN 102063421 A CN102063421 A CN 102063421A CN 2010106128759 A CN2010106128759 A CN 2010106128759A CN 201010612875 A CN201010612875 A CN 201010612875A CN 102063421 A CN102063421 A CN 102063421A
Authority
CN
China
Prior art keywords
test item
editing
test
editor
module
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
CN2010106128759A
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.)
DongGuan TopFer Electronic Technology Co Ltd
Original Assignee
DongGuan TopFer Electronic Technology 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 DongGuan TopFer Electronic Technology Co Ltd filed Critical DongGuan TopFer Electronic Technology Co Ltd
Priority to CN2010106128759A priority Critical patent/CN102063421A/en
Publication of CN102063421A publication Critical patent/CN102063421A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention belongs to the technical field of tests and particularly relates to a system for editing a test item document in a test program. The editing system comprises a module for selecting a document to be edited, an edition mode selection module, an edition position setting module, an edition line number setting module, an edition execution module, a document classification module and a rename module. By adopting the technical scheme provided by the invention, corresponding edition can be directly and rapidly carried out on a test item document in the test program, and the edited test item document can be automatically renamed and sequenced without operation by a user, therefore, convenience is brought to the user, the test time can be saved, and the test efficiency is improved.

Description

The editing system of test item file in a kind of test procedure
Technical field:
The invention belongs to technical field of measurement and test, refer in particular to the editing system of test item file in a kind of test procedure.
Background technology:
In field tests, test procedure is to carry out according to the order of test item file in the test item file.In the name of each test item of test item file, add numeral in test item title front, be starting point with " 0 ", then 1,2 ... series arrangement, and with its order that puts in order and test as each test item of carrying out of test procedure.
And in actual test process, the user tends to increase, duplicate or delete one or several test item, to obtain satisfactory test result in some position as required.The problem of bringing like this is, after insertion or deleting one or more test items, the ordering of the test item after test item that is inserted into and insertion point or the deletion point will be changed, and the user need carry out the rename operation to the test item after changing, and can redefine the ordering of test item.In the prior art, can only realize aforesaid operations by Rename rule and sortord that the Windows file system carries, and can't realize by test procedure itself.
Summary of the invention:
The object of the present invention is to provide the editing system of test item file in a kind of test procedure.
The present invention realizes that the technical scheme that its purpose adopts is: the editing system of test item file in a kind of test procedure, and described test item file adds test item name nominating and arrangement with the integer sequence number from " 0 " beginning, and described editing system comprises:
Treat editing files selection module: select the definite test item file that need edit;
Edit pattern is selected module: select to determine that the test item file that needs are edited carries out edit pattern;
Edit bit installs the cover half piece: set and treat the position of editing files in the test item file, promptly treat the position that editing files will insert or delete;
Editor's line number setting module: set the line number that relates to editor according to the number for the treatment of editing files;
Editor's execution module: treat editing files and carry out concrete editing operation;
The document classification module: be changed to the boundary line with edit bit, all test item files are divided into two parts, a part is the part before the editor position, and a part is by the later part of editing files and editor position;
Rename module:, wherein,, distinguish the sequence number of editor position, corresponding its place for by the rename of editing files to being carried out rename by the file of editing files and edit bit postpone; For the later part in editor position, then on the basis of original sequence number, add or deduct the number of editor's line number respectively.
In the technique scheme, described edit pattern comprises to be duplicated, inserts and delete.
The described editing files for the treatment of comprises the situation of null file, and described null file takies the position of described file, but does not show.
Adopt technical solutions according to the invention, can in test procedure, directly and apace edit accordingly the test item file, test item file behind the editor need not the user and operates and can carry out rename and ordering automatically, not only bring advantage to the user, and can save the test duration, testing efficiency is provided.
Description of drawings:
Fig. 1 is the composition frame chart of test item document-editing system of the present invention;
Fig. 2 is the display interface synoptic diagram of test procedure original state display interface and corresponding test item file in an embodiment of the present invention;
Fig. 3 is the status display interface and the corresponding test item file display interface synoptic diagram of the test procedure of the embodiment of the invention after inserting a null file on Fig. 2 basis;
Fig. 4 is the test procedure operation interface synoptic diagram of the embodiment of the invention in the enterprising edlin operation in Fig. 2 basis;
Fig. 5 be embodiment of the invention inediting execution module adopted duplicate the insertion algorithm synoptic diagram;
Fig. 6 carries out the test procedure display interface after the editing operation shown in Figure 4 and the display interface synoptic diagram of corresponding test item file;
Fig. 7 is the deletion algorithm synoptic diagram that embodiment of the invention inediting execution module is adopted.
Embodiment:
The editing system of test item file in a kind of test procedure of the present invention, be used for test procedure test item file is edited, edit pattern comprises to be duplicated, inserts and delete, promptly duplicate certain or certain several test item files, and be inserted into certain position of test item file, perhaps directly new test item file is inserted in certain position in original test item file, perhaps the several test item files of deletion certain or certain in original test item file.In the test item file, the test item file is to add the test item title with the integer sequence number from " 0 " beginning to name and arrange embodiment for example shown in Figure 2.
Particularly, as shown in Figure 1, described editing system comprises:
Treat editing files selection module: select the definite test item file that need edit;
Edit pattern is selected module: select to determine that the test item file that needs are edited carries out edit pattern;
Edit bit installs the cover half piece: set and treat the position of editing files in the test item file, promptly treat the position that editing files will insert or delete;
Editor's line number setting module: set the line number that relates to editor according to the number for the treatment of editing files;
Editor's execution module: treat editing files and carry out concrete editing operation;
The document classification module: be changed to the boundary line with edit bit, all test item files are divided into two parts, a part is the part before the editor position, and a part is by the later part of editing files and editor position;
Rename module:, wherein,, distinguish the sequence number of editor position, corresponding its place for by the rename of editing files to being carried out rename by the file of editing files and edit bit postpone; For the later part in editor position, then on the basis of original sequence number, add or deduct the number of editor's line number respectively.
The present invention is further described below in conjunction with specific embodiments and the drawings.
As shown in Figure 2, the display interface of test procedure original state display interface and corresponding test item file in the present embodiment contains 20 test item files in the test item file, and the filename front end of test item file begins to " 19 " from " 0 ";
Again as shown in Figure 3, its demonstration be on Fig. 2 basis, insert the situation of a null file at the 4th row, its operation is directly finished in the operation interface of test procedure, promptly at first click and select the 4th row in the test procedure interface, click " insertion " function button then, insert with null file, promptly show blank at former the 4th row, and in the corresponding test item file, the 4th test item file corresponding file name front end should be sequence number " 3 ", because this position is shared by null file, so it does not show, and the sequence number of the filename front end of position " 3 " later test item file all " adds 1 " on basis shown in Figure 2, promptly show edited result by test item file shown in Figure 3.Otherwise, also can delete null file, promptly click the null file of the 4th row, click " deleting single test item " function button again, the concrete deletion algorithm that is adopted in editor's execution module shows with state shown in Figure 2 after the deletion as shown in Figure 7 again.
Again in conjunction with Fig. 4, Fig. 5, shown in Figure 6, its operation that will carry out is with the 1st~4 test item file copy and is inserted into before the 1st row.Its operation also is to finish in test procedure, " duplicating " function button in the hit testing program at first, eject operation interface as shown in Figure 4, input is corresponding capable number in input field, " from the item number 1 to item number 4 " shown in Fig. 4 for example, the 1st~4 test item file duplicated in expression, selects then " insertion ", the position that " to item number 1 " expression is inserted is the 1st row front, and clicking " determining " then is complete operation.Present embodiment inediting execution module is carried out to duplicate and is inserted algorithm that editor adopted as shown in Figure 5.Editor back result as shown in Figure 6, test item file display interface from Fig. 6 as can be known, the filename front end sequence number of duplicating the 1st~4 test item file of insertion sorts by its shared position number " 0~3 " respectively, and the filename of the original test item file after inserting, then on the basis of original sequence number, respectively " adding 4 ", promptly become " 4-23 " from original " 0-19 ".
In sum, adopt technical solutions according to the invention, can in test procedure, directly and apace edit accordingly the test item file, test item file behind the editor need not the user and operates and can carry out rename and ordering automatically, not only bring advantage to the user, and can save the test duration, testing efficiency is provided.

Claims (2)

1. the editing system of test item file in the test procedure, described test item file adds test item name nominating and arrangement with the integer sequence number from " 0 " beginning in the test item file, and it is characterized in that: described editing system comprises:
Treat editing files selection module: select the definite test item file that need edit;
Edit pattern is selected module: the edit pattern of selecting definite test item file that needs are edited to carry out;
Edit bit installs the cover half piece: set and treat the position of editing files in the test item file, promptly treat the position that editing files will insert or delete;
Editor's line number setting module: set the line number that relates to editor according to the number for the treatment of editing files;
Editor's execution module: treat editing files and carry out concrete editing operation;
The document classification module: be changed to the boundary line with edit bit, all test item files are divided into two parts, a part is the part before the editor position, and another part is by the later part of editing files and editor position;
Rename module:, wherein,, distinguish the sequence number of editor position, corresponding its place for by the rename of editing files to being carried out rename by the file of editing files and edit bit postpone; For the later part in editor position, then on the basis of original sequence number, add or deduct the number of editor's line number respectively.
2. the editing system of test item file in a kind of test procedure according to claim 1 is characterized in that: described edit pattern comprises to be duplicated, inserts and delete.
CN2010106128759A 2010-12-29 2010-12-29 System for editing test item document in test program Pending CN102063421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106128759A CN102063421A (en) 2010-12-29 2010-12-29 System for editing test item document in test program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106128759A CN102063421A (en) 2010-12-29 2010-12-29 System for editing test item document in test program

Publications (1)

Publication Number Publication Date
CN102063421A true CN102063421A (en) 2011-05-18

Family

ID=43998702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106128759A Pending CN102063421A (en) 2010-12-29 2010-12-29 System for editing test item document in test program

Country Status (1)

Country Link
CN (1) CN102063421A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598114A (en) * 2015-02-28 2015-05-06 苏州路之遥科技股份有限公司 Editing method for microcomputer test process of wiring harness intelligent testing machine
CN110399295A (en) * 2019-06-28 2019-11-01 奇安信科技集团股份有限公司 A kind of applied program testing method and device based on raw filename

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070162894A1 (en) * 2006-01-11 2007-07-12 Archivas, Inc. Method of and system for dynamic automated test case generation and execution
CN101071414A (en) * 2007-06-15 2007-11-14 珠海金山软件股份有限公司 Device and method for automatically detecting and tracking data change
TWI313359B (en) * 2007-01-10 2009-08-11 Z Com Inc Test system of configurable test process and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070162894A1 (en) * 2006-01-11 2007-07-12 Archivas, Inc. Method of and system for dynamic automated test case generation and execution
TWI313359B (en) * 2007-01-10 2009-08-11 Z Com Inc Test system of configurable test process and method thereof
CN101071414A (en) * 2007-06-15 2007-11-14 珠海金山软件股份有限公司 Device and method for automatically detecting and tracking data change

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱儒荣等: "《计算机应用基础》", 31 December 1998, article "计算机应用基础", pages: 223-232 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598114A (en) * 2015-02-28 2015-05-06 苏州路之遥科技股份有限公司 Editing method for microcomputer test process of wiring harness intelligent testing machine
CN110399295A (en) * 2019-06-28 2019-11-01 奇安信科技集团股份有限公司 A kind of applied program testing method and device based on raw filename
CN110399295B (en) * 2019-06-28 2023-09-22 奇安信科技集团股份有限公司 Application program testing method and device based on original file name

Similar Documents

Publication Publication Date Title
CN103631590B (en) The edit methods of automatic test script
CN107844299A (en) A kind of implementation method of Web application development tools
CN102541740B (en) A kind of mobile phone notes automated testing method based on Android
CN106033388B (en) Test case library management method and system
CN104375934B (en) Method for testing reliability of Android mobile phone software
CN104720561A (en) Cooking tool and control method for man-machine interaction interface of cooking tool
CN105737508B (en) Medical refrigerator specimen discerning method and device
CN113010359B (en) Bus test system generation method, system, device and storage medium
CN102067117B (en) Method for displaying and operating table
CN106611084A (en) Integrated circuit designing method and apparatus
CN109299046B (en) Collaborative editing method based on TCP WebSocket protocol
CN106201224A (en) The method and device that a kind of batch data processes
CN104123401A (en) CAE intelligent system
JP2009282709A5 (en)
CN102063421A (en) System for editing test item document in test program
CN113094442B (en) Full data synchronization method, device, equipment and medium
CN103279263B (en) The method and system that a kind of file quickly creates and edits
CN101776993B (en) System and method automatically generating software interactive interface
CN103885664B (en) Desktop file mapping method and desktop file mapping system
CN111159020B (en) Method and device applied to synchronous software test
CN104715233A (en) Character conversion method and system
CN102368235B (en) To the method and system that word is associated with numerical information in input method
CN104239047B (en) The method and its device of a kind of information gathering
CN110333906B (en) Method, system, device and storage medium for rapidly processing reserved equipment
CN100527138C (en) Simulating example producing method and device for integrated circuit element

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110518