CN108108297A - The method and apparatus of automatic test - Google Patents

The method and apparatus of automatic test Download PDF

Info

Publication number
CN108108297A
CN108108297A CN201611054093.1A CN201611054093A CN108108297A CN 108108297 A CN108108297 A CN 108108297A CN 201611054093 A CN201611054093 A CN 201611054093A CN 108108297 A CN108108297 A CN 108108297A
Authority
CN
China
Prior art keywords
test
scene
environment
parameter
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.)
Granted
Application number
CN201611054093.1A
Other languages
Chinese (zh)
Other versions
CN108108297B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611054093.1A priority Critical patent/CN108108297B/en
Publication of CN108108297A publication Critical patent/CN108108297A/en
Application granted granted Critical
Publication of CN108108297B publication Critical patent/CN108108297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a kind of method and apparatus of automatic test, including:Test request is received, the test request includes test assignment information, and the test assignment information includes test environment configuration information and test scene configuration information;Expandable mark language XML environment profile is obtained, the XML environment configuration file acquisition and the matched environment configurations parameter of the test environment configuration information is parsed, corresponding test environment is established according to the environment configurations parameter;XML scene configuration files are obtained, parse the XML scene configurations file acquisition and the matched scene configuration parameter of the test scene configuration information, corresponding test scene is triggered according to the scene configuration parameter call scenario triggered interface;Test configurations resource data is obtained, is tested according to the test configurations resource data in the test environment and test scene, improves the structure efficiency of test environment, and can quickly and easily build test scene.

Description

