CN106569953A - Method for enhancing the transportability and robustness of communication device automated test scripts - Google Patents

Method for enhancing the transportability and robustness of communication device automated test scripts Download PDF

Info

Publication number
CN106569953A
CN106569953A CN201610967858.4A CN201610967858A CN106569953A CN 106569953 A CN106569953 A CN 106569953A CN 201610967858 A CN201610967858 A CN 201610967858A CN 106569953 A CN106569953 A CN 106569953A
Authority
CN
China
Prior art keywords
robustness
test script
automatic test
secondary encapsulation
external testing
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
CN201610967858.4A
Other languages
Chinese (zh)
Inventor
杨君
许琦
郭鹏飞
王立波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Wuhan FiberHome Networks 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 Wuhan FiberHome Networks Co Ltd filed Critical Wuhan FiberHome Networks Co Ltd
Priority to CN201610967858.4A priority Critical patent/CN106569953A/en
Publication of CN106569953A publication Critical patent/CN106569953A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a method for enhancing the transportability and robustness of communication device automated test scripts. The method comprises following steps: determining external test factors which affect the transportability and robustness in an automated test script to be developed one by one; performing localization secondary encapsulation on original functions of each determined external test factor one by one to obtain a secondarily encapsulated function library; calling the secondarily encapsulated function library to compile automated test scripts. By means of the method of the invention, indiscriminate versatility of automated test scripts is achieved so that the transportability and robustness of communication device automated test scripts are greatly increased.

Description

Strengthen portable and robustness the method for communication equipment automatic test script
Technical field
The present invention relates to communication equipment automatic test script, and in particular to one kind strengthens communication equipment automatic test pin The method of this portability and robustness.
Background technology
Automatic test script relates generally to the step of communication equipment is tested logic and for test instrumentation and tested sets Standby operation, because the continuous upgrading of test instrumentation updates, the configuration logical sum for being likely to result in automatic test script is original The relevant portion of function changes, simultaneously because the difference of equipment under test, the configuration module of automatic test script can occur Larger to become big, such change is one and huge chooses for the transplantability and robustness of substantial amounts of automatic test script War, needs automatic test script to have powerful transplantability and robustness.
In view of this, it is badly in need of providing a kind of method of the transplantability and robustness for strengthening automatic test script.
The content of the invention
The technical problem to be solved is the transplantability and robustness for strengthening automatic test script.
In order to solve above-mentioned technical problem, it is automatic that the technical solution adopted in the present invention is to provide a kind of enhancing communication equipment Change portable and robustness the method for test script, comprise the following steps:
The external testing factor for affecting portable and robustness in automatic test script leaved for development is carried out one by one It is determined that;
Secondary encapsulation is localized one by one to the original function of fixed each external testing factor, secondary envelope is obtained Function library after dress;
The function library after secondary encapsulation is called to write automatic test script.
In above-mentioned technical proposal, when the automatic test script runs in different external testing factors, pin Function library of this interpreter after the secondary encapsulation calls corresponding original function.
In above-mentioned technical proposal, when the original function of different external testing factors updates, to the secondary encapsulation Function library afterwards is accordingly updated.
In above-mentioned technical proposal, the external testing factor includes equipment under test and test instrumentation.
The present invention first on may affect automatic test script portable in automatic test script leaved for development and The external testing factor of robustness is determined one by one, and the original function of fixed each external testing factor is carried out one by one Localization secondary encapsulation, obtains the function library after the new secondary encapsulation suitable for automatic test script exploitation, calls secondary Function library after encapsulation writes automatic test script, realizes that automatic test script is outside with equipment under test and test instrumentation etc. The automatic decoupling of the original function of Testing factors, the indifference for realizing automatic test script is general, substantially increases automatically Change the portable and robustness of test script.
Description of the drawings
Fig. 1 is a kind of method flow for strengthening communication equipment automatic test script portability and robustness in the present invention Figure.
Specific embodiment
The present invention is described in detail with reference to specification drawings and specific embodiments.
Embodiments provide a kind of portable and robustness the side of enhancing communication equipment automatic test script Method, as shown in figure 1, comprising the following steps:
S1, before the automatic test script of exploitation communication equipment, first to can in automatic test script leaved for development Automatic test script can be affected portable and robustness external testing factor is determined one by one.
The automatic test script of communication equipment is related to fix logical design, equipment under test and the tester of testing procedure The external testing factor such as table, the logical design of testing procedure is generally constant under test purpose same case, does not affect automation The applicability of test script, and the difference of test equipment or test instrumentation then can be produced to the applicability of automatic test script and determined Qualitatively affect, cause automatic test script general.
S2, the original function to fixed each external testing factor are localized one by one secondary encapsulation, obtain new Suitable for automatic test script exploitation secondary encapsulation after function library.
Automatic test script mainly pass through function to calling for the external testing factor such as equipment under test and test instrumentation Call to realize, therefore can be by localizing secondary encapsulation, by the original function of equipment under test and test instrumentation according to this The systems approach on ground, is reconfigured and is programmed encapsulation, after developing the external sightless secondary encapsulation of a set of original function Function library.
S3, the function library after the secondary encapsulation of external testing factor is called to write automatic test script.
The function library after the secondary encapsulation of external testing factor (test equipment or test instrumentation etc.) is called to write automation Test script, realize the external testing factors such as automatic test script and equipment under test and test instrumentation original function it is automatic Decoupling, when automatic test script runs in different external testing factors, script interpreter is after secondary encapsulation Function library calls corresponding original function, and the indifference for realizing automatic test script is general, substantially increases automation and surveys The portable and robustness of training sheet.
When the original function of different external testing factors updates because of odjective causes such as upgradings, only need to be to secondary encapsulation after Function library carry out corresponding renewal, it is ensured that the real-time effectiveness of the function library after secondary encapsulation, this programme connects in guarantee In the case that mouth function is constant, without the need for being updated to the automatic test script developed, automatic test is substantially increased The portable and robustness of script.
The present invention is not limited to above-mentioned preferred forms, anyone structure change made under the enlightenment of the present invention, It is every with of the invention with same or like technical scheme, each fall within protection scope of the present invention.

