WO2008092345A1 - A method and apparatus for generating test script, a method, apparatus and system for checking test - Google Patents
A method and apparatus for generating test script, a method, apparatus and system for checking test Download PDFInfo
- Publication number
- WO2008092345A1 WO2008092345A1 PCT/CN2007/070692 CN2007070692W WO2008092345A1 WO 2008092345 A1 WO2008092345 A1 WO 2008092345A1 CN 2007070692 W CN2007070692 W CN 2007070692W WO 2008092345 A1 WO2008092345 A1 WO 2008092345A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- test script
- bill
- test
- cdr
- configuration
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/41—Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/44—Augmented, consolidated or itemized billing statement or bill presentation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/48—Secure or trusted billing, e.g. trusted elements or encryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/58—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on statistics of usage or network monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/70—Administration or customization aspects; Counter-checking correct charges
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/70—Administration or customization aspects; Counter-checking correct charges
- H04M15/73—Validating charges
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2215/00—Metering arrangements; Time controlling arrangements; Time indicating arrangements
- H04M2215/01—Details of billing arrangements
- H04M2215/0104—Augmented, consolidated or itemised billing statement, e.g. additional billing information, bill presentation, layout, format, e-mail, fax, printout, itemised bill per service or per account, cumulative billing, consolidated billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2215/00—Metering arrangements; Time controlling arrangements; Time indicating arrangements
- H04M2215/01—Details of billing arrangements
- H04M2215/0156—Secure and trusted billing, e.g. trusted elements, encryption, digital signature, codes or double check mechanisms to secure billing calculation and information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2215/00—Metering arrangements; Time controlling arrangements; Time indicating arrangements
- H04M2215/01—Details of billing arrangements
- H04M2215/0164—Billing record, e.g. Call Data Record [CDR], Toll Ticket[TT], Automatic Message Accounting [AMA], Call Line Identifier [CLI], details, i.e. parameters, identifiers, structure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2215/00—Metering arrangements; Time controlling arrangements; Time indicating arrangements
- H04M2215/01—Details of billing arrangements
- H04M2215/0188—Network monitoring; statistics on usage on called/calling number
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2215/00—Metering arrangements; Time controlling arrangements; Time indicating arrangements
- H04M2215/70—Administration aspects, modify settings or limits or counter-check correct charges
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2215/00—Metering arrangements; Time controlling arrangements; Time indicating arrangements
- H04M2215/70—Administration aspects, modify settings or limits or counter-check correct charges
- H04M2215/7072—Validate charges
Definitions
- Test script generation method and device acceptance test method, device and system
- application is submitted to the Chinese Patent Office on January 26, 2007, application number is 200710002918.X, and the invention name is "test script generation method and device and test”
- the priority of the Chinese Patent Application the entire disclosure of which is incorporated herein by reference.
- the present invention relates to an acceptance testing technique in a software delivery process, and in particular to a method and apparatus for generating a test script, an acceptance testing method, apparatus and system.
- Acceptance test is an indispensable part of the software product delivery process. It examines the function and performance requirements of the software system to meet the needs of users.
- the acceptance test is one of the software production activities, which guarantees the software function and software requirements. Consistent and important activities. Acceptance testing is an important guarantee for the success of the system, and its role is self-evident.
- the telecom settlement system performs the acceptance test, because the settlement system is in the Clean state, there is no configuration data inside, and the content of the dialog cannot be identified and processed. Therefore, the user tester needs to pre-configure the processing according to the bill to be processed.
- the required configuration data after inputting the bill, the settlement system uses the configured data to identify the bill and the dialog box for processing; the processing process includes: the dialog box performs format conversion, the element solution, the rating; the post-price generation
- the phone bill is detailed, and the phone bill is stored in the detailed list; the user tester can count the bills in the detailed list.
- the process of statistics is as follows: Performing operations such as accrual, settlement, and posting; finally, the test results can be obtained by comparing the accounting report with the expected report.
- test efficiency of the system test will be greatly improved.
- One of the current methods is to customize the configuration data through testers writing test scripts in advance. As a test system, the test data can be completed by running the test script.
- configuration data needs to be configured for the bill. Different data and test procedures of different bills are different. Different test scripts need to be written for different bills. Therefore, this method can implement the configuration data process. Automation, but the tester still has to enter or compile different test scripts according to different bills, but whether it is generated by inputting test scripts or manually generating test scripts, the number of test scripts is huge, even if The data in the single is slightly different, and the script should be modified. The tester needs to enter or compile the corresponding test script for each bill. The workload is very large and the feasibility is poor.
- an embodiment of the present invention provides a method and an apparatus for generating a test script, so as to implement automatic generation of a test script and automatically complete acceptance testing of the system.
- Another aspect of the present invention provides an acceptance test method, apparatus and system, which can realize automatic configuration of data of the settlement system and improve the efficiency of the acceptance test.
- a method for generating a test script includes: identifying a CDR type, and acquiring a test script template corresponding to the CDR type; and acquiring configuration data corresponding to the CDR content; The configuration data is populated into the test script template to generate a test script for the CDR.
- the data configuration method provided by the embodiment of the present invention includes: identifying a CDR type, and acquiring a test script template corresponding to the CDR type; acquiring configuration data corresponding to the CDR content; Filling into the test script template, generating a test script of the bill; running the test script to perform data configuration on the settlement system.
- An acceptance test method provided by the embodiment of the present invention includes: identifying a CDR type, and acquiring a test script template corresponding to the CDR type; acquiring configuration data corresponding to the CDR content; and filling the configuration data into In the test script template, generating a test script of the bill; running the test script to perform data configuration on the settlement system; processing the bill by using the configured data; comparing the processing result with the expected result , get the test results.
- a test script generating apparatus includes: a bill type identifying unit, configured to identify a bill type; a template searching unit, configured to obtain a test script template corresponding to the bill type; and a configuration data searching unit And a configuration file for acquiring the content of the CDR content; the test script generating unit is configured to fill the configuration data acquired by the configuration data searching unit into the template search list In the test script template obtained by the meta, the test script of the CDR is generated.
- a data configuration system includes a test script generating device and a data configuration device.
- the test script generating device is configured to generate a test script for a bill, and the method includes: a bill type identification unit, configured to identify a CDR type, a template search unit, configured to obtain a test script template corresponding to the CDR type, a configuration data search unit, configured to acquire configuration data corresponding to the CDR content, and a test script generating unit, configured to:
- the configuration data obtained by the configuration data search unit is filled into the test script template obtained by the template search unit, and the test script of the bill is generated;
- the data configuration device is configured to run the test generated by the test script generation device.
- the script configures the data for the settlement system.
- An acceptance test system includes: a test script generating device, a data configuration device, a system to be tested, and a test result generating device; the test script generating device, a test script for generating a bill, which includes a CDR type identifying unit, configured to identify a CDR type; a template locating unit, configured to obtain a test script template corresponding to the CDR type; and a configuration data searching unit, configured to acquire configuration data corresponding to the CDR content; a test script generating unit, configured to fill the configuration data acquired by the configuration data search unit into a test script template obtained by the template search unit, and generate a test script of the bill; the data configuration device is configured to: Running the test script generated by the test script generating device to perform data configuration on the system to be tested; the system to be tested is configured to receive an indication of the data configuration device to perform data configuration, and use the configured data to pair the CDR Processing; the test result generating unit, configured to: The processing results of the system are compared with the
- An acceptance test system includes: a test script generating device, a data configuration device, and a test result generating device.
- the test script generating device is configured to generate a test script for a bill
- the method includes: a recognition unit, configured to identify a CDR type, a template search unit, configured to obtain a test script template corresponding to the CDR type, a configuration data search unit, configured to acquire configuration data corresponding to the CDR content, and a test script generation unit And generating, by the configuration data obtained by the configuration data searching unit, the test script template obtained by the template search unit, and generating a test script of the bill; the data configuration device, configured to run the test
- the test script generated by the script generating device performs data configuration on the system to be tested; the test result generating device processes the bill with the configured data, and compares the processing result with the expected result to obtain a test result.
- An acceptance testing device includes: a test script generating unit, a data configuration unit, a system to be tested, and a test result generating unit; the test script generating unit, configured to identify a bill type; The test script template corresponding to the CDR type and the configuration data corresponding to the CDR content; and the configuration data is filled in the test script template to generate a test script of the CDR; the data configuration unit is used to run the locator
- the test script generated by the test script generating unit performs data configuration on the system to be tested; the system to be tested is configured to receive an indication of the data configuration unit to perform data configuration; and process the bill by using the configured data.
- the test result generating unit is configured to compare the processing result of the system to be tested with an expected result to obtain a test result.
- FIG. 1 is a flowchart of a method for generating a test script according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for generating a test script according to Embodiment 2 of the present invention
- FIG. 3 is a flowchart of a data configuration method of a third settlement system according to Embodiment 3 of the present invention.
- FIG. 4 is a flowchart of a data configuration method of a fourth settlement system according to an embodiment of the present invention.
- FIG. 5 is a flowchart of a method for testing a settlement system according to Embodiment 5 of the present invention.
- FIG. 6 is a schematic structural diagram of an apparatus of a test script generating apparatus according to Embodiment 6 of the present invention.
- FIG. 7 is a schematic structural diagram of a system of a data configuration system according to Embodiment 7 of the present invention.
- Embodiment 8 is a schematic structural diagram of a test system according to Embodiment 8 of the present invention.
- Embodiment 9 is a schematic structural view of a test device according to Embodiment 9 of the present invention.
- Embodiment 1 A method for generating a test script, which is shown in FIG. 1 and includes:
- the process of identifying the CDR type includes: First, the CDR format is matched; and the CDR type is determined according to the CDR format.
- the matching CDR format can be: obtaining the length of the CDR; and finding the CDR format corresponding to the CDR length.
- Existing CDR formats have a variety of standard formats, such as: Internet CDR format, roaming CDR format, Monternet CDR format, and International Direct Dialling (IDD) format.
- the matching CDR format can also be matched by other conventional implementations.
- the manner of matching the CDR format does not constitute a limitation of the present invention.
- the CDR type By identifying the CDR format, you can divide the CDR type into: Internet CDR, Roaming CDR, Dreamnet CDR, and International Long Distance CDR.
- the CDR type is classified according to the CDR format, and different CDR formats will correspond to different test script templates.
- the CDR type can also be determined jointly according to the CDR format and the CDR content, that is, the CDR can be further classified in more detail according to the matched CDR format.
- the CDR type is: International long distance short message.
- test script template corresponding to the CDR type is prepared in advance.
- the number of CDR types and the number of test scripts and the number of test script templates can be determined according to the specific situation. The following provides an example of the structure of the test script template:
- First command and Second command represent the executed command
- Target represents the specified target, that is, the filling position of the configuration data, such as: a drop-down box on the page, a radio button, and the like.
- Value represents the value that needs to be entered, such as: the value to be filled in the text box, the value of a column selected in the drop-down box, etc., which is the configuration data found in the subsequent steps.
- First command is: Fill in the representative value of the short message CDR, Target indicates the target location to fill in, Value is the value corresponding to the short message CDR, where Value value is "01", which represents short message CDR, data configuration Then, when the test system processes the bill, the value of the field indicating the service type of the bill is obtained, and the obtained value is "01", and the service type of the bill can be matched to be a short message bill.
- the search obtains configuration data corresponding to the content of the bill.
- the configuration data corresponding to the field content of the CDR can be obtained, and the configuration data corresponding to the field content of the CDR can be obtained according to the content of the field in the CDR.
- the selection of the specific field content can be determined by setting in advance.
- Step 103 may be performed as long as the contents of each field of the bill are identified.
- the configuration data corresponding to the CDR content is stored in the maintenance database in the maintenance server.
- the configuration data may be exchanged with the maintenance server to obtain the required configuration data through a specific data interface. It can be understood that related configuration data can also be stored locally for searching.
- the configuration data is data related to settlement, such as carrier information, location information, rates, and the like.
- test script template when the test script template is prepared, a plurality of variables to be assigned or filled are set, and after the configured configuration data is filled, a complete test script is formed.
- the test script template is obtained by searching for the CDR type; the search script template corresponding to the CDR type is obtained; the configuration data corresponding to the CDR content is obtained; and the configuration data is filled in the test script template to generate the The test script of the bill realizes the automatic generation of test scripts.
- the tester manually writes the script, which greatly reduces the workload, improves the efficiency of the acceptance test, and accelerates the overall progress of the acceptance test process.
- the second embodiment is a method for generating a test script.
- the method flow is as shown in FIG. 2, including:
- the CDR type can be determined jointly according to the CDR format and the CDR content, that is, after matching the CDR format, the CDR content dialogue list is further classified.
- the search obtains configuration data corresponding to the content of the CDR segment.
- the processing of the bill is mainly for the special data related to the bill and the settlement, so the data configuration required to process the bill is also for processing these special
- the data is configured, and the fields for storing the special data are key fields, and the configuration of the key fields is determined according to the type of the bill.
- step 204 is triggered by the step 202 and the step 204 and the step 203 are not performed in an absolute order.
- the difference between the second embodiment of the present invention and the first embodiment is that the second embodiment further classifies the bill according to the bill format and the bill content, and searches for the configuration data according to the content of the bill type key segment corresponding to the bill type;
- the fewer key fields and their corresponding content which reduces the interaction with the maintenance database, speeds up the search configuration data and fills the template. Therefore, in the configuration of the CDR type and the test script template, an appropriate number of category dialogs can be selected according to the actual situation to classify and configure test script templates corresponding to different CDR types.
- the third embodiment is based on the data configuration method of the test script generation method in the foregoing embodiment.
- the flowchart is as shown in FIG. 3, and includes:
- the process of identifying the CDR type includes:
- the CDR format is matched, and the CDR type is determined according to the CDR format.
- the search obtains configuration data corresponding to the content of the bill.
- the embodiment of the present invention can obtain the configuration data corresponding to the content of all the fields of the CDR, and can also obtain the configuration data corresponding to the vocabulary part field content, and the selection of the specific field content can be determined by setting in advance.
- Step 303 may be performed as long as the contents of each field of the bill are identified.
- the configuration data corresponding to the CDR content is stored in the maintenance database in the maintenance server.
- the configuration data may be exchanged with the maintenance server to obtain the required configuration data through a specific data interface.
- the relevant configuration data can also be stored locally for lookup.
- the configuration data is data related to settlement, such as carrier information, location information, rates, and the like.
- test script template when the test script template is pre-programmed, a plurality of variables to be assigned or filled are set, and after the configuration data to be found is filled, a complete test script is formed.
- the running the test script may be that the settlement system directly runs to perform data matching. Set. It can be understood that other test scripts may be run by the test server to drive the settlement system to complete data configuration.
- the third embodiment of the present invention identifies the type of the CDR; searches for the test script template corresponding to the CDR type; and obtains the configuration data corresponding to the content of the CDR; and fills the configuration data into the test script template.
- the method realizes the automatic generation of test scripts and realizes the automatic configuration of the settlement system data, avoids manual scripting or manual data configuration, greatly reduces the workload, improves the efficiency of the acceptance test, and accelerates the overall acceptance test process. schedule.
- the CDR type can also be determined according to the CDR format and the CDR content, that is, after matching the CDR format, the CDR content dialogue list is further classified.
- the search obtains configuration data corresponding to the content of the CDR sub-key.
- the processing of the bill is mainly for the special data related to the bill and the settlement, so the data configuration required to process the bill is also for processing these special The configuration of the data.
- the fields that store these special data are the key fields, and the configuration of the key fields is based on the type of the bill.
- step 404 is triggered and triggered by step 402. Steps 404 and 403 have no absolute order in execution.
- the difference between the fourth embodiment and the third embodiment is that the second embodiment further classifies the bill according to the bill format and the bill content, and searches for the configuration data according to the content of the bill type key segment corresponding to the bill type;
- When looking up configuration data there are fewer key fields and their corresponding content. This reduces interaction with the maintenance database and speeds up the process of finding configuration data and populating templates. Therefore, in the configuration of the CDR type classification and the test script template, an appropriate number of category dialogs can be selected according to the actual situation to classify and configure the test script template corresponding to the classification type.
- the fifth embodiment is an acceptance test method based on the data configuration method of the third embodiment or the fourth embodiment of the present invention.
- the flowchart is as shown in FIG. 5, and includes:
- the processing performed by the settlement system on the bill includes:
- the account details are billed and settled to obtain a report.
- the sixth embodiment is a device for generating a test script based on the test script generation method according to the embodiment of the present invention, as shown in FIG. 6.
- the method includes: a bill type identification unit 610, a template search unit 620, a configuration data search unit 630, and a test script generation unit 640.
- a bill type identification unit 610 configured to identify a bill type
- the template search unit 620 is configured to search for a test script template corresponding to the CDR type recognized by the CDR type identification unit 610;
- the configuration data search unit 630 is configured to search for the configuration data corresponding to the content of the bill;
- the test script generating unit 640 is configured to fill the configuration data found by the configuration data searching unit 630 with the template search unit 620 to find
- the test script template generates a test script for the CDR.
- the seventh embodiment is a data configuration system based on the data configuration method of the third embodiment or the fourth embodiment of the present invention, as shown in FIG. 7.
- a test script generating device 710 and a data configuration device 720 are included;
- the test script generating device 710 is configured to identify a CDR type; obtain a test script template corresponding to the CDR type and configuration data corresponding to the CDR content; and fill the configuration data with the test script template Generate a test script for the CDR.
- the structure of the test script generating device 710 can be referred to as shown in FIG. 6.
- the data configuration device 720 is configured to run a test script generated by the test script generating device 710 to perform data configuration on the settlement system.
- Embodiment 8 is an acceptance test system based on the fifth acceptance test method of the embodiment of the present invention, as shown in FIG.
- the test script generating device 710, the data configuration device 720, the system under test 830, and the test result generating device 840 are included;
- the test script generating device 710 is configured to identify a CDR type; obtain a test script template corresponding to the CDR type and configuration data corresponding to the CDR content; and fill the configuration data with the test script template Generate a test script for the CDR.
- the data configuration device 720 is configured to run a test script generated by the test script generating device 710 to perform data configuration on the settlement system.
- the system to be tested 830 is configured to receive an indication of the data configuration device 720 for data configuration, and process the CDR by using the configured data, where the processing includes:
- the account details are billed and settled to obtain a report.
- the test result generating means 840 is configured to compare the processing result of the system under test 830 with an expected result to obtain a test result.
- the ninth embodiment is a test device based on the fifth system test method of the embodiment of the present invention, including a test script generating unit 910, a data configuration unit 920, a system under test 930, and a test result generating unit 940;
- the test script generating unit 910 is configured to identify a CDR type; and obtain a test script template corresponding to the CDR type and configuration data corresponding to the CDR content; and fill the configuration data with the test script template. Generate a test script for the CDR.
- the structure of the test script generating unit 910 can be referred to FIG.
- the data configuration unit 920 is configured to run a test script generated by the test script generating unit 910 to perform data configuration on the settlement system.
- the system to be tested 930 is configured to receive an indication of the data configuration unit 920 for data configuration, and process the CDR by using the configured data, where the processing includes:
- the account details are billed and settled to obtain a report.
- the test result generating unit 940 is configured to compare the processing result of the system to be tested 930 with an expected result to obtain a test result.
- the present invention also provides an acceptance test system, the system comprising: a test script generation device, a data configuration device, and a test result generation device.
- the test script generating device and the data configuring device are the same as the test script generating device 710 and the data configuring device 720 in the seventh embodiment described above.
- the system of the embodiment differs from the system of the eighth embodiment in that, in the embodiment, the test result generating device processes the bill by using the configured data, and compares the processing result with the expected result. , get the test results.
- the test script template corresponding to the CDR type is obtained by searching for the CDR type; the configuration data corresponding to the CDR content is obtained; and the configuration data is filled in the test script template to generate the The test script of the bill realizes the automatic generation of test scripts.
- the testers manually write scripts, which greatly reduces the workload, improves the efficiency of the acceptance test, and speeds up the overall progress of the acceptance test process.
- the embodiment of the present invention further classifies the bill according to the bill format and the bill content, and searches for the configuration data according to the content of the bill type key segment corresponding to the bill type; the more detailed the classification, the more types need to be preset. Test script template, but because of the refinement of the classification, the fewer the different fields in the same classified bill, the more fixed configuration data can be preset in the test script template.
- searching up configuration data there are fewer key fields and their corresponding content; Less interaction with maintaining the database speeds up the process of finding configuration data and populating templates. Therefore, in the configuration of the CDR type classification and the test script template, an appropriate number of category dialogs can be selected according to the actual situation to classify and configure the test script template corresponding to the classification type.
- the embodiment of the present invention provides a method for the user to complete the acceptance test automatically, especially for the telecommunication operator, which improves the efficiency of the acceptance test and accelerates the overall progress of the acceptance test process.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
测试脚本的生成方法及装置、 验收测试方法、 装置及系统 本申请要求于 2007 年 1 月 26 日提交中国专利局、 申请号为 200710002918.X、 发明名称为"测试脚本的生成方法及装置和测试方法及装置 及系统"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 Test script generation method and device, acceptance test method, device and system The application is submitted to the Chinese Patent Office on January 26, 2007, application number is 200710002918.X, and the invention name is "test script generation method and device and test" The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference. Technical field
本发明涉及软件交付过程中的验收测试技术,具体涉及一种测试脚本的生 成方法及装置、 验收测试方法、 装置及系统。 The present invention relates to an acceptance testing technique in a software delivery process, and in particular to a method and apparatus for generating a test script, an acceptance testing method, apparatus and system.
背景技术 Background technique
验收测试是软件产品交付过程中的不可缺少的环节,它从全局来考察软件 系统的功能和性能要求是否满足用户的需求,验收测试是软件生产系列活动之 一, 它是保证软件功能和软件需求保持一致的重要活动。验收测试作为系统成 功上线的重要保障, 其作用不言而喻。 Acceptance test is an indispensable part of the software product delivery process. It examines the function and performance requirements of the software system to meet the needs of users. The acceptance test is one of the software production activities, which guarantees the software function and software requirements. Consistent and important activities. Acceptance testing is an important guarantee for the success of the system, and its role is self-evident.
目前, 电信结算系统在进行验收测试时, 因为结算系统处于清空(Clean ) 状态, 内部没有配置数据, 无法对话单内容进行识别和处理, 所以首先需要用 户测试人员预先根据待处理的话单配置处理过程需要的配置数据,输入所述话 单后, 结算系统利用所述配置的数据识别话单并对话单进行处理; 处理的过程 包括: 对话单进行格式转换, 要素求解, 批价; 批价后生成话费详单, 话费详 单存储于详单表中; 用户测试人员可以对详单表内的话费详单进行统计。统计 的过程为: 执行累帐、 结算、 出帐等操作; 最后可以通过比较出帐报表与预期 报表, 得出测试结果。 At present, when the telecom settlement system performs the acceptance test, because the settlement system is in the Clean state, there is no configuration data inside, and the content of the dialog cannot be identified and processed. Therefore, the user tester needs to pre-configure the processing according to the bill to be processed. The required configuration data, after inputting the bill, the settlement system uses the configured data to identify the bill and the dialog box for processing; the processing process includes: the dialog box performs format conversion, the element solution, the rating; the post-price generation The phone bill is detailed, and the phone bill is stored in the detailed list; the user tester can count the bills in the detailed list. The process of statistics is as follows: Performing operations such as accrual, settlement, and posting; finally, the test results can be obtained by comparing the accounting report with the expected report.
执行上述验收测试过程中, 由于待测系统没有配置数据, 用户测试人员需 要在针对话单手工配置处理该话单过程中所需的配置数据。如果没有全面的专 业知识, 用户测试人员很难完成如此规模的验收测试, 而且大量的手工配置操 作过程十分费时, 影响测试的效率, 使验收进度緩慢, 并且手工配置也容易出 错, 影响验收的准确性。 During the above-mentioned acceptance test, because the system under test has no configuration data, the user tester needs to manually configure the configuration data required for processing the bill for the bill. Without comprehensive professional knowledge, it is difficult for user testers to complete acceptance tests of this scale, and a large number of manual configuration operations are time consuming, affecting the efficiency of the test, making the acceptance progress slow, and manual configuration is also prone to errors, affecting the accuracy of acceptance. Sex.
人工完成验收测试过程对电信运营商的测试人员的要求太高,在短时间内 不但要熟悉系统,还要完成验收测试,这势必会影响用户对软件产品的满意度。 The manual completion of the acceptance test process is too high for the testers of the telecom operators. In a short period of time, not only must the system be familiar with the system, but also the acceptance test, which will inevitably affect the user's satisfaction with the software products.
如果能使配置数据的过程自动化完成, 将大大提高系统测试的测试效率。 目前的一种方法是通过测试人员事先编写测试脚本完成配置数据的定制化操 作, 待测系统只要运行测试脚本即可以完成配置数据的过程。 If the process of configuring the data can be automated, the test efficiency of the system test will be greatly improved. One of the current methods is to customize the configuration data through testers writing test scripts in advance. As a test system, the test data can be completed by running the test script.
但由于电信结算系统的特殊性, 需要针对话单进行配置数据, 不同话单配 置的数据和测试过程存在差异, 需要针对不同的话单编写不同的测试脚本, 因 此此种方法虽然可以实现配置数据过程的自动化,但是测试人员仍然要预先根 据不同的话单录入或编制不同的测试脚本,但无论是通过录入方式生成测试脚 本还是通过手工编制方式生成测试脚本, 测试脚本的数量都是巨大的,哪怕话 单内的数据有微小的不同,也要对脚本进行修改。 测试人员需要针对每张话单 录入或编制对应的测试脚本, 工作量十分巨大, 可行性差。 However, due to the particularity of the telecom settlement system, configuration data needs to be configured for the bill. Different data and test procedures of different bills are different. Different test scripts need to be written for different bills. Therefore, this method can implement the configuration data process. Automation, but the tester still has to enter or compile different test scripts according to different bills, but whether it is generated by inputting test scripts or manually generating test scripts, the number of test scripts is huge, even if The data in the single is slightly different, and the script should be modified. The tester needs to enter or compile the corresponding test script for each bill. The workload is very large and the feasibility is poor.
发明内容 Summary of the invention
有鉴于此, 本发明实施例一方面提供一种测试脚本的生成方法及装置, 以 实现测试脚本的自动化生成, 并自动完成系统的验收测试。 In view of this, an embodiment of the present invention provides a method and an apparatus for generating a test script, so as to implement automatic generation of a test script and automatically complete acceptance testing of the system.
本发明实施例另一方面提供一种验收测试方法、装置及系统, 可以实现结 算系统数据的自动配置, 提高验收测试的效率。 Another aspect of the present invention provides an acceptance test method, apparatus and system, which can realize automatic configuration of data of the settlement system and improve the efficiency of the acceptance test.
本发明实施例提供的一种测试脚本的生成方法, 包括: 识别话单类型, 并 获取与所述话单类型对应的测试脚本模板;获取与所述话单内容对应的配置数 据; 将所述配置数据填充到所述测试脚本模板中, 生成所述话单的测试脚本。 A method for generating a test script according to an embodiment of the present invention includes: identifying a CDR type, and acquiring a test script template corresponding to the CDR type; and acquiring configuration data corresponding to the CDR content; The configuration data is populated into the test script template to generate a test script for the CDR.
本发明实施例提供的一种数据配置方法, 包括: 识别话单类型, 并获取与 所述话单类型对应的测试脚本模板; 获取与所述话单内容对应的配置数据; 将 所述配置数据填充到所述测试脚本模板中, 生成所述话单的测试脚本; 运行所 述测试脚本对结算系统进行数据配置。 The data configuration method provided by the embodiment of the present invention includes: identifying a CDR type, and acquiring a test script template corresponding to the CDR type; acquiring configuration data corresponding to the CDR content; Filling into the test script template, generating a test script of the bill; running the test script to perform data configuration on the settlement system.
本发明实施例提供的一种验收测试方法, 包括: 识别话单类型, 并获取所 述话单类型对应的测试脚本模板; 获取所述话单内容对应的配置数据; 将所述 配置数据填充到所述测试脚本模板中, 生成所述话单的测试脚本; 运行所述测 试脚本对结算系统进行数据配置; 利用所述配置的数据对所述话单进行处理; 将处理结果与预期结果进行比较, 获得测试结果。 An acceptance test method provided by the embodiment of the present invention includes: identifying a CDR type, and acquiring a test script template corresponding to the CDR type; acquiring configuration data corresponding to the CDR content; and filling the configuration data into In the test script template, generating a test script of the bill; running the test script to perform data configuration on the settlement system; processing the bill by using the configured data; comparing the processing result with the expected result , get the test results.
本发明实施例提供的一种测试脚本生成装置, 包括: 话单类型识别单元, 用于识别话单类型; 模板查找单元, 用于获取所述话单类型对应的测试脚本模 板; 配置数据查找单元, 用于获取所述话单内容对应的配置数据; 测试脚本生 成单元,用于将所述配置数据查找单元获取的配置数据填充到所述模板查找单 元获取的测试脚本模板中, 生成所述话单的测试脚本。 A test script generating apparatus provided by an embodiment of the present invention includes: a bill type identifying unit, configured to identify a bill type; a template searching unit, configured to obtain a test script template corresponding to the bill type; and a configuration data searching unit And a configuration file for acquiring the content of the CDR content; the test script generating unit is configured to fill the configuration data acquired by the configuration data searching unit into the template search list In the test script template obtained by the meta, the test script of the CDR is generated.
本发明实施例提供的一种数据配置系统,包括测试脚本生成装置和数据配 置装置; 所述测试脚本生成装置, 用于生成话单的测试脚本, 其包括: 话单类 型识别单元, 用于识别话单类型; 模板查找单元, 用于获取所述话单类型对应 的测试脚本模板;配置数据查找单元,用于获取所述话单内容对应的配置数据; 测试脚本生成单元,用于将所述配置数据查找单元获取的配置数据填充到所述 模板查找单元获取到的测试脚本模板中, 生成所述话单的测试脚本; 所述数据 配置装置,用于运行所述测试脚本生成装置生成的测试脚本对结算系统进行数 据配置。 A data configuration system according to an embodiment of the present invention includes a test script generating device and a data configuration device. The test script generating device is configured to generate a test script for a bill, and the method includes: a bill type identification unit, configured to identify a CDR type, a template search unit, configured to obtain a test script template corresponding to the CDR type, a configuration data search unit, configured to acquire configuration data corresponding to the CDR content, and a test script generating unit, configured to: The configuration data obtained by the configuration data search unit is filled into the test script template obtained by the template search unit, and the test script of the bill is generated; the data configuration device is configured to run the test generated by the test script generation device. The script configures the data for the settlement system.
本发明实施例提供的一种验收测试系统, 包括: 测试脚本生成装置、 数据 配置装置、 待测系统和测试结果生成装置; 所述测试脚本生成装置, 用于生成 话单的测试脚本, 其包括: 话单类型识别单元, 用于识别话单类型; 模板查找 单元, 用于获取所述话单类型对应的测试脚本模板; 配置数据查找单元, 用于 获取所述话单内容对应的配置数据; 测试脚本生成单元, 用于将所述配置数据 查找单元获取的配置数据填充到所述模板查找单元获取到的测试脚本模板中, 生成所述话单的测试脚本; 所述数据配置装置, 用于运行所述测试脚本生成装 置生成的测试脚本对待测系统进行数据配置; 所述待测系统, 用于接收所述数 据配置装置的指示进行数据配置, 并利用所述配置的数据对所述话单进行处 理; 所述测试结果生成单元, 用于将所述待测系统的处理结果与预期结果进行 比较, 获得测试结果。 An acceptance test system provided by the embodiment of the present invention includes: a test script generating device, a data configuration device, a system to be tested, and a test result generating device; the test script generating device, a test script for generating a bill, which includes a CDR type identifying unit, configured to identify a CDR type; a template locating unit, configured to obtain a test script template corresponding to the CDR type; and a configuration data searching unit, configured to acquire configuration data corresponding to the CDR content; a test script generating unit, configured to fill the configuration data acquired by the configuration data search unit into a test script template obtained by the template search unit, and generate a test script of the bill; the data configuration device is configured to: Running the test script generated by the test script generating device to perform data configuration on the system to be tested; the system to be tested is configured to receive an indication of the data configuration device to perform data configuration, and use the configured data to pair the CDR Processing; the test result generating unit, configured to: The processing results of the system are compared with the expected results to obtain the test results.
本发明实施例提供的一种验收测试系统, 包括: 测试脚本生成装置、 数据 配置装置、 测试结果生成装置; 所述测试脚本生成装置, 用于生成话单的测试 脚本, 其包括: 话单类型识别单元, 用于识别话单类型; 模板查找单元, 用于 获取所述话单类型对应的测试脚本模板; 配置数据查找单元, 用于获取所述话 单内容对应的配置数据; 测试脚本生成单元, 用于将所述配置数据查找单元获 取的配置数据填充到所述模板查找单元获取到的测试脚本模板中,生成所述话 单的测试脚本; 所述数据配置装置, 用于运行所述测试脚本生成装置生成的测 试脚本对待测系统进行数据配置; 所述测试结果生成装置, 利用所述配置的数 据对所述话单进行处理, 并将处理结果与预期结果进行比较, 获得测试结果。 本发明实施例提供的一种验收测试装置, 包括: 测试脚本生成单元、 数据 配置单元、 待测系统和测试结果生成单元; 所述测试脚本生成单元, 用于识别 话单类型;查找获得所述话单类型对应的测试脚本模板和所述话单内容对应的 配置数据; 并将所述配置数据填充所述测试脚本模板生成所述话单的测试脚 本; 所述数据配置单元, 用于运行所述测试脚本生成单元生成的测试脚本对待 测系统进行数据配置; 所述待测系统, 用于接收所述数据配置单元的指示进行 数据配置; 并利用所述配置的数据对所述话单进行处理; 所述测试结果生成单 元, 用于将所述待测系统的处理结果与预期结果进行比较得出测试结果。 An acceptance test system provided by the embodiment of the present invention includes: a test script generating device, a data configuration device, and a test result generating device. The test script generating device is configured to generate a test script for a bill, and the method includes: a recognition unit, configured to identify a CDR type, a template search unit, configured to obtain a test script template corresponding to the CDR type, a configuration data search unit, configured to acquire configuration data corresponding to the CDR content, and a test script generation unit And generating, by the configuration data obtained by the configuration data searching unit, the test script template obtained by the template search unit, and generating a test script of the bill; the data configuration device, configured to run the test The test script generated by the script generating device performs data configuration on the system to be tested; the test result generating device processes the bill with the configured data, and compares the processing result with the expected result to obtain a test result. An acceptance testing device provided by the embodiment of the present invention includes: a test script generating unit, a data configuration unit, a system to be tested, and a test result generating unit; the test script generating unit, configured to identify a bill type; The test script template corresponding to the CDR type and the configuration data corresponding to the CDR content; and the configuration data is filled in the test script template to generate a test script of the CDR; the data configuration unit is used to run the locator The test script generated by the test script generating unit performs data configuration on the system to be tested; the system to be tested is configured to receive an indication of the data configuration unit to perform data configuration; and process the bill by using the configured data. The test result generating unit is configured to compare the processing result of the system to be tested with an expected result to obtain a test result.
本发明实施例通过识别话单类型;查找获得所述话单类型对应的测试脚本 模板; 查找获得所述话单内容对应的配置数据; 将所述配置数据填充所述测试 脚本模板生成所述话单的测试脚本, 实现了测试脚本的自动化生成,运行该脚 本则可以自动完成结算系统的数据配置工作,相对于现有技术, 测试人员手工 编写脚本, 大大降低了工作量, 提高了验收测试的效率, 加快了验收测试过程 的整体进度, 可以使电信运营商自动完成验收测试的过程。 The embodiment of the present invention identifies the type of the CDR; searches for the test script template corresponding to the CDR type; and obtains the configuration data corresponding to the content of the CDR; and fills the test script template with the configuration data to generate the vocabulary The single test script realizes the automatic generation of the test script. Running the script can automatically complete the data configuration work of the settlement system. Compared with the prior art, the tester manually writes the script, which greatly reduces the workload and improves the acceptance test. Efficiency, speeding up the overall progress of the acceptance test process, allows telecom operators to automatically complete the acceptance test process.
附图说明 DRAWINGS
图 1是本发明实施例一测试脚本的生成方法的流程图; 1 is a flowchart of a method for generating a test script according to an embodiment of the present invention;
图 2是本发明实施例二测试脚本的生成方法的流程图; 2 is a flowchart of a method for generating a test script according to Embodiment 2 of the present invention;
图 3是本发明实施例三结算系统的数据配置方法的流程图; 3 is a flowchart of a data configuration method of a third settlement system according to Embodiment 3 of the present invention;
图 4是本发明实施例四结算系统的数据配置方法的流程图; 4 is a flowchart of a data configuration method of a fourth settlement system according to an embodiment of the present invention;
图 5是本发明实施例五结算系统测试方法的流程图; 5 is a flowchart of a method for testing a settlement system according to Embodiment 5 of the present invention;
图 6是本发明实施例六测试脚本生成装置的装置结构示意图; 6 is a schematic structural diagram of an apparatus of a test script generating apparatus according to Embodiment 6 of the present invention;
图 7是本发明实施例七数据配置系统的系统结构示意图; 7 is a schematic structural diagram of a system of a data configuration system according to Embodiment 7 of the present invention;
图 8是本发明实施例八测试系统结构示意图; 8 is a schematic structural diagram of a test system according to Embodiment 8 of the present invention;
图 9是本发明实施例九测试装置结构示意图。 9 is a schematic structural view of a test device according to Embodiment 9 of the present invention.
具体实施方式 detailed description
下面将结合附图对本发明作进一步地详细描述。 The invention will be further described in detail below with reference to the accompanying drawings.
实施例一, 一种测试脚本的生成方法, 流程图如图 1所示, 包括: Embodiment 1 A method for generating a test script, which is shown in FIG. 1 and includes:
101 , 识别话单类型。 101, identify the type of bill.
本实施例中, 识别话单类型的过程包括: 首先匹配话单格式; 再根据所述话单格式确定所述话单类型。 In this embodiment, the process of identifying the CDR type includes: First, the CDR format is matched; and the CDR type is determined according to the CDR format.
本实施例中, 匹配话单格式可以釆取: 获取话单的长度; 查找所述话单长 度对应的话单格式。 现有的话单格式有多种标准格式, 如: 网间话单格式、 漫 游话单格式、梦网话单格式、国际长途直拨(International Direct Dialling, IDD ) 格式等。 In this embodiment, the matching CDR format can be: obtaining the length of the CDR; and finding the CDR format corresponding to the CDR length. Existing CDR formats have a variety of standard formats, such as: Internet CDR format, roaming CDR format, Monternet CDR format, and International Direct Dialling (IDD) format.
可以理解的是,匹配话单格式还可以釆取现有的其它常规实现方式进行匹 配, 具体匹配话单格式的方式不构成对本发明的限制。 It can be understood that the matching CDR format can also be matched by other conventional implementations. The manner of matching the CDR format does not constitute a limitation of the present invention.
通过识别话单格式, 可以将话单类型分为: 网间话单、 漫游话单、 梦网话 单、 和国际长途话单等。 By identifying the CDR format, you can divide the CDR type into: Internet CDR, Roaming CDR, Dreamnet CDR, and International Long Distance CDR.
本实施例中,话单类型是根据话单格式进行分类的, 不同的话单格式将对 应不同的测试脚本模板。 In this embodiment, the CDR type is classified according to the CDR format, and different CDR formats will correspond to different test script templates.
可以理解的是,话单类型还可以根据所述话单格式和所述话单内容共同确 定, 即可以根据匹配的话单格式, 对话单进一步更加详细的分类。 It can be understood that the CDR type can also be determined jointly according to the CDR format and the CDR content, that is, the CDR can be further classified in more detail according to the matched CDR format.
如: 首先识别话单格式, 得出话单为国际长途话单, 再根据话单内容, 得 出该话单类型为: 国际长途短消息话单。 For example: First, identify the CDR format, and get the CDR as an international long distance CDR. According to the CDR content, the CDR type is: International long distance short message.
102 , 查找获得与所述话单类型对应的测试脚本模板。 102. Find a test script template corresponding to the CDR type.
本实施例中,预先编制话单类型对应的测试脚本模板。话单类型分类和分 类数与测试脚本模板的数目可以根据具体情况自行确定,下面提供一个测试脚 本模板的结构举例: In this embodiment, a test script template corresponding to the CDR type is prepared in advance. The number of CDR types and the number of test scripts and the number of test script templates can be determined according to the specific situation. The following provides an example of the structure of the test script template:
<html> <html>
<head> <head>
<title>Test Case title</title> <title>Test Case title</title>
</head> </head>
<body> <body>
<table> <table>
<tbody> <tbody>
<tr> <tr>
<td>First command</td> <td>First command</td>
<td>Target</td> <td>Value</td> <td>Target</td> <td>Value</td>
</tr> </tr>
<tr> <tr>
<td>Second command</td> <td>Second command</td>
<td>Target</td> <td>Target</td>
<td>Value</td> <td>Value</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</body> </body>
</html> </html>
其中, First command和 Second command代表执行的命令, Target代表指定 的目标, 即配置数据的填入位置, 如: 页面中的一个下拉框, 单选框等。 Value 代表需要输入的值, 如: 文本框中要填写的值, 下拉框选中的某一列的值等, 即后续步骤中, 查找到的配置数据。 例如: First command 为: 填写短消息话 单的代表数值, Target指明填写的目标位置, Value的值为短消息话单对应的值, 这里 Value值为 "01", 代表短消息话单, 数据配置后, 在测试系统处理话单时, 则会获取该话单表示业务类型的字段的数值, 获取的数值为 "01", 则可以匹配 得出该话单的业务类型为短消息话单。 Among them, First command and Second command represent the executed command, Target represents the specified target, that is, the filling position of the configuration data, such as: a drop-down box on the page, a radio button, and the like. Value represents the value that needs to be entered, such as: the value to be filled in the text box, the value of a column selected in the drop-down box, etc., which is the configuration data found in the subsequent steps. For example: First command is: Fill in the representative value of the short message CDR, Target indicates the target location to fill in, Value is the value corresponding to the short message CDR, where Value value is "01", which represents short message CDR, data configuration Then, when the test system processes the bill, the value of the field indicating the service type of the bill is obtained, and the obtained value is "01", and the service type of the bill can be matched to be a short message bill.
103 , 查找获得与所述话单内容对应的配置数据。 103. The search obtains configuration data corresponding to the content of the bill.
本发明实施例可以根据话单所有字段内容查找获得与其对应的配置数据 , 也可以根据话单中部分字段内容查找获得与其对应的配置数据,具体的字段内 容的选择可以通过预先设置来确定。 In the embodiment of the present invention, the configuration data corresponding to the field content of the CDR can be obtained, and the configuration data corresponding to the field content of the CDR can be obtained according to the content of the field in the CDR. The selection of the specific field content can be determined by setting in advance.
可以理解, 本实施例步骤 103与步骤 101至步骤 102并无绝对顺序, 只要 识别话单各个字段的内容, 则可以执行步骤 103。 It can be understood that there is no absolute order in step 103 and step 101 to step 102 in this embodiment. Step 103 may be performed as long as the contents of each field of the bill are identified.
本实施例中 ,话单内容对应的配置数据是存储在维护服务器中的维护数据 库中, 实际获取配置数据时, 可以与维护服务器进行交互, 通过特定的数据接 口查找获得需要的配置数据。可以理解的是,也可以本地存储相关的配置数据 以供查找。 所述配置数据为与结算相关的数据,如:运营商信息、位置信息、 费率等。In this embodiment, the configuration data corresponding to the CDR content is stored in the maintenance database in the maintenance server. When the configuration data is actually acquired, the configuration data may be exchanged with the maintenance server to obtain the required configuration data through a specific data interface. It can be understood that related configuration data can also be stored locally for searching. The configuration data is data related to settlement, such as carrier information, location information, rates, and the like.
104, 将所述配置数据填充到所述测试脚本模板中, 生成所述话单的测试 脚本。 104. Fill the configuration data into the test script template to generate a test script of the CDR.
本实施例中,编制所述测试脚本模板时,设置多个有待赋值或填充的变量, 待查找到的配置数据进行填充后, 则形成完整的测试脚本。 In this embodiment, when the test script template is prepared, a plurality of variables to be assigned or filled are set, and after the configured configuration data is filled, a complete test script is formed.
本发明实施例一通过识别话单类型;查找获得所述话单类型对应的测试脚 本模板; 查找获得所述话单内容对应的配置数据; 将所述配置数据填充所述测 试脚本模板生成所述话单的测试脚本, 实现了测试脚本的自动化生成。相对于 现有技术, 测试人员手工编写脚本, 大大的降低了工作量, 提高了验收测试的 效率, 加快了验收测试过程的整体进度。 In the first embodiment of the present invention, the test script template is obtained by searching for the CDR type; the search script template corresponding to the CDR type is obtained; the configuration data corresponding to the CDR content is obtained; and the configuration data is filled in the test script template to generate the The test script of the bill realizes the automatic generation of test scripts. Compared with the prior art, the tester manually writes the script, which greatly reduces the workload, improves the efficiency of the acceptance test, and accelerates the overall progress of the acceptance test process.
实施例二, 一种测试脚本的生成方法, 方法流程如图 2所示, 包括: The second embodiment is a method for generating a test script. The method flow is as shown in FIG. 2, including:
201 , 匹配话单格式。 201, match the bill format.
202, 根据所述话单格式和话单内容确定所述话单类型。 202. Determine the CDR type according to the CDR format and the CDR content.
话单类型可以根据所述话单格式和所述话单内容共同确定,即在匹配话单 格式后, 再根据话单内容对话单进行更加详细的分类。 The CDR type can be determined jointly according to the CDR format and the CDR content, that is, after matching the CDR format, the CDR content dialogue list is further classified.
203 , 查找获得所述话单类型对应的测试脚本模板。 203. Search for a test script template corresponding to the type of the ticket.
204, 获取与所述话单类型对应的话单关键字段。 204: Obtain a bill key field corresponding to the bill type.
205 , 查找获得与所述话单关键字段内容对应的配置数据。 205. The search obtains configuration data corresponding to the content of the CDR segment.
本实施例中, 因为考虑到结算系统的特殊性,对于话单的处理主要是针对 话单与结算相关的特殊数据进行的处理,因此处理所述话单需要进行的数据配 置也是针对处理这些特殊数据进行的配置,而存储这些特殊数据的字段即为关 键字段, 关键字段的配置是根据话单类型而定的。 In this embodiment, because the speciality of the settlement system is taken into account, the processing of the bill is mainly for the special data related to the bill and the settlement, so the data configuration required to process the bill is also for processing these special The data is configured, and the fields for storing the special data are key fields, and the configuration of the key fields is determined according to the type of the bill.
可以理解的是, 步骤 204是以步骤 202为前提和触发的, 步骤 204与步骤 203在执行上并无绝对顺序。 It can be understood that the step 204 is triggered by the step 202 and the step 204 and the step 203 are not performed in an absolute order.
206, 将所述配置数据填充到所述测试脚本模板中, 生成所述话单的测试 脚本。 206. Fill the configuration data into the test script template to generate a test script of the CDR.
本发明实施例二与实施例一的区别在于,实施例二根据话单格式和话单内 容进一步将话单进行分类,并且根据话单类型对应的该类型话单关键字段内容 查找配置数据; 分类越细致, 需要预置更多类型的测试脚本模板, 但是因为分 类的细化, 相同分类的话单中, 不同的字段内容也就越少, 则可以在测试脚本 模板中, 预置更多的配置数据。 在查找配置数据时, 关键字段及其对应的内容 也就越少, 这样也就减少了与维护数据库的交互,加快了查找配置数据和填充 模板的速度。 因此在进行话单类型分类及测试脚本模板的配置中, 可以根据实 际的情况选择合适数量的类别对话单进行分类和配置不同话单类型对应的测 试脚本模板。 The difference between the second embodiment of the present invention and the first embodiment is that the second embodiment further classifies the bill according to the bill format and the bill content, and searches for the configuration data according to the content of the bill type key segment corresponding to the bill type; The more detailed the classification, the more types of test script templates need to be preset, but because of the points The refinement of the class, in the same categorization, the less the content of different fields, the more configuration data can be preset in the test script template. When looking up configuration data, the fewer key fields and their corresponding content, which reduces the interaction with the maintenance database, speeds up the search configuration data and fills the template. Therefore, in the configuration of the CDR type and the test script template, an appropriate number of category dialogs can be selected according to the actual situation to classify and configure test script templates corresponding to different CDR types.
实施例三,基于上述实施例一测试脚本生成方法的数据配置方法, 流程图 如图 3所示, 包括: The third embodiment is based on the data configuration method of the test script generation method in the foregoing embodiment. The flowchart is as shown in FIG. 3, and includes:
301 , 识别话单类型。 301. Identify the type of the bill.
本实施例中, 识别话单类型的过程包括: In this embodiment, the process of identifying the CDR type includes:
首先匹配话单格式, 再根据所述话单格式确定所述话单类型。 First, the CDR format is matched, and the CDR type is determined according to the CDR format.
302 , 查找获得与所述话单类型对应的测试脚本模板。 302. Find a test script template corresponding to the CDR type.
303 , 查找获得与所述话单内容对应的配置数据。 303. The search obtains configuration data corresponding to the content of the bill.
本发明实施例可以根据话单所有字段内容查找获得与其对应的配置数据 , 也可以根据话单部分字段内容查找获得与其对应的配置数据 ,具体字段内容的 选择可以通过预先设置来确定。 The embodiment of the present invention can obtain the configuration data corresponding to the content of all the fields of the CDR, and can also obtain the configuration data corresponding to the vocabulary part field content, and the selection of the specific field content can be determined by setting in advance.
可以理解, 本实施例步骤 303与步骤 301至 302并无绝对顺序, 只要识别 话单各个字段的内容, 则可以执行步骤 303。 It can be understood that there is no absolute order in step 303 and steps 301 to 302 of this embodiment. Step 303 may be performed as long as the contents of each field of the bill are identified.
本实施例中 ,话单内容对应的配置数据是存储在维护服务器中的维护数据 库中, 实际获取配置数据时, 可以与维护服务器进行交互, 通过特定的数据接 口查找获得需要的配置数据。可以理解的是,也可以在本地存储相关的配置数 据以供查找。 In this embodiment, the configuration data corresponding to the CDR content is stored in the maintenance database in the maintenance server. When the configuration data is actually obtained, the configuration data may be exchanged with the maintenance server to obtain the required configuration data through a specific data interface. As can be appreciated, the relevant configuration data can also be stored locally for lookup.
所述配置数据为与结算相关的数据,如:运营商信息、位置信息、 费率等。 The configuration data is data related to settlement, such as carrier information, location information, rates, and the like.
304 , 将所述配置数据填充到所述测试脚本模板中, 生成所述话单的测试 脚本。 304. Fill the configuration data into the test script template to generate a test script of the CDR.
本实施例中, 所述测试脚本模板在预编制时,设置多个有待赋值或填充的 变量, 待查找到的配置数据进行填充后, 则形成完整的测试脚本。 In this embodiment, when the test script template is pre-programmed, a plurality of variables to be assigned or filled are set, and after the configuration data to be found is filled, a complete test script is formed.
305 , 运行所述测试脚本对结算系统进行数据配置。 305. Run the test script to configure data for the settlement system.
本实施例中, 运行所述测试脚本可以是结算系统直接运行以进行数据配 置。 可以理解的是, 也可以是其它由测试服务器来运行测试脚本, 从而驱动所 述结算系统完成数据配置。 In this embodiment, the running the test script may be that the settlement system directly runs to perform data matching. Set. It can be understood that other test scripts may be run by the test server to drive the settlement system to complete data configuration.
本发明实施例三通过识别话单类型;查找获得所述话单类型对应的测试脚 本模板; 查找获得所述话单内容对应的配置数据; 将所述配置数据填充到所述 测试脚本模板中, 生成所述话单的测试脚本,通过运行所述测试脚本对结算系 统进行数据配置。该方法实现了测试脚本的自动化生成并实现了结算系统数据 的自动化配置,避免了手工编写脚本或手工进行数据配置,大大降低了工作量, 提高了验收测试的效率, 加快了验收测试过程的整体进度。 The third embodiment of the present invention identifies the type of the CDR; searches for the test script template corresponding to the CDR type; and obtains the configuration data corresponding to the content of the CDR; and fills the configuration data into the test script template. Generating a test script of the bill, and configuring the data of the settlement system by running the test script. The method realizes the automatic generation of test scripts and realizes the automatic configuration of the settlement system data, avoids manual scripting or manual data configuration, greatly reduces the workload, improves the efficiency of the acceptance test, and accelerates the overall acceptance test process. schedule.
实施例四,基于上述实施例二测试脚本生成方法的数据配置方法, 方法流 程图如图 4所示, 包括: The fourth embodiment is based on the data configuration method of the test script generation method in the second embodiment. The method flow diagram is as shown in FIG. 4, and includes:
401 , 匹配话单格式。 401, matching the CDR format.
402, 根据所述话单格式和话单内容确定所述话单类型。 402. Determine the CDR type according to the CDR format and the CDR content.
话单类型还可以根据所述话单格式和所述话单内容共同确定,即在匹配话 单格式后, 再根据话单内容对话单进行更加详细的分类。 The CDR type can also be determined according to the CDR format and the CDR content, that is, after matching the CDR format, the CDR content dialogue list is further classified.
403 , 查找获得与所述话单类型对应的测试脚本模板。 403. Find a test script template corresponding to the CDR type.
404, 获取与所述话单类型对应的话单关键字段。 404. Obtain a bill key field corresponding to the bill type.
405 , 查找获得与所述话单关键字段的内容对应的配置数据。 405. The search obtains configuration data corresponding to the content of the CDR sub-key.
本实施例中, 因为考虑到结算系统的特殊性,对于话单的处理主要是针对 话单与结算相关的特殊数据进行的处理,因此处理所述话单需要进行的数据配 置也是针对处理这些特殊数据进行的配置。而存储这些特殊数据的字段即为关 键字段, 关键字段的配置是根据话单类型而定的。 In this embodiment, because the speciality of the settlement system is taken into account, the processing of the bill is mainly for the special data related to the bill and the settlement, so the data configuration required to process the bill is also for processing these special The configuration of the data. The fields that store these special data are the key fields, and the configuration of the key fields is based on the type of the bill.
可以理解的是, 步骤 404是以步骤 402为前提和触发的, 步骤 404与步骤 403在执行上并无绝对顺序。 It can be understood that step 404 is triggered and triggered by step 402. Steps 404 and 403 have no absolute order in execution.
406, 将所述配置数据填充到所述测试脚本模板中, 生成所述话单的测试 脚本。 406. Fill the configuration data into the test script template to generate a test script of the CDR.
407 , 运行所述测试脚本对结算系统进行数据配置。 407. Run the test script to configure data for the settlement system.
发明实施例四与实施例三的区别在于,实施例二根据话单格式和话单内容 进一步将话单进行分类,并且根据话单类型对应的该类型话单关键字段内容查 找配置数据; 分类越细致, 需要预置更多类型的测试脚本模板, 但是因为分类 的细化, 相同分类的话单中, 不同的字段内容也就越少, 则可以在测试脚本模 板中预置固定更多的配置数据。在查找配置数据时, 关键字段及其对应的内容 也就越少。 这样也就减少了与维护数据库的交互,加快了查找配置数据和填充 模板的速度。 因此在进行话单类型分类及测试脚本模板的配置中, 可以根据实 际的情况选择合适数量的类别对话单进行分类和配置分类类型对应的测试脚 本模板。 The difference between the fourth embodiment and the third embodiment is that the second embodiment further classifies the bill according to the bill format and the bill content, and searches for the configuration data according to the content of the bill type key segment corresponding to the bill type; The more detailed, the more types of test script templates need to be preset, but because of the classification The refinement, in the same categorization, the less the content of different fields, the more fixed configuration data can be preset in the test script template. When looking up configuration data, there are fewer key fields and their corresponding content. This reduces interaction with the maintenance database and speeds up the process of finding configuration data and populating templates. Therefore, in the configuration of the CDR type classification and the test script template, an appropriate number of category dialogs can be selected according to the actual situation to classify and configure the test script template corresponding to the classification type.
实施例五,是本发明基于上述实施例三或实施例四数据配置方法的验收测 试方法, 流程图如图 5所示, 包括: The fifth embodiment is an acceptance test method based on the data configuration method of the third embodiment or the fourth embodiment of the present invention. The flowchart is as shown in FIG. 5, and includes:
501 , 识别话单类型; 501, identifying a CDR type;
502 , 查找获得所述话单类型对应的测试脚本模板; 502. Search for a test script template corresponding to the CDR type.
503 , 查找获得所述话单内容对应的配置数据; 503. Search for configuration data corresponding to the content of the bill.
504 , 将所述配置数据填充到所述测试脚本模板中, 生成所述话单的测试 脚本; 504. Fill the configuration data into the test script template, and generate a test script of the bill.
505 , 运行所述测试脚本对结算系统进行数据配置; 505. Run the test script to perform data configuration on the settlement system.
506 , 利用所述配置的数据对所述话单进行处理。 506. Process the CDR by using the configured data.
本实施例中, 结算系统对所述话单进行的处理包括: In this embodiment, the processing performed by the settlement system on the bill includes:
对输入的话单进行格式转换; Format conversion of the input bills;
对转换后的话单进行要素求解和批价, 生成话费详单; Solving and rating the elements of the converted bills, generating a detailed bill;
对所述话费详单进行累帐和结算, 获得报表。 The account details are billed and settled to obtain a report.
507 , 将所述处理结果与预期结果进行比较得出测试结果。 果, 若报表相同则判断系统处理过程为正常, 若报表不同或处理得出的报表出 现明显错误, 判断系统处理的过程异常, 需要进行调试和修改。 507. Compare the processing result with an expected result to obtain a test result. If the report is the same, it is judged that the system processing is normal. If the report is different or the report is obviously wrong, the process of the system is judged to be abnormal, and debugging and modification are required.
实施例六,是基于本发明实施例一测试脚本生成方法的测试脚本的生成装 置, 如图 6所示。 包括: 话单类型识别单元 610、 模板查找单元 620、 配置数 据查找单元 630和测试脚本生成单元 640。 The sixth embodiment is a device for generating a test script based on the test script generation method according to the embodiment of the present invention, as shown in FIG. 6. The method includes: a bill type identification unit 610, a template search unit 620, a configuration data search unit 630, and a test script generation unit 640.
话单类型识别单元 610 , 用于识别话单类型; a bill type identification unit 610, configured to identify a bill type;
模板查找单元 620 , 用于查找获得所述话单类型识别单元 610识别的话单 类型对应的测试脚本模板; 配置数据查找单元 630, 用于查找获得所述话单内容对应的配置数据; 测试脚本生成单元 640, 用于将所述配置数据查找单元 630查找到的配置 数据填充所述模板查找单元 620 查找到的测试脚本模板生成所述话单的测试 脚本。 The template search unit 620 is configured to search for a test script template corresponding to the CDR type recognized by the CDR type identification unit 610; The configuration data search unit 630 is configured to search for the configuration data corresponding to the content of the bill; the test script generating unit 640 is configured to fill the configuration data found by the configuration data searching unit 630 with the template search unit 620 to find The test script template generates a test script for the CDR.
实施例七,是基于本发明实施例三或实施例四数据配置方法的数据配置系 统, 如图 7所示。 包括测试脚本生成装置 710和数据配置装置 720; The seventh embodiment is a data configuration system based on the data configuration method of the third embodiment or the fourth embodiment of the present invention, as shown in FIG. 7. A test script generating device 710 and a data configuration device 720 are included;
所述测试脚本生成装置 710 , 用于识别话单类型; 查找获得所述话单类型 对应的测试脚本模板和所述话单内容对应的配置数据;并将所述配置数据填充 所述测试脚本模板生成所述话单的测试脚本。测试脚本生成装置 710的结构可 参照图 6所示。 The test script generating device 710 is configured to identify a CDR type; obtain a test script template corresponding to the CDR type and configuration data corresponding to the CDR content; and fill the configuration data with the test script template Generate a test script for the CDR. The structure of the test script generating device 710 can be referred to as shown in FIG. 6.
所述数据配置装置 720, 用于运行所述测试脚本生成装置 710生成的测试 脚本对结算系统进行数据配置。 The data configuration device 720 is configured to run a test script generated by the test script generating device 710 to perform data configuration on the settlement system.
实施例八, 是基于本发明实施例五验收测试方法的验收测试系统, 如图 8 所示。 包括测试脚本生成装置 710、 数据配置装置 720、 待测系统 830和测试 结果生成装置 840; Embodiment 8 is an acceptance test system based on the fifth acceptance test method of the embodiment of the present invention, as shown in FIG. The test script generating device 710, the data configuration device 720, the system under test 830, and the test result generating device 840 are included;
所述测试脚本生成装置 710 , 用于识别话单类型; 查找获得所述话单类型 对应的测试脚本模板和所述话单内容对应的配置数据;并将所述配置数据填充 所述测试脚本模板生成所述话单的测试脚本。 The test script generating device 710 is configured to identify a CDR type; obtain a test script template corresponding to the CDR type and configuration data corresponding to the CDR content; and fill the configuration data with the test script template Generate a test script for the CDR.
所述数据配置装置 720, 用于运行所述测试脚本生成装置 710生成的测试 脚本对结算系统进行数据配置。 The data configuration device 720 is configured to run a test script generated by the test script generating device 710 to perform data configuration on the settlement system.
所述待测系统 830 ,用于接收所述数据配置装置 720的指示进行数据配置; 并利用所述配置的数据对所述话单进行处理, 该处理包括: The system to be tested 830 is configured to receive an indication of the data configuration device 720 for data configuration, and process the CDR by using the configured data, where the processing includes:
对输入的话单进行格式转换; Format conversion of the input bills;
对转换后的话单进行要素求解和批价, 生成话费详单; Solving and rating the elements of the converted bills, generating a detailed bill;
对所述话费详单进行累帐和结算, 获得报表。 The account details are billed and settled to obtain a report.
所述测试结果生成装置 840 , 用于将所述待测系统 830的处理结果与预期 结果进行比较得出测试结果。 The test result generating means 840 is configured to compare the processing result of the system under test 830 with an expected result to obtain a test result.
实施例九, 是基于本发明实施例五系统测试方法的测试装置, 包括测试脚 本生成单元 910、 数据配置单元 920、 待测系统 930和测试结果生成单元 940; 所述测试脚本生成单元 910 , 用于识别话单类型; 查找获得所述话单类型 对应的测试脚本模板和所述话单内容对应的配置数据;并将所述配置数据填充 所述测试脚本模板生成所述话单的测试脚本。测试脚本生成单元 910的结构可 参照图 6所示。 The ninth embodiment is a test device based on the fifth system test method of the embodiment of the present invention, including a test script generating unit 910, a data configuration unit 920, a system under test 930, and a test result generating unit 940; The test script generating unit 910 is configured to identify a CDR type; and obtain a test script template corresponding to the CDR type and configuration data corresponding to the CDR content; and fill the configuration data with the test script template. Generate a test script for the CDR. The structure of the test script generating unit 910 can be referred to FIG.
所述数据配置单元 920 , 用于运行所述测试脚本生成单元 910生成的测试 脚本对结算系统进行数据配置。 The data configuration unit 920 is configured to run a test script generated by the test script generating unit 910 to perform data configuration on the settlement system.
所述待测系统 930 ,用于接收所述数据配置单元 920的指示进行数据配置; 并利用所述配置的数据对所述话单进行处理, 该处理包括: The system to be tested 930 is configured to receive an indication of the data configuration unit 920 for data configuration, and process the CDR by using the configured data, where the processing includes:
对输入的话单进行格式转换; Format conversion of the input bills;
对转换后的话单进行要素求解和批价, 生成话费详单; Solving and rating the elements of the converted bills, generating a detailed bill;
对所述话费详单进行累帐和结算, 获得报表。 The account details are billed and settled to obtain a report.
所述测试结果生成单元 940 , 用于将所述待测系统 930的处理结果与预期 结果进行比较得出测试结果。 The test result generating unit 940 is configured to compare the processing result of the system to be tested 930 with an expected result to obtain a test result.
本发明还提供了一种验收测试系统, 该系统包括: 测试脚本生成装置、 数 据配置装置、 测试结果生成装置。 其中, 测试脚本生成装置和数据配置装置分 别与上述实施例七中的测试脚本生成装置 710和数据配置装置 720相同。本实 施例的系统与实施例八的系统区别在于,在本实施例中, 由所述测试结果生成 装置利用所述配置的数据对所述话单进行处理,并将处理结果与预期结果进行 比较, 获得测试结果。 The present invention also provides an acceptance test system, the system comprising: a test script generation device, a data configuration device, and a test result generation device. The test script generating device and the data configuring device are the same as the test script generating device 710 and the data configuring device 720 in the seventh embodiment described above. The system of the embodiment differs from the system of the eighth embodiment in that, in the embodiment, the test result generating device processes the bill by using the configured data, and compares the processing result with the expected result. , get the test results.
本发明实施例,通过识别话单类型; 查找获得所述话单类型对应的测试脚 本模板; 查找获得所述话单内容对应的配置数据; 将所述配置数据填充所述测 试脚本模板生成所述话单的测试脚本, 实现了测试脚本的自动化生成。相对于 现有技术, 测试人员手工编写脚本, 大大降低了工作量, 提高了验收测试的效 率, 加快了验收测试过程的整体进度。 In the embodiment of the present invention, the test script template corresponding to the CDR type is obtained by searching for the CDR type; the configuration data corresponding to the CDR content is obtained; and the configuration data is filled in the test script template to generate the The test script of the bill realizes the automatic generation of test scripts. Compared with the prior art, the testers manually write scripts, which greatly reduces the workload, improves the efficiency of the acceptance test, and speeds up the overall progress of the acceptance test process.
进一步, 本发明实施例根据话单格式和话单内容进一步将话单进行分类, 并且根据话单类型对应的该类型话单关键字段内容查找配置数据; 分类越细 致, 需要预置更多类型的测试脚本模板, 但是因为分类的细化, 相同分类的话 单中, 不同的字段内容也就越少, 则可以在测试脚本模板中预置固定更多的配 置数据。 在查找配置数据时, 关键字段及其对应的内容也就越少; 这样也就减 少了与维护数据库的交互,加快了查找配置数据和填充模板的速度。 因此在进 行话单类型分类及测试脚本模板的配置中,可以根据实际的情况选择合适数量 的类别对话单进行分类和配置分类类型对应的测试脚本模板。 Further, the embodiment of the present invention further classifies the bill according to the bill format and the bill content, and searches for the configuration data according to the content of the bill type key segment corresponding to the bill type; the more detailed the classification, the more types need to be preset. Test script template, but because of the refinement of the classification, the fewer the different fields in the same classified bill, the more fixed configuration data can be preset in the test script template. When looking up configuration data, there are fewer key fields and their corresponding content; Less interaction with maintaining the database speeds up the process of finding configuration data and populating templates. Therefore, in the configuration of the CDR type classification and the test script template, an appropriate number of category dialogs can be selected according to the actual situation to classify and configure the test script template corresponding to the classification type.
可见, 本发明实施例为用户, 尤其是对电信运营商, 提供了一种自动完成 验收测试的方法, 提高了验收测试的效率, 加快了验收测试过程的整体进度。 It can be seen that the embodiment of the present invention provides a method for the user to complete the acceptance test automatically, especially for the telecommunication operator, which improves the efficiency of the acceptance test and accelerates the overall progress of the acceptance test process.
以上对本发明所提供的测试脚本的生成方法及装置和测试方法及装置及 了阐述, 以上实施例的说明只是用于帮助理解本发明的方法及其主要思想; 同 时, 对于本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用 范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The foregoing description of the method, apparatus, and test method and apparatus for generating a test script provided by the present invention are provided for the purpose of facilitating understanding of the method of the present invention and its main idea; and, for a person skilled in the art, The present invention is not limited by the scope of the present invention.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200710002918.X | 2007-01-26 | ||
| CN200710002918A CN100583920C (en) | 2007-01-26 | 2007-01-26 | Test script generation method and device and test method and device and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2008092345A1 true WO2008092345A1 (en) | 2008-08-07 |
Family
ID=38701340
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2007/070692 Ceased WO2008092345A1 (en) | 2007-01-26 | 2007-09-14 | A method and apparatus for generating test script, a method, apparatus and system for checking test |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN100583920C (en) |
| WO (1) | WO2008092345A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2369822A4 (en) * | 2008-10-27 | 2012-03-28 | Huawei Tech Co Ltd | Testing method and testing device of monthly payment charge |
| CN102446090A (en) * | 2010-10-09 | 2012-05-09 | 金蝶软件(中国)有限公司 | Automatic generation method and device of test script |
| US8799720B2 (en) | 2012-02-28 | 2014-08-05 | International Business Machines Corporation | Semi-automatic conversion and execution of functional manual tests |
| CN110569199A (en) * | 2019-09-20 | 2019-12-13 | 中国银行股份有限公司 | Automatic bill testing method and device |
Families Citing this family (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103186376B (en) * | 2011-12-30 | 2018-06-05 | 百度在线网络技术(北京)有限公司 | A kind of method, apparatus and equipment for being used to establish or update software development environment |
| CN103365767A (en) * | 2012-03-29 | 2013-10-23 | 天津书生软件技术有限公司 | File testing system and file testing device |
| CN103577168A (en) * | 2012-07-27 | 2014-02-12 | 鸿富锦精密工业(深圳)有限公司 | Test case creation system and method |
| CN103678372B (en) * | 2012-09-14 | 2019-05-07 | 北京百度网讯科技有限公司 | A method and device for obtaining application performance of a page |
| CN103268226B (en) * | 2013-05-17 | 2016-07-06 | 瑞斯康达科技发展股份有限公司 | A kind of test script file generates method and device |
| CN104731521B (en) * | 2013-12-23 | 2018-02-16 | 伊姆西公司 | Method and apparatus for configuration data center |
| CN107045539A (en) * | 2017-02-10 | 2017-08-15 | 北京浩瀚深度信息技术股份有限公司 | A kind of ticket analysis method and device based on BS structures |
| CN107800889B (en) * | 2017-02-17 | 2019-11-05 | 平安科技(深圳)有限公司 | Call logic test method and device |
| CN108874649B (en) * | 2017-05-08 | 2021-08-17 | 中兴通讯股份有限公司 | Method, device and computer equipment for generating automated test script |
| CN109871309B (en) * | 2017-12-04 | 2020-12-04 | 中国移动通信集团公司 | Method and system for generating test case for billing system |
| CN111181790B (en) * | 2019-12-31 | 2022-11-01 | 京信网络系统股份有限公司 | Method, device, equipment and storage medium for quickly generating automatic test script |
| CN111193833B (en) * | 2020-01-02 | 2021-06-08 | 中国银行股份有限公司 | Telephone traffic report system testing method, device, server and storage medium |
| CN111240983A (en) * | 2020-01-14 | 2020-06-05 | 北京思特奇信息技术股份有限公司 | Method and device for realizing automatic test of telecommunication charging service |
| CN112433699A (en) * | 2020-11-05 | 2021-03-02 | 北京中电华大电子设计有限责任公司 | Script engine for SE personalization |
| CN112699025A (en) * | 2020-12-24 | 2021-04-23 | 公安部物证鉴定中心 | Android mobile phone basic data test sample random generation method |
| CN113434588B (en) * | 2021-01-30 | 2024-04-02 | 河南信安通信技术股份有限公司 | Data mining analysis method and device based on mobile communication ticket |
| CN113572833B (en) * | 2021-07-21 | 2024-05-14 | 北京百度网讯科技有限公司 | A cloud phone maintenance method, device, electronic device and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004095182A2 (en) * | 2003-04-16 | 2004-11-04 | Zios Corporation | Method and system for providing a customized network |
| CN1635497A (en) * | 2003-12-30 | 2005-07-06 | 英业达股份有限公司 | System and method for automatically generating test scripts based on hardware level |
| CN1761277A (en) * | 2004-10-11 | 2006-04-19 | 中兴通讯股份有限公司 | Device for dynamic analyzing call ticket and dynamic analyzing method |
-
2007
- 2007-01-26 CN CN200710002918A patent/CN100583920C/en not_active Expired - Fee Related
- 2007-09-14 WO PCT/CN2007/070692 patent/WO2008092345A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004095182A2 (en) * | 2003-04-16 | 2004-11-04 | Zios Corporation | Method and system for providing a customized network |
| CN1635497A (en) * | 2003-12-30 | 2005-07-06 | 英业达股份有限公司 | System and method for automatically generating test scripts based on hardware level |
| CN1761277A (en) * | 2004-10-11 | 2006-04-19 | 中兴通讯股份有限公司 | Device for dynamic analyzing call ticket and dynamic analyzing method |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2369822A4 (en) * | 2008-10-27 | 2012-03-28 | Huawei Tech Co Ltd | Testing method and testing device of monthly payment charge |
| CN102446090A (en) * | 2010-10-09 | 2012-05-09 | 金蝶软件(中国)有限公司 | Automatic generation method and device of test script |
| CN102446090B (en) * | 2010-10-09 | 2014-01-29 | 金蝶软件(中国)有限公司 | Method and device for automatically generating test script |
| US8799720B2 (en) | 2012-02-28 | 2014-08-05 | International Business Machines Corporation | Semi-automatic conversion and execution of functional manual tests |
| US8984348B2 (en) | 2012-02-28 | 2015-03-17 | International Business Machines Corporation | Semi-automatic conversion and execution of functional manual tests |
| CN110569199A (en) * | 2019-09-20 | 2019-12-13 | 中国银行股份有限公司 | Automatic bill testing method and device |
| CN110569199B (en) * | 2019-09-20 | 2023-09-22 | 中国银行股份有限公司 | Automatic bill testing method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101014061A (en) | 2007-08-08 |
| CN100583920C (en) | 2010-01-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2008092345A1 (en) | A method and apparatus for generating test script, a method, apparatus and system for checking test | |
| CN107220648B (en) | The character identifying method and server of Claims Resolution document | |
| WO2022095790A1 (en) | Automobile failure diagnosis method and system, and automobile failure diagnostic unit | |
| CN108509344B (en) | Daily cutting batch test method, equipment and readable storage medium | |
| CN108710571B (en) | Method and device for generating automatic test code | |
| CN103019933A (en) | Automatic test case coverage identification method and device | |
| CN109408807A (en) | The automated testing method and test equipment of OCR recognition correct rate | |
| CN114155930B (en) | Report publishing method, device, equipment and storage medium | |
| CN111105150A (en) | Project risk analysis system | |
| CN108733712A (en) | A kind of question answering system evaluation method and device | |
| CN109426611A (en) | A kind of method for testing software and device | |
| CN109005079A (en) | A kind of detection method and device of electric automobile charging pile communication protocol | |
| JP2024098003A (en) | How to search and aggregate battery specifications | |
| CN105868956A (en) | Data processing method and device | |
| CN112559369A (en) | Automatic testing method, automatic testing equipment and storage medium | |
| CN114971693A (en) | Engineering cost consultation management system based on BIM | |
| CN109582286B (en) | Freemarker technology-based data normalization verification method and device | |
| CN114841663A (en) | Verification method, device, equipment and storage medium for installation quality of GPS equipment | |
| CN110647509A (en) | Rapid checking and sharing method and device for passenger collecting data | |
| CN112348454A (en) | An intelligent management and control system and method for electrical equipment handover test | |
| US7801914B2 (en) | System, method and computer-program product for allowing an entity to capture, integrate, and report desired information relating to a specific situation in a given process-related work environment | |
| CN118626321A (en) | Automatic error tracing method, device, storage medium and electronic device | |
| CN109447844A (en) | A kind of management method of electronization test report | |
| CN111143221B (en) | Test method and device | |
| CN117171019A (en) | Test method, test device, electronic equipment and readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07801100 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 07801100 Country of ref document: EP Kind code of ref document: A1 |