The method and apparatus of automatic test
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and apparatus of automatic test.
Background technology
With the development of computer technology, substantial amounts of client application issue, test detection is carried out before issue should Function is fixed a breakdown.Operation configuration testing refers to need to obtain the test that resource distribution could carry out, as computer house keeper should This test scene is repaired with displaying loophole after the completion of lightning antivirus, it is necessary to obtain the scene name of lightning antivirus completion, loophole is repaiied Multiple icon, editor's word etc., to show that corresponding loophole repairs icon, word after the completion of lightning antivirus.
Traditional test method constructs the test scene of client by test script, is needed not with the update of application Disconnected maintenance test script, test script write complexity height, and the structure of test scene is difficult, and maintenance cost is high.And operation configuration Test generally requires different test environments, and traditional test constructs test environment using virtual machine, due to recovering virtual machine, copying The operations such as Buddhist script written on pattra leaves part take longer, seriously affect the operation configuration testing more demanding to timeliness.
The content of the invention
Based on this, it is necessary to for above-mentioned technical problem, provide a kind of method and apparatus of automatic test, improve test The structure efficiency of environment, and can quickly and easily build test scene.
A kind of method of automatic test, the described method includes:
Test request is received, the test request includes test assignment information, and the test assignment information includes test wrapper Border configuration information and test scene configuration information;
Expandable mark language XML environment profile is obtained, the XML environment configuration file is parsed and obtains and the survey The matched environment configurations parameter of environment configuration information is tried, corresponding test environment is established according to the environment configurations parameter;
XML scene configuration files are obtained, parse the XML scene configurations file acquisition and the test scene configuration information Matched scene configuration parameter triggers corresponding test scene according to the scene configuration parameter call scenario triggered interface;
Test configurations resource data is obtained, according to the test configurations resource data in the test environment and test scene In tested.
A kind of device of automatic test, described device include:
Test request receiving module, for receiving test request, the test request includes test assignment information, the survey Trial business information includes test environment configuration information and test scene configuration information;
Test environment establishes module, for obtaining expandable mark language XML environment profile, parses the XML rings Border configuration file obtains and the matched environment configurations parameter of the test environment configuration information, is built according to the environment configurations parameter Found corresponding test environment;
Test scene trigger module for obtaining XML scene configuration files, parses the XML scene configurations file acquisition With the matched scene configuration parameter of the test scene configuration information, according to the scene configuration parameter call scenario triggered interface Trigger corresponding test scene;
Test module, for obtaining test configurations resource data, according to the test configurations resource data in the test It is tested in environment and test scene.
The method and apparatus of above-mentioned automatic test, by receiving test request, test request includes test assignment information, Test assignment information includes test environment configuration information and test scene configuration information, obtains expandable mark language XML environment Configuration file, parsing XML environment configuration file obtains and the matched environment configurations parameter of test environment configuration information, according to environment Configuration parameter establishes corresponding test environment, obtains XML scene configuration files, parse the XML scene configurations file acquisition with The matched scene configuration parameter of test scene configuration information, according to the triggering pair of scene configuration parameter call scenario triggered interface The test scene answered obtains test configurations resource data, according to test configurations resource data in test environment and test scene It is tested, the foundation of test environment is carried out by XML environment configuration file, when avoiding using virtual machine reduction test environment The problem of longer is taken due to recovering the operations such as virtual machine, copied files, substantially increases the efficiency of test environment foundation, together When, by XML scene configuration file acquisition scene configuration parameters, scenario triggered interface triggering test scene is called, it need not be every A test scene all writes corresponding test script, it is necessary to which generating different test scenes only needs to transfer different scene configurations Parameter, it is simple and convenient, so as to reduce the maintenance cost of test script, it can quickly and easily build test scene.
Description of the drawings
Fig. 1 is the applied environment figure of the method for automatic test in one embodiment;
Fig. 2 is the cut-away view of terminal in Fig. 1 in one embodiment;
Fig. 3 is the flow chart of the method for automatic test in one embodiment;
Fig. 4 is the flow chart that test environment is established in one embodiment;
Fig. 5 is the flow chart that scene configuration parameter is obtained in one embodiment;
Fig. 6 is the flow chart that test scene is triggered in one embodiment;
Fig. 7 is the flow chart that test configurations resource is obtained in one embodiment;
Fig. 8 is automatic test detailed process schematic diagram in a specific embodiment;
Fig. 9 is that the schematic diagram that target detection configures resource is obtained in a specific embodiment;
Figure 10 is the structure diagram of the device of automatic test in one embodiment;
Figure 11 is the structure diagram of the device of automatic test in another embodiment;
Figure 12 is the structure diagram that test environment establishes module in one embodiment;
Figure 13 is the structure diagram of test scene trigger module in one embodiment;
Figure 14 is the structure diagram of test module in one embodiment;
Figure 15 is the structure diagram of the device of automatic test in another embodiment.
Specific embodiment
Fig. 1 is the applied environment figure of the method operation of automatic test in one embodiment.As shown in Figure 1, this applies ring Border includes terminal 110 and server 120, and wherein terminal 110, server 120 is communicated by network.
Terminal 110 can be smart mobile phone, tablet computer, laptop, desktop computer etc., but be not limited thereto. Server 120 is used to send test request to terminal 110, and terminal 110 is according to the configuration information foundation pair carried in test request The test environment and the corresponding test scene of triggering answered, and test configurations resource data is obtained from server 120, matched somebody with somebody according to test Resource data is put to be tested in test environment and test scene.
In one embodiment, the internal structure of the terminal 110 in Fig. 1 is as shown in Fig. 2, the terminal 110 is including passing through Processor, graphics processing unit, storage medium, memory, network interface, display screen and the input equipment of bus of uniting connection.Its In, the storage medium of terminal 110 is stored with operating system, further includes the device of automatic test, which is used to implement one kind Suitable for the method for the automatic test of terminal.The processor supports entire terminal 110 for providing calculating and control ability Operation.Graphics processing unit in terminal 110 is used to provide at the drawing ability of display interface, inside saves as in storage medium The operation of the device of automatic test provides environment, and network interface is used to carry out network communication with server 120, such as receives service Test request and test resource configuration data that device 120 is sent etc..Display screen is for showing application interface etc., such as display triggering Test scene interface, input equipment is for receiving order or data input by user etc..For the terminal 110 with touch-screen, Display screen and input equipment can be touch-screen.
In one embodiment, as shown in figure 3, a kind of method of automatic test is provided, to be applied to above application Terminal in environment is come for example, comprising the following steps:
Step S210 receives test request, and test request includes test assignment information, and test assignment information includes test wrapper Border configuration information and test scene configuration information.
Specifically, when being tested, server sends test request to test terminal, and test request includes surveying Mission bit stream is tried, test assignment information includes test assignment and identifies to distinguish matching somebody with somebody for multiple test assignments and test assignment Confidence breath etc..Test environment configuration information is used for configuration testing environment, and test scene configuration information is used for configuration testing scene, Middle test environment refer to computer hardware necessary to completing test assignment, software, the network equipment, historical data it is total Claim.Test scene refers to the state that test product necessary to completing test assignment is presently in, and such as common test scene has Idle scene etc..Test environment configuration information may include test environment attribute keyword and key assignments, and wherein test environment attribute closes Key word can be test environment name keys, test environment identification key etc., and the corresponding key assignments of different keywords can be not Same character types, if test environment name keys correspond to Chinese character type, test environment identification key corresponds to numeric type. Test scene configuration information may include test scene attribute keyword and key assignments, and wherein test scene attribute keyword can be test Scene name keys, test scene identification key etc., the corresponding key assignments of different keywords can be different character types, If test scene name keys correspond to Chinese character type, test scene identification key corresponds to numeric type.Which kind of is specifically used The keyword of type come identify target detection environment and target detection scene can be self-defined as needed.
Different test assignments has corresponded to different test environment configuration informations and test scene configuration information.Server exists Before sending test request, obtain test environment configuration information and test scene configuration information, according to test environment configuration information and Test scene configuration information generates test assignment information.Test environment configuration information and test scene configuration information can be by runing people Member is carrying out configuration generation from the background.
Step S220, obtains expandable mark language XML environment profile, parsing XML environment configuration file obtain with The matched environment configurations parameter of test environment configuration information, corresponding test environment is established according to environment configurations parameter.
It is used to mark text specifically, XML (Extensible Markup Language, extensible markup language) is one kind Part makes it have structural markup language, and XML environment configuration file carries environment configurations data by XML language, it may include The corresponding environment configurations parameter of a variety of different test environments, and each different survey is distinguished by certain structure and label Test ring border is with matched environment configurations parameter in the position of XML environment configuration file.Since the label of XML is not predefined, It can self-defining label as needed so that the more flexible convenience of generation of XML environment configuration file.During test, it is only necessary to parse XML environment configuration file searches target environment configuration parameter matched with test environment configuration information to establish corresponding test Environment.When parsing XML environment configuration file, the corresponding configuration ginseng of each test environment can be obtained by searching for test environment label Several boundary positions, then lookup is corresponding with test environment configuration information in the corresponding environment configurations parameter of each test environment Target detection environment attribute keyword the test environment attribute keyword and key assignments consistent with target key value, so that it is determined that target is surveyed The corresponding target environment configuration parameter in test ring border.Also the type of test environment attribute keyword can be arranged to fixed type, only It needs to search target key value position in XML environment configuration file, so that it may obtain corresponding target environment configuration parameter.
XML environment configuration file can be obtained from Version SVN in real time, ensure that XML environment configuration file is newest Configuration file, and can be used directly.XML environment configuration file can also be obtained from terminal, the XML environment configuration obtained from terminal File is often encrypted, it is necessary to first be decrypted to obtain initial data.Environment configurations parameter has different types, such as file Type and registration phenotype can carry out different operations so as to establish different test environments according to the concrete type of environmental parameter.It is logical The foundation that XML environment configuration file carries out test environment is crossed, is avoided when reducing test environment using virtual machine due to recovering empty The operations such as plan machine, copied files take the problem of longer, substantially increase the efficiency of test environment foundation.
Step S230, obtains XML scene configuration files, and parsing XML scene configurations file acquisition matches somebody with somebody confidence with test scene Matched scene configuration parameter is ceased, corresponding test scene is triggered according to scene configuration parameter call scenario triggered interface.
Specifically, XML scene configuration files carry scene configuration data by XML language, it may include a variety of different surveys The corresponding scene configuration parameter of examination hall scape, and each different test scene and matching are distinguished by certain structure and label Scene configuration parameter in the position of XML environment configuration file.It, can as needed certainly since the label of XML is not predefined Row defines label so that the more flexible convenience of generation of XML scene configuration files.During test, it is only necessary to parse XML scene configurations text Part searches target scene configuration parameter matched with test scene configuration information, so as to which target scene configures parameter call scene It triggers interface and triggers corresponding test scene.When parsing XML scene configuration files, it can be obtained often by searching for test scene label The boundary position of the corresponding configuration parameter of a test scene, then search in the corresponding scene configuration parameter of each test scene with The corresponding target detection scene properties keyword of the test scene configuration information test scene attribute consistent with target key value is crucial Word and key assignments, so that it is determined that the corresponding target scene configuration parameter of target scene environment.XML scene configurations file can be in real time from version This management tool SVN is obtained, and is ensured that XML scene configuration files are newest configuration files, and be can be used directly.XML scenes are matched somebody with somebody Putting file can also obtain from terminal, and the XML scene configuration files obtained from terminal are often encrypted, it is necessary to first be decrypted To initial data.
Scenario triggered interface is available to outside to call corresponding to the event of the various formation test scenes of enclosed inside Method.Scenario triggered interface successively triggers different events, so as to call different things according to the difference of scene configuration parameter The corresponding method of part completes the generation of each mid-scene, ultimately generates target detection scene.It, will be each by the form of interface The corresponding method of event is packaged, and each test scene is not required to write corresponding test script, it is necessary to generate different Test scene only needs to transfer different scene configuration parameters, simple and convenient, so as to reduce the maintenance cost of test script.And Target detection scene can be disposably reached, there are during multiple intermediate test scenes, automatic continuous generation is avoided using control Scene is triggered during the mode that part is clicked on and relies on client control, if client correcting can cause script to rewrite, and stability is not The problem of high.
Step S240 obtains test configurations resource data, according to test configurations resource data in test environment and checkout area It is tested in scape.
Specifically, test configurations resource data for provide test need resource, including icon, word, control data, Video data etc..Different test scenes corresponds to different test configurations resource datas.Test configurations money can be sent to server Source data obtains request, so as to obtain corresponding test configurations resource data from server.Test scene can be established with test to match somebody with somebody The incidence relation of resource data is put, so as to obtain and the matched test configurations resource data of test scene.Test environment and test Scene is successfully established, and during the resource data success of acquisition test configurations, can be completed corresponding test assignment and be obtained currently test knot Fruit.
In one embodiment, test assignment information further includes expected test result information, after step S240, also wraps It includes:Current test result is obtained, test report is generated according to current test result and expected test result information.
Specifically, carrying expected test result information in test assignment information, it is a pair of one can be identified with test assignment Should, so as to obtain the corresponding expected test result information of current test assignment when obtaining current test result.Expected test knot Fruit information corresponds to different types of information according to the difference of current test assignment, such as whether pop-up window, if there is default text Part, if displaying preset control, target information summary md5 (Message Digest Algorithm 5) value of file etc..From After extraction obtains expected test result information in test assignment information, expected test result information and test environment can be matched somebody with somebody confidence Breath and test scene configuration information are stored in respectively in the different forms of terminal database, and establish the association between these forms Relation.
By expected test result and current test result comparative analysis, obtain test report, if current test result with Expected test result is inconsistent, can analyzing failure cause.The test report of preset format can be generated, such as HTML test report, and It is sent to operation configuration server or corresponding user is sent to by mail, instant messaging tools.
In the present embodiment, by receiving test request, test request includes test assignment information, and test assignment information includes Test environment configuration information and test scene configuration information obtain expandable mark language XML environment profile, parse XML Environment profile obtains and the matched environment configurations parameter of test environment configuration information, is established and corresponded to according to environment configurations parameter Test environment, obtain XML scene configuration files, parse the XML scene configurations file acquisition and the test scene and configure The scene configuration parameter of information matches triggers corresponding test scene according to scene configuration parameter call scenario triggered interface, obtains Test configurations resource data is taken, is tested according to test configurations resource data in test environment and test scene, passes through XML Environment profile carry out test environment foundation, avoid using virtual machine reduce test environment when due to recover virtual machine, The operations such as copied files take the problem of longer, substantially increase the efficiency of test environment foundation, meanwhile, matched somebody with somebody by XML scenes File acquisition scene configuration parameter is put, scenario triggered interface triggering test scene is called, each test scene is not required to write Corresponding test script is simple and convenient, it is necessary to generating different test scenes only needs to transfer different scene configuration parameters, from And the maintenance cost of test script is reduced, it can quickly and easily build test scene.
In one embodiment, further included after step S210:Test assignment information is write into database, parses database The test assignment information of middle storage establishes task management queue according to test assignment information, by the corresponding survey of test assignment information Trial business is put into task management queue, and the first test assignment triggered in task management queue performs.
Specifically, can write test assignment information in the form in database, wherein carried in test assignment information Different data can be respectively written into different forms, test environment configuration information such as be write environment configurations form, by test scene Configuration information writes scene configuration form, expected test result information is write check information form, thus subsequently can be from difference The corresponding data of form quick obtaining.When the write-in database success of test assignment information, pull-up task scheduling modules.Task For managing test assignment, task scheduling modules can determine the quantity of test assignment according to test assignment information for management queue, from And the task management queue of matching length is established, test assignment is put into task management queue.Judge currently with the presence or absence of The test assignment of execution if it is present current test assignment is waited to be finished, performs next in task management queue Test assignment.If the stand-by period is more than predetermined threshold value, illustrates that current test assignment execution unsuccessfully runs into failure, can delete and work as Preceding test assignment performs next test assignment in task management queue.All tests can be ensured by task management queue The orderly execution of task.
In one embodiment, as shown in figure 4, step S220 includes:
Step S221 obtains target detection environment attribute keyword and first object key according to test environment configuration information Value.
Specifically, target detection environment attribute keyword such as passes through test wrapper for describing the type of mark test environment Border title, test application title, test application user's name all can one test environments of unique mark.First object key assignments is used for The corresponding particular content of target detection environment attribute keyword is described, as target detection environment attribute keyword is " protocalkey ", first object key assignments are " fitstgame ", and the test environment for representing to need to configure is with protocalkey For keyword, entitled fitstgame.The quantity of target detection environment attribute keyword and first object key assignments can be it is multiple, Each target detection environment attribute keyword has corresponding target key value, so as to determine test environment from various dimensions.As target is surveyed Examination environment attribute keyword further includes " ID ", and " ID " corresponding target key value is " 14 ", represents the test environment needed to configure Entitled fitstgame, and version number is 14.When first game fitstgame application there are during multiple beta versions, can pass through ID distinguishes the test environment that different editions need.
Step S222, will be in target detection environment attribute keyword and first object key assignments and XML environment configuration file Test environment attribute keyword and key assignments are matched, if successful match, first object is obtained from XML environment configuration file The corresponding environment configurations parameter of key assignments.
If specifically, in XML environment configuration file there is also with target detection environment attribute keyword and first object Key assignments identical test environment attribute keyword and key assignments, such as there are protocalkey=fitstgame, then successful match can According to first object key assignments in the position of XML environment configuration file and preset rules, obtain and first object key assignments " fitstgame " corresponding environment configurations parameter.In a specific embodiment, XML environment configuration file as shown is Fragmentary views, test environment attribute keyword " protocalkey " and corresponding is wherein included in XML environment configuration file Key assignments " fitstgame ", target detection environment attribute keyword " protocalkey " and first object key assignments " fitstgame " and " protocalkey=" fitstgame " " successful match in XML environment configuration file, so that it is determined that environment Configuration parameter is expressed as file configuration parameter including checkfile=1, and filename=" firstqame " represents file name, Keypath represents file path, so as to build test environment.
Step S223 if environment configurations parameter includes file configuration parameter, is created according to file configuration parameter and corresponded to File.
Specifically, if environment configurations parameter includes file configuration parameter, the corresponding first via of file configuration parameter is obtained Footpath information and filename according to first path acquisition of information first object position and create corresponding file, according to file configuration Parameter can successively create one or more files.
If environment configurations parameter includes registration table and configures parameter, parameter call is configured according to registration table by step S224 The application programming interface that operating system provides creates corresponding registration table.
Specifically, registration table configuration parameter, which can be registration table, creates address, registration table configuration parameter is transferred to operation system It unites the application programming interface provided, from then creating corresponding registration table.All environment configurations parameters have been circularly set it then Test environment creates successfully.
In the present embodiment, corresponding environment configurations parameter is obtained by test environment attribute keyword and corresponding key assignments, So that the acquisition of environment configurations parameter is more versatile and flexible, meets the needs of different test environments.
In one embodiment, as shown in figure 5, step S230 includes:
Step S231 obtains target detection scene properties keyword and the second object key according to test scene configuration information Value.
Specifically, target detection scene properties keyword such as passes through checkout area for describing the type of mark test scene Scape title, test scene specifically describe, test scene is numbered all can one test environment of unique mark.Second target key value is used for The corresponding particular content of target detection scene properties keyword is described, if target detection scene properties keyword is " adpos ", the Two target key values are " scc_idle ", represent the test scene needed to configure as the scene using scc_idle as keyword, i.e., not busy When scene.The quantity of target detection scene properties keyword and the second target key value can be multiple, each target detection scene category Property keyword have corresponding target key value, so as to determining or explain test scene from various dimensions.As target detection scene properties are closed Key word further includes " name ", and corresponding target key value is " idle scene ", represents the entitled spare time of the test scene needed to configure When scene.
Step S232, will be in target detection scene properties keyword and the second target key value and XML scene configuration files Test scene attribute keyword and key assignments are matched, if successful match, the second target is obtained from XML environment configuration file The corresponding scene configuration parameter of key assignments.
If specifically, in XML environment configuration file there is also with target detection scene properties keyword and the second target Key assignments identical test scene attribute keyword and key assignments, such as there are adpos=" scc_idle ", then successful match can basis For second target key value in the position of XML environment configuration file and preset rules, it is right with the second target key value " idle scene " to obtain The scene configuration parameter answered.In a specific embodiment, the fragmentary views of XML scene configuration files as shown are, Wherein include test scene attribute keyword " name " and corresponding key assignments " idle scene " in XML scene configurations file, survey Try scene properties keyword " adpos " and corresponding key assignments " scc_idle ", target detection scene properties keyword " adpos " and Second target key value " scc_idle " and " adpos=" scc_idle " " successful match in XML environment configuration file, so that it is determined that Scene configuration parameter includes AppId=App_SceneCenter, EventId=3000002, it is determined that builds test scene Application identities and event identifier.
In one embodiment, test scene needs order is by multiple intermediate test scene generations, as shown in fig. 6, step The step of triggering corresponding test scene according to the scene configuration parameter call scenario triggered interface in rapid S230 includes:
Step S233, the corresponding scene configuration parameter of the first intermediate test scene of scenario triggered interface acquisition, which is used as, works as front court Scape configures parameter.
Specifically, test scene needs order is generated by multiple intermediate test scenes, wherein test scene among each There is corresponding scene configuration parameter, according to the time genesis sequence of each intermediate test scene, first obtain among first and survey Scape corresponding scene configuration parameter in examination hall configures parameter as current scene.
Step S234, scenario triggered interface configure parameter according to current scene and trigger in corresponding current event generation currently Between test scene.
Specifically, each current scene configuration parameter has corresponding event, by the triggering to event so as to performing thing The corresponding method of part completes the corresponding current intermediate test scene of operation generation.
Step S235, scenario triggered interface obtain the corresponding scene configuration parameter of next intermediate test scene as current Scene configuration parameter enters step S234, to the last the corresponding scene configuration parameter trigger event of a centre test scene Finish generation target detection scene.
Specifically, test scene generation finishes and obtains the corresponding scene of next intermediate test scene again and match somebody with somebody among first It puts parameter and configures parameter as current scene, continue to generate next intermediate test scene, all intermediate test scenes are all common With a scenario triggered interface, scenario triggered interface internal is encapsulated according to the different corresponding events of scene configuration parameter And event response, so as to only need to transfer different scene configuration parameter to scenario triggered interface, with regard to can be automatically performed it is each in Between test scene generation until generating target detection scene, be not required to it is to be understood that the create-rule of each intermediate test scene and not Continuity with intermediate test scene can just facilitate disposably to generate target detection scene, improve the life of target detection scene Into efficiency.
In one embodiment, test assignment information further includes resource distribution mark, as shown in fig. 7, being obtained in step S240 The step of taking test configurations resource data includes:
Step S241 sends uplink agreement to server, and uplink agreement carries resource distribution mark.
Specifically, resource distribution mark, for one resource distribution of unique mark, a resource distribution includes test configurations Resource file, XML environment configuration file, XML scene configuration files etc., resource distribution mark are carried in test request. Once complete resource distribution is known as a dispensing to background server, and background server can include a plurality of dispensing, every dispensing There are one unique resource distributions to identify.
Step S242 receives the test configurations resource corresponding with resource distribution mark that server returns.
Specifically, server obtains corresponding test configurations resource according to resource distribution mark, so as to each test assignment The test configurations resource for obtaining and specifying can be all identified according to resource distribution, Same Scene test configurations resource is avoided to issue at random and is led The problem of test assignment is caused to perform failure avoids the problem that positioning and queueing problem are difficult caused by issuing at random.
In one embodiment, uplink agreement further includes test configurations parameter, so that server judges the test configurations Parameter indicates whether test mode, if so, being to obtain resource distribution to identify corresponding test configurations resource, otherwise obtains random Configure resource.
Specifically, test configurations parameter can be test flag bit, such as 0 and 1,0 expression present terminal belongs to non-test state, It only needs to issue configuration resource at random, 1 expression present terminal belongs to test mode, it is necessary to issue the test configurations resource specified. Can the flexibility of resource acquisition be improved according to the different down distributing resource of test configurations parameter selection.
In one embodiment, uplink agreement further includes filtration parameter, and test configurations resource data is obtained in step S240 The step of further include:Server is received to carry out the corresponding initial testing configuration resource of resource distribution mark according to filtration parameter The target detection configuration resource returned after filter.
Specifically, filtration parameter is used to describe filter condition, some restrictive conditions may filter that by filter condition, such as Backstage there are logic restrictive condition to be that meet version number be that default version number just issues test configurations resource, if currently tested The version number of machine is unsatisfactory for condition, then server would not issue test configurations resource, and if background server receives this Whether a filtration parameter expression filters out this restrictive condition, no matter then meeting under all meetings of condition background server regardless of version number Send out test configurations resource.Some restrictive conditions may filter that by filtration parameter so that issuing for resource is more flexible.
In one embodiment, test assignment information further includes expected test result information, after step S240, also wraps It includes:Current test result is obtained, test report is generated according to current test result and expected test result information.
Specifically, expected test result information for describing expected test result corresponding with test assignment, such as pops up special Determine window, generate default file, the integrity check value md5 of file is equal to first preset value etc..If current test result with Expected test result matches, then illustrates that test product reaches expectation function, if current test result and expected test result Mismatch, then illustrate that test product is not up to expectation function, there are failure, can according to specific test result data and daily record into Row analyzing and positioning failure generates test report.The generation form of test report can customize, and such as generate html (HyperText Markup Language, HyperText Markup Language) form report.Test report can be passed through instant messaging tools, mail etc. Director is sent to, timely and effectively to notify test result.
In a specific embodiment, with reference to Fig. 8 and Fig. 9, the detailed process of the method for automatic test is as follows:
1st, the test request that operation configuration platform is sent is received, test assignment is put into task management queue, test is appointed The mission bit stream taskinfo tables being engaged in corresponding configuration information write-in database, by the corresponding expected test result of test assignment Check information checkinfo tables in information write-in database.
2nd, test assignment information is parsed, triggering a test assignment according to task management queue performs test.
3rd, test environment configuration information is obtained from taskinfo tables, the client code of real-time update is obtained from SVN, therefrom Obtain the XML environment configuration file of real-time update.
4th, XML environment configuration file is parsed, judges whether environment configurations ginseng matched with test environment configuration information Number, if it is present obtaining corresponding environment configurations parameter, it is file configuration parameter or registration table to judge environment configurations parameter Parameter is configured, if file configuration parameter, then creates corresponding file, if registration table configures parameter, then creates correspondence Registration table, if there is no with the matched environment configurations parameter of test environment configuration information, then test environment establish failure.
5th, test scene configuration information is obtained from taskinfo tables, the XML scenes of real-time update is obtained from client code Configuration file.
6th, XML scene configuration files are parsed, judge whether scene configuration ginseng matched with test scene configuration information Number if it is present obtaining corresponding scene configuration parameter, is triggered according to scene configuration parameter call scenario triggered interface and corresponded to Test scene, if there is no scene configuration parameter matched with test scene configuration information or by trigger interface triggering lose It loses, then test scene establishes failure.
7th, the uplink agreement for carrying resource distribution mark is sent to server, so that server judges whether uplink agreement is taken Tape test mark if it is, obtaining resource distribution mark, obtains resource distribution and identifies corresponding initial testing configuration resource, If not carrying test mark, the first test configurations resource can be issued at random and configures resource as target detection, judges uplink Whether agreement carries filtration parameter, if it is, being filtered to obtain second to initial testing configuration resource according to filtration parameter Test configurations resource configures resource as target detection, if not carrying filtration parameter, initial testing configuration resource is exactly mesh Mark test configurations resource.
8th, the target detection configuration resource that server is sent is received, resource data is configured in test environment according to target detection It is tested in test scene.
In one embodiment, as shown in Figure 10, a kind of device of automatic test is provided, including:
Test request receiving module 310, for receiving test request, test request includes test assignment information, and test is appointed Information of being engaged in includes test environment configuration information and test scene configuration information.
Test environment establishes module 320, for obtaining expandable mark language XML environment profile, parses XML environment Configuration file obtains and the matched environment configurations parameter of the test environment configuration information, is established and corresponded to according to environment configurations parameter Test environment.
Test scene trigger module 330, for obtaining XML scene configuration files, parsing XML scene configurations file acquisition with The matched scene configuration parameter of test scene configuration information triggers corresponding according to scene configuration parameter call scenario triggered interface Test scene.
Test module 340, for obtaining test configurations resource data, according to test configurations resource data in test environment and It is tested in test scene.
In one embodiment, as shown in figure 11, device further includes:
Task scheduling modules 350 for test assignment information to be write database, parse the test stored in database and appoint Business information, establishes task management queue according to test assignment information, the corresponding test assignment of test assignment information is put into task Queue is managed, the first test assignment triggered in task management queue performs.
In one embodiment, as shown in figure 12, test environment is established module 320 and is included:
Environment configurations parameter acquiring unit 321, for obtaining target detection environment attribute according to test environment configuration information Keyword and first object key assignments configure target detection environment attribute keyword and first object key assignments with the XML environment Test environment attribute keyword and key assignments in file are matched, if successful match, are obtained from XML environment configuration file The corresponding environment configurations parameter of the first object key assignments.
First creating unit 322 if including file configuration parameter for environment configurations parameter, is joined according to file configuration Number creates corresponding file.
Second creating unit 323, if including registration table for environment configurations parameter configures parameter, according to institute's registration table It configures the application programming interface that parameter call operating system provides and creates corresponding registration table.
In one embodiment, test scene trigger module 330 is additionally operable to obtain target according to test scene configuration information Test scene attribute keyword and the second target key value, by target detection scene properties keyword and the second target key value with it is described Test scene attribute keyword and key assignments in XML scene configuration files are matched, if successful match, from XML environment Configuration file obtains the corresponding scene configuration parameter of second target key value.
In one embodiment, test scene needs order as shown in figure 13, is surveyed by multiple intermediate test scene generations Examination hall scape trigger module 330 includes:
Current scene configures parameter acquiring unit 331, and obtaining the first intermediate test scene for scenario triggered interface corresponds to Scene configuration parameter as current scene configure parameter.
Intermediate test scene generation unit 332 configures parameter triggering according to current scene for scenario triggered interface and corresponds to Current event generation it is current among test scene.
Cycling element 333 obtains the corresponding scene configuration parameter of next intermediate test scene for scenario triggered interface Parameter is configured as current scene, into intermediate test scene generation unit.
Target detection scene generation unit 334, for the corresponding scene configuration ginseng of to the last one centre test scene Number trigger event finishes generation target detection scene.
In one embodiment, test assignment information further includes resource distribution mark, as shown in figure 14, test module 340 Including:
Agreement transmitting element 341, for sending uplink agreement to server, uplink agreement carries resource distribution mark.
Receiving unit 342, for receiving the test configurations resource corresponding with resource distribution mark of server return.
In one embodiment, uplink agreement further includes filtration parameter, receiving unit 342 be additionally operable to receive server according to The filtration parameter identifies the resource distribution target detection returned after corresponding initial testing configuration resource is filtered Configure resource.
In one embodiment, test assignment information further includes expected test result information, and as shown in figure 15, device also wraps It includes:
Test result generation module 360, for obtaining current test result, according to current test result and expected test knot Fruit information generates test report.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, in the embodiment of the present invention, which can be stored in the storage medium of computer system, and by the computer system At least one processor performs, to realize the flow for including the embodiment such as above-mentioned each method.Wherein, the storage medium can be Magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that come for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (16)