Claims (4)

1. it is a kind of to strengthen portable and robustness the method for communication equipment automatic test script, it is characterised in that include with Lower step:
The external testing factor for affecting portable and robustness in automatic test script leaved for development is determined one by one;
Secondary encapsulation is localized one by one to the original function of fixed each external testing factor, after obtaining secondary encapsulation Function library;
The function library after secondary encapsulation is called to write automatic test script.
2. as claimed in claim 1 to strengthen portable and robustness the method for communication equipment automatic test script, it is special Levy and be, when the automatic test script runs in different external testing factors, script interpreter passes through described two Function library after secondary encapsulation calls corresponding original function.
3. as claimed in claim 1 to strengthen portable and robustness the method for communication equipment automatic test script, it is special Levy and be, when the original function of different external testing factors updates, the function library after the secondary encapsulation is carried out accordingly Update.
4. as claimed in claim 1 to strengthen portable and robustness the method for communication equipment automatic test script, it is special Levy and be, the external testing factor includes equipment under test and test instrumentation.
CN201610967858.4A 2016-11-03 2016-11-03 Method for enhancing the transportability and robustness of communication device automated test scripts Pending CN106569953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610967858.4A CN106569953A (en) 2016-11-03 2016-11-03 Method for enhancing the transportability and robustness of communication device automated test scripts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610967858.4A CN106569953A (en) 2016-11-03 2016-11-03 Method for enhancing the transportability and robustness of communication device automated test scripts

Publications (1)

Publication Number Publication Date
CN106569953A true CN106569953A (en) 2017-04-19

Family

ID=58539736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610967858.4A Pending CN106569953A (en) 2016-11-03 2016-11-03 Method for enhancing the transportability and robustness of communication device automated test scripts

Country Status (1)

Country Link
CN (1) CN106569953A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427636A (en) * 2018-01-09 2018-08-21 阿里巴巴集团控股有限公司 Test method, system and the electronic equipment of application
CN115082058A (en) * 2022-07-25 2022-09-20 上海富友支付服务股份有限公司 Virtual account transaction management method and system based on dynamic control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1877543A (en) * 2005-06-06 2006-12-13 华为技术有限公司 Data-driven automatic testing system and method
CN101141319A (en) * 2007-05-23 2008-03-12 中兴通讯股份有限公司 Function operation packaging based automatization test script implementing method and apparatus
CN102023861A (en) * 2010-12-08 2011-04-20 中兴通讯股份有限公司 Method and system for generating test script and test suite
KR101335912B1 (en) * 2012-12-05 2013-12-02 (주)아이지오 The system and method for integrated management of test

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1877543A (en) * 2005-06-06 2006-12-13 华为技术有限公司 Data-driven automatic testing system and method
CN101141319A (en) * 2007-05-23 2008-03-12 中兴通讯股份有限公司 Function operation packaging based automatization test script implementing method and apparatus
CN102023861A (en) * 2010-12-08 2011-04-20 中兴通讯股份有限公司 Method and system for generating test script and test suite
KR101335912B1 (en) * 2012-12-05 2013-12-02 (주)아이지오 The system and method for integrated management of test

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427636A (en) * 2018-01-09 2018-08-21 阿里巴巴集团控股有限公司 Test method, system and the electronic equipment of application
CN115082058A (en) * 2022-07-25 2022-09-20 上海富友支付服务股份有限公司 Virtual account transaction management method and system based on dynamic control
CN115082058B (en) * 2022-07-25 2022-11-18 上海富友支付服务股份有限公司 Virtual account transaction management method and system based on dynamic control

Similar Documents

Publication Publication Date Title
US10254336B2 (en) Iterative N-detect based logic diagnostic technique
CN106446691A (en) Method and device for detecting integrated or customized open source project bugs in software
US10354031B2 (en) Information processing by interpenetrating signal transmission channel in design for testability of chip
CN106294179A (en) Analog detection method in process of application development and server
CN106326120B (en) Regression testing method and device for application software and electronic equipment
CN109885480A (en) A kind of automatic interface compatibility test method and device based on debugging bridge
KR20080068385A (en) Program test system, method and computer readable medium on which program for executing the method is recorded
CN104504337A (en) Method for detecting malicious application disclosing Android data
CN103412817B (en) Automatic test script Off Line Debugging Method and system
CN107451060A (en) A kind of across mobile terminal automated test frame system
CN106021101A (en) Method and device for testing mobile terminal
CN107656872A (en) Method for testing software, device, equipment and computer-readable storage medium
CN102707712B (en) Electronic equipment fault diagnosis method and system
CN106325902A (en) Database software upgrading detection method and apparatus
CN111080633A (en) Screen defect detection method and device, terminal equipment and storage medium
CN105630665B (en) A kind of application program adjustment method based on android system and terminal device
CN106569953A (en) Method for enhancing the transportability and robustness of communication device automated test scripts
CN104699617A (en) Automated testing method for games
CN106528429A (en) UI testing method and device
CN106649094A (en) Test method based on EventViewer development process
CN117424840A (en) Software radio platform standard compliance coverage test method
CN105760300A (en) Automatic STK/UTK service testing method and system
CN104714884A (en) Method for checking consistency of web application and Android application
CN106557414A (en) Application testing system and method
CN105512372B (en) The data processing onboard emulation test method of modelling

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190114

Address after: 430074 No. 6, High-tech Fourth Road, Donghu High-tech Development Zone, Wuhan City, Hubei Province

Applicant after: Fenghuo Communication Science &. Technology Co., Ltd.

Address before: 430074 No. 67 Guanggu Pioneer Street, Wuhan City, Hubei Province

Applicant before: Wuhan Fenghuo Network Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170419