1. a kind of method of automatic test, the described method includes:
Test request is received, the test request includes test assignment information, and the test assignment information is matched somebody with somebody including test environment Confidence ceases and test scene configuration information;
Expandable mark language XML environment profile is obtained, the XML environment configuration file is parsed and obtains and the test wrapper Configuration information matched environment configurations parameter in border establishes corresponding test environment according to the environment configurations parameter;
XML scene configuration files are obtained, the XML scene configurations file acquisition is parsed and is matched with the test scene configuration information Scene configuration parameter, corresponding test scene is triggered according to the scene configuration parameter call scenario triggered interface;
Obtain test configurations resource data, according to the test configurations resource data in the test environment and test scene into Row test.
2. it according to the method described in claim 1, it is characterized in that, is further included after described the step of receiving test request:
The test assignment information is write into database;
The test assignment information stored in the database is parsed, task management queue is established according to the test assignment information, The corresponding test assignment of the test assignment information is put into the task management queue, is triggered in the task management queue First test assignment performs.
3. according to the method described in claim 1, it is characterized in that, the parsing XML environment configuration file obtains and institute The matched environment configurations parameter of test environment configuration information is stated, corresponding test environment is established according to the environment configurations parameter Step includes:
Target detection environment attribute keyword and first object key assignments are obtained according to the test environment configuration information;
By the target detection environment attribute keyword and first object key assignments and the test wrapper in the XML environment configuration file Border attribute keyword and key assignments are matched, if successful match, first mesh is obtained from the XML environment configuration file Mark the corresponding environment configurations parameter of key assignments;
If the environment configurations parameter includes file configuration parameter, corresponding text is created according to the file configuration parameter Part;
If the environment configurations parameter, which includes registration table, configures parameter, parameter call operation system is configured according to the registration table The application programming interface that system provides creates corresponding registration table.
4. according to the method described in claim 1, it is characterized in that, the parsing XML scene configurations file acquisition and institute The step of stating test scene configuration information matched scene configuration parameter includes:
Target detection scene properties keyword and the second target key value are obtained according to the test scene configuration information;
By the target detection scene properties keyword and the second target key value and the checkout area in the XML scene configurations file Scape attribute keyword and key assignments are matched, if successful match, second mesh is obtained from the XML environment configuration file Mark the corresponding scene configuration parameter of key assignments.
5. according to the method described in claim 1, it is characterized in that, test scene needs order is by multiple intermediate tests Scene generates, and described the step of triggering corresponding test scene according to the scene configuration parameter call scenario triggered interface wraps It includes:
The scenario triggered interface obtains the corresponding scene configuration parameter of the first intermediate test scene as current scene configuration ginseng Number;
S1:The scenario triggered interface configures parameter according to the current scene and triggers among corresponding current event generation currently Test scene;
S2:The scenario triggered interface obtains the corresponding scene configuration parameter of next intermediate test scene and matches somebody with somebody as current scene Parameter is put, enters step S1, to the last the corresponding scene configuration parameter trigger event of a centre test scene finishes generation Target detection scene.
6. according to the method described in claim 1, it is characterized in that, the test assignment information further include resource distribution mark, The step of acquisition test configurations resource data, includes:
Uplink agreement is sent to server, the uplink agreement carries resource distribution mark;
Receive the test configurations resource corresponding with resource distribution mark that the server returns.
7. according to the method described in claim 6, it is characterized in that, the uplink agreement further includes filtration parameter, the acquisition The step of test configurations resource data, further includes:
Receive the server resource distribution is identified according to the filtration parameter corresponding initial testing configure resource into The target detection configuration resource returned after row filtering.
8. according to the method described in claim 1, it is characterized in that, the test assignment information further includes expected test result letter Breath, after described the step of being tested according to the test configurations resource data in the test environment and test scene, It further includes:
Current test result is obtained, test report is generated according to the current test result and the expected test result information.
9. a kind of device of automatic test, which is characterized in that described device includes:
Test request receiving module, for receiving test request, the test request includes test assignment information, and the test is appointed Information of being engaged in includes test environment configuration information and test scene configuration information;
Test environment establishes module, for obtaining expandable mark language XML environment profile, parses the XML environment and matches somebody with somebody File acquisition and the matched environment configurations parameter of the test environment configuration information are put, according to environment configurations parameter foundation pair The test environment answered;
Test scene trigger module for obtaining XML scene configuration files, parses the XML scene configurations file acquisition and institute The matched scene configuration parameter of test scene configuration information is stated, is triggered according to the scene configuration parameter call scenario triggered interface Corresponding test scene;
Test module, for obtaining test configurations resource data, according to the test configurations resource data in the test environment It is tested in test scene.
10. device according to claim 9, which is characterized in that described device further includes:
Task scheduling modules for the test assignment information to be write database, parse the test stored in the database Mission bit stream establishes task management queue according to the test assignment information, and the corresponding test of the test assignment information is appointed Business is put into the task management queue, and the first test assignment triggered in the task management queue performs.
11. device according to claim 9, which is characterized in that the test environment, which establishes module, to be included:
Environment configurations parameter acquiring unit, it is crucial for obtaining target detection environment attribute according to the test environment configuration information Word and first object key assignments configure the target detection environment attribute keyword and first object key assignments with the XML environment Test environment attribute keyword and key assignments in file are matched, if successful match, from the XML environment configuration file Obtain the corresponding environment configurations parameter of the first object key assignments;
First creating unit, if including file configuration parameter for the environment configurations parameter, according to the file configuration Parameter creates corresponding file;
Second creating unit, if including registration table for the environment configurations parameter configures parameter, according to the registration table It configures the application programming interface that parameter call operating system provides and creates corresponding registration table.
12. device according to claim 9, which is characterized in that the test scene trigger module is additionally operable to according to Test scene configuration information obtains target detection scene properties keyword and the second target key value, by the target detection scene category Property keyword and test scene attribute keyword in the second target key value and the XML scene configurations file and key assignments carry out Match somebody with somebody, if successful match, the corresponding scene configuration ginseng of second target key value is obtained from the XML environment configuration file Number.
13. device according to claim 9, which is characterized in that the test scene needs order is by multiple intermediate surveys Examination hall scape generation, the test scene trigger module include:
Current scene configures parameter acquiring unit, for the corresponding field of the first intermediate test scene of scenario triggered interface acquisition Scape configures parameter and configures parameter as current scene;
Intermediate test scene generation unit configures parameter triggering according to the current scene for the scenario triggered interface and corresponds to Current event generation it is current among test scene;
Cycling element obtains the corresponding scene configuration parameter conduct of next intermediate test scene for the scenario triggered interface Current scene configures parameter, into intermediate test scene generation unit;
Target detection scene generation unit, for the corresponding scene configuration parameter triggering thing of to the last one centre test scene Part finishes generation target detection scene.
14. device according to claim 9, which is characterized in that the test assignment information further includes resource distribution mark, The test module includes:
Agreement transmitting element, for sending uplink agreement to server, the uplink agreement carries resource distribution mark;
Receiving unit, for receiving the test configurations resource corresponding with resource distribution mark that the server returns.
15. device according to claim 14, which is characterized in that the uplink agreement further includes filtration parameter, described to connect It receives unit and is additionally operable to receive the server corresponding initial testing is identified to the resource distribution according to the filtration parameter and match somebody with somebody Put the target detection configuration resource returned after resource is filtered.
16. device according to claim 14, which is characterized in that the test assignment information further includes expected test result Information, described device further include:
Test result generation module, for obtaining current test result, according to the current test result and the expected test Result information generates test report.
CN201611054093.1A 2016-11-25 2016-11-25 Method and device for automatic testing Active CN108108297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611054093.1A CN108108297B (en) 2016-11-25 2016-11-25 Method and device for automatic testing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611054093.1A CN108108297B (en) 2016-11-25 2016-11-25 Method and device for automatic testing

Publications (2)

Publication Number Publication Date
CN108108297A true CN108108297A (en) 2018-06-01
CN108108297B CN108108297B (en) 2021-05-18

Family

ID=62204114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611054093.1A Active CN108108297B (en) 2016-11-25 2016-11-25 Method and device for automatic testing

Country Status (1)

Country Link
CN (1) CN108108297B (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990047A (en) * 2018-07-03 2018-12-11 中国联合网络通信集团有限公司 Test method, device and the medium of contract signing relationship management data preparation platform
CN109240924A (en) * 2018-09-03 2019-01-18 中国平安人寿保险股份有限公司 A kind of test method and equipment of application program
CN109376073A (en) * 2018-09-14 2019-02-22 珠海金山网络游戏科技有限公司 A kind of memory of test environment and restoration methods
CN109542757A (en) * 2018-09-29 2019-03-29 中国平安人寿保险股份有限公司 Interface testing environment determines method, apparatus, electronic equipment and storage medium
CN109684203A (en) * 2018-11-27 2019-04-26 平安科技(深圳)有限公司 Program running parameter configuration method, device, computer equipment and storage medium
CN109726119A (en) * 2018-12-04 2019-05-07 北京奇艺世纪科技有限公司 Test scene creation method, application method, device, client and server
CN109806592A (en) * 2019-01-18 2019-05-28 网易(杭州)网络有限公司 A kind of monitoring method and device of game resource
CN109828870A (en) * 2018-12-15 2019-05-31 中国平安人寿保险股份有限公司 Interface testing environmental management technique, device, electronic equipment and storage medium
CN110532170A (en) * 2019-07-18 2019-12-03 北京文渊佳科技有限公司 Build method, apparatus, electronic equipment and the medium of test environment
CN110659202A (en) * 2019-08-12 2020-01-07 网宿科技股份有限公司 Client automatic testing method and device
CN110781090A (en) * 2019-10-31 2020-02-11 北京东软望海科技有限公司 Control method and device for data processing test, computer equipment and storage medium
CN111175601A (en) * 2020-01-03 2020-05-19 云南电网有限责任公司电力科学研究院 Modular functional test system
CN111240992A (en) * 2020-01-20 2020-06-05 网易(杭州)网络有限公司 Test method and device, storage medium and electronic equipment
CN111309584A (en) * 2018-12-11 2020-06-19 迈普通信技术股份有限公司 Data processing method and device, electronic equipment and storage medium
CN111338926A (en) * 2018-12-18 2020-06-26 北京奇虎科技有限公司 Patch testing method and device and electronic equipment
CN111651349A (en) * 2020-05-26 2020-09-11 泰康保险集团股份有限公司 Test method and device
CN111666214A (en) * 2020-06-02 2020-09-15 广州酷狗计算机科技有限公司 Client fault tolerance test method, device, terminal, server and storage medium
CN111693090A (en) * 2020-06-10 2020-09-22 上海有个机器人有限公司 Robot pavement environment aging test method, medium, terminal and device
CN111831567A (en) * 2020-07-17 2020-10-27 中国工商银行股份有限公司 Application test environment configuration method, device, system and medium
CN112100052A (en) * 2020-08-07 2020-12-18 北京奇艺世纪科技有限公司 Interface test scene playback method and device
CN112131094A (en) * 2019-06-25 2020-12-25 比亚迪汽车工业有限公司 Method and device for testing track signal system software and storage medium
CN112699020A (en) * 2020-12-11 2021-04-23 浙江中控技术股份有限公司 Industrial real-time database API (application program interface) interface testing method
CN112799954A (en) * 2021-02-09 2021-05-14 上海云轴信息科技有限公司 Method, equipment and computer readable medium for quickly constructing test environment
CN112817851A (en) * 2021-01-29 2021-05-18 北京嘀嘀无限科技发展有限公司 Service testing method, device, equipment, medium and computer program product
CN112905534A (en) * 2021-02-25 2021-06-04 北京安天网络安全技术有限公司 Sample analysis method and device based on sandbox environment
CN113220597A (en) * 2021-06-18 2021-08-06 中国农业银行股份有限公司 Test method, test device, electronic apparatus, and storage medium
CN113608994A (en) * 2021-06-30 2021-11-05 天津五八到家货运服务有限公司 Request processing method and system
CN114416589A (en) * 2022-01-27 2022-04-29 北京永信至诚科技股份有限公司 Network target range comprehensive detection method, device, equipment and readable storage medium
CN114579473A (en) * 2022-05-09 2022-06-03 太平金融科技服务(上海)有限公司深圳分公司 Application testing method, device, equipment and storage medium
CN115150310A (en) * 2022-07-01 2022-10-04 北京百度网讯科技有限公司 Request generation method, processing method, device, electronic equipment and storage medium
CN115687162A (en) * 2023-01-03 2023-02-03 北京集度科技有限公司 Software testing device, method, electronic device and computer program product
CN116627849A (en) * 2023-07-24 2023-08-22 中邮消费金融有限公司 System test method, device, equipment and storage medium
CN117093503A (en) * 2023-10-17 2023-11-21 杭银消费金融股份有限公司 Client test management method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042673A (en) * 2007-04-20 2007-09-26 北京航空航天大学 Software testing system and testing method
CN101266566A (en) * 2007-03-13 2008-09-17 中国电信股份有限公司 Multi- test scene automatic dispatch system and method
US20140068410A1 (en) * 2012-09-06 2014-03-06 Elena Dolinina User interface for composing test scenarios
CN105068933A (en) * 2015-08-25 2015-11-18 北京京东尚科信息技术有限公司 Browser driving method and device for testing
CN105446865A (en) * 2014-07-09 2016-03-30 阿里巴巴集团控股有限公司 Test method and device under multi-environment
CN105677568A (en) * 2016-01-11 2016-06-15 上海富欣智能交通控制有限公司 Test scene generating method for railway signal computer interlocking system
CN106021111A (en) * 2016-05-30 2016-10-12 上海携程商务有限公司 Interface testing method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266566A (en) * 2007-03-13 2008-09-17 中国电信股份有限公司 Multi- test scene automatic dispatch system and method
CN101042673A (en) * 2007-04-20 2007-09-26 北京航空航天大学 Software testing system and testing method
US20140068410A1 (en) * 2012-09-06 2014-03-06 Elena Dolinina User interface for composing test scenarios
CN105446865A (en) * 2014-07-09 2016-03-30 阿里巴巴集团控股有限公司 Test method and device under multi-environment
CN105068933A (en) * 2015-08-25 2015-11-18 北京京东尚科信息技术有限公司 Browser driving method and device for testing
CN105677568A (en) * 2016-01-11 2016-06-15 上海富欣智能交通控制有限公司 Test scene generating method for railway signal computer interlocking system
CN106021111A (en) * 2016-05-30 2016-10-12 上海携程商务有限公司 Interface testing method and system

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990047A (en) * 2018-07-03 2018-12-11 中国联合网络通信集团有限公司 Test method, device and the medium of contract signing relationship management data preparation platform
CN108990047B (en) * 2018-07-03 2021-06-29 中国联合网络通信集团有限公司 Test method, device and medium for subscription relationship management data preparation platform
CN109240924B (en) * 2018-09-03 2024-03-08 中国平安人寿保险股份有限公司 Application program testing method and device
CN109240924A (en) * 2018-09-03 2019-01-18 中国平安人寿保险股份有限公司 A kind of test method and equipment of application program
CN109376073A (en) * 2018-09-14 2019-02-22 珠海金山网络游戏科技有限公司 A kind of memory of test environment and restoration methods
CN109376073B (en) * 2018-09-14 2021-08-03 珠海金山网络游戏科技有限公司 Test environment memory and recovery method
CN109542757A (en) * 2018-09-29 2019-03-29 中国平安人寿保险股份有限公司 Interface testing environment determines method, apparatus, electronic equipment and storage medium
CN109684203A (en) * 2018-11-27 2019-04-26 平安科技(深圳)有限公司 Program running parameter configuration method, device, computer equipment and storage medium
CN109726119A (en) * 2018-12-04 2019-05-07 北京奇艺世纪科技有限公司 Test scene creation method, application method, device, client and server
CN111309584B (en) * 2018-12-11 2024-02-23 迈普通信技术股份有限公司 Data processing method, device, electronic equipment and storage medium
CN111309584A (en) * 2018-12-11 2020-06-19 迈普通信技术股份有限公司 Data processing method and device, electronic equipment and storage medium
CN109828870A (en) * 2018-12-15 2019-05-31 中国平安人寿保险股份有限公司 Interface testing environmental management technique, device, electronic equipment and storage medium
CN111338926A (en) * 2018-12-18 2020-06-26 北京奇虎科技有限公司 Patch testing method and device and electronic equipment
CN109806592A (en) * 2019-01-18 2019-05-28 网易(杭州)网络有限公司 A kind of monitoring method and device of game resource
CN112131094A (en) * 2019-06-25 2020-12-25 比亚迪汽车工业有限公司 Method and device for testing track signal system software and storage medium
CN110532170A (en) * 2019-07-18 2019-12-03 北京文渊佳科技有限公司 Build method, apparatus, electronic equipment and the medium of test environment
CN110532170B (en) * 2019-07-18 2023-08-08 北京文渊佳科技有限公司 Method and device for building test environment, electronic equipment and medium
CN110659202A (en) * 2019-08-12 2020-01-07 网宿科技股份有限公司 Client automatic testing method and device
CN110781090B (en) * 2019-10-31 2023-09-12 望海康信(北京)科技股份公司 Control method and device for data processing test, computer equipment and storage medium
CN110781090A (en) * 2019-10-31 2020-02-11 北京东软望海科技有限公司 Control method and device for data processing test, computer equipment and storage medium
CN111175601A (en) * 2020-01-03 2020-05-19 云南电网有限责任公司电力科学研究院 Modular functional test system
CN111240992A (en) * 2020-01-20 2020-06-05 网易(杭州)网络有限公司 Test method and device, storage medium and electronic equipment
CN111240992B (en) * 2020-01-20 2023-04-25 网易(杭州)网络有限公司 Test method and device, storage medium and electronic equipment
CN111651349A (en) * 2020-05-26 2020-09-11 泰康保险集团股份有限公司 Test method and device
CN111666214B (en) * 2020-06-02 2023-09-22 广州酷狗计算机科技有限公司 Client fault tolerance test method, device, terminal, server and storage medium
CN111666214A (en) * 2020-06-02 2020-09-15 广州酷狗计算机科技有限公司 Client fault tolerance test method, device, terminal, server and storage medium
CN111693090A (en) * 2020-06-10 2020-09-22 上海有个机器人有限公司 Robot pavement environment aging test method, medium, terminal and device
CN111831567B (en) * 2020-07-17 2023-08-22 中国工商银行股份有限公司 Application test environment configuration method, device, system and medium
CN111831567A (en) * 2020-07-17 2020-10-27 中国工商银行股份有限公司 Application test environment configuration method, device, system and medium
CN112100052A (en) * 2020-08-07 2020-12-18 北京奇艺世纪科技有限公司 Interface test scene playback method and device
CN112100052B (en) * 2020-08-07 2023-08-18 北京奇艺世纪科技有限公司 Playback method and device of interface test scene
CN112699020A (en) * 2020-12-11 2021-04-23 浙江中控技术股份有限公司 Industrial real-time database API (application program interface) interface testing method
CN112817851A (en) * 2021-01-29 2021-05-18 北京嘀嘀无限科技发展有限公司 Service testing method, device, equipment, medium and computer program product
CN112799954A (en) * 2021-02-09 2021-05-14 上海云轴信息科技有限公司 Method, equipment and computer readable medium for quickly constructing test environment
CN112799954B (en) * 2021-02-09 2024-04-16 上海云轴信息科技有限公司 Method, apparatus and computer readable medium for quickly constructing test environment
CN112905534A (en) * 2021-02-25 2021-06-04 北京安天网络安全技术有限公司 Sample analysis method and device based on sandbox environment
CN112905534B (en) * 2021-02-25 2023-09-05 北京安天网络安全技术有限公司 Sample analysis method and device based on sandbox environment
CN113220597B (en) * 2021-06-18 2024-04-16 中国农业银行股份有限公司 Test method, test device, electronic equipment and storage medium
CN113220597A (en) * 2021-06-18 2021-08-06 中国农业银行股份有限公司 Test method, test device, electronic apparatus, and storage medium
CN113608994A (en) * 2021-06-30 2021-11-05 天津五八到家货运服务有限公司 Request processing method and system
CN114416589A (en) * 2022-01-27 2022-04-29 北京永信至诚科技股份有限公司 Network target range comprehensive detection method, device, equipment and readable storage medium
CN114579473A (en) * 2022-05-09 2022-06-03 太平金融科技服务(上海)有限公司深圳分公司 Application testing method, device, equipment and storage medium
CN115150310A (en) * 2022-07-01 2022-10-04 北京百度网讯科技有限公司 Request generation method, processing method, device, electronic equipment and storage medium
CN115687162A (en) * 2023-01-03 2023-02-03 北京集度科技有限公司 Software testing device, method, electronic device and computer program product
CN116627849A (en) * 2023-07-24 2023-08-22 中邮消费金融有限公司 System test method, device, equipment and storage medium
CN116627849B (en) * 2023-07-24 2024-01-26 中邮消费金融有限公司 System test method, device, equipment and storage medium
CN117093503A (en) * 2023-10-17 2023-11-21 杭银消费金融股份有限公司 Client test management method and system
CN117093503B (en) * 2023-10-17 2024-02-06 杭银消费金融股份有限公司 Client test management method and system

Also Published As

Publication number Publication date
CN108108297B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN108108297A (en) The method and apparatus of automatic test
US10545856B2 (en) Test case generation system
CN106844217B (en) Method and device for embedding point of applied control and readable storage medium
CN110928772B (en) Test method and device
EP2778929B1 (en) Test script generation system
US20080086627A1 (en) Methods and apparatus to analyze computer software
US8489623B2 (en) Creating data in a data store using a dynamic ontology
US9189377B1 (en) Automation testing using descriptive maps
CN107908541A (en) Interface test method, device, computer equipment and storage medium
US20130014084A1 (en) International Testing Platform
CN109491860A (en) Method for detecting abnormality, terminal device and the medium of application program
US20130086420A1 (en) Method and system for implementing a test automation results importer
US20110209042A1 (en) Information Technology Standard Inventory Utility
US10713152B2 (en) Automated path generator for optimized application testing
US10275266B1 (en) Language acceptance testing
CN104461887A (en) Embedded software black-box test case generation method based on dynamic model
CN109871963A (en) Operation troubles restoring method, device, electronic equipment and storage medium
CN111258881A (en) Intelligent test system for workflow test
CN110245077A (en) A kind of response method and equipment of program exception
WO2017164856A1 (en) Comparable user interface object identifications
CN113760730A (en) Automatic testing method and device
CN111984882A (en) Data processing method, system and equipment
CN113987393A (en) Web page operation recorder, system, device and method
CN112650688A (en) Automated regression testing method, associated device and computer program product
CN112241373A (en) Automatic test method, test device, processor and test system

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
GR01 Patent grant
GR01 Patent grant