CN107506303A - Method, apparatus and system for automatic test - Google Patents

Method, apparatus and system for automatic test Download PDF

Info

Publication number
CN107506303A
CN107506303A CN201710733459.6A CN201710733459A CN107506303A CN 107506303 A CN107506303 A CN 107506303A CN 201710733459 A CN201710733459 A CN 201710733459A CN 107506303 A CN107506303 A CN 107506303A
Authority
CN
China
Prior art keywords
test
suite
interface
testing sequence
automatic
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
CN201710733459.6A
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.)
Aerospace Recognition Software Assessment Technology (beijing) LLC
Original Assignee
Aerospace Recognition Software Assessment Technology (beijing) LLC
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 Aerospace Recognition Software Assessment Technology (beijing) LLC filed Critical Aerospace Recognition Software Assessment Technology (beijing) LLC
Priority to CN201710733459.6A priority Critical patent/CN107506303A/en
Publication of CN107506303A publication Critical patent/CN107506303A/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/3688Test management for test execution, e.g. scheduling of test suites

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

A kind of method, apparatus and system for automatic test of disclosure.It is related to computer automated testing field, this method includes:Determine the service logic of object to be measured;Test suite, and the testing sequence of the test suite are determined according to the service logic;Test case is generated by the test suite and the testing sequence on graphical test interface;And test environment is built, and automatic test is carried out to the object to be measured by the test case.Method, apparatus and system disclosed in the present application for automatic test, using the teaching of the invention it is possible to provide powerful function and automatic test ability, can avoid repeating the waste of human resource that manual test is brought.

Description

Method, apparatus and system for automatic test
Technical field
The present invention relates to computer automated testing field, in particular to a kind of method for automatic test, Apparatus and system.
Background technology
China's software test industry progressively grows up with the high speed development of information industry, due to starting late, with International most advanced level is larger compared to gap.China's software test at this stage and the software testing technology infrastructure gross output value, deficiency The 10% of the whole Software Industry output value, and external input ratio is probably between 30%~50%.With the development of Software Industry, Competition, market are improved constantly to software quality, reliability requirements, and software test proportion can be increased progressively.
At present, compared with the Software Industry of advanced country, the software mechanism in China in software development and testing field also There are problems that:A. civil area lacks the software test brand with public credibility;B. the environmental resource needed for software test Complexity, utilization rate are low;C. large software system needs cross-region, cross-platform test, can not cooperate;D. software test work It is more to have species, it is relatively difficult to complete end-to-end test;When e. carrying out automatic test, script species is more, to tester The Develop ability of member requires high;F. the various test software property specialized in are stronger, thin and thin for a certain kind test, smart and smart, But in the test process of reality, generally all it is to need to use a variety of power of tests it is difficult to only do a kind of test, it is such as static to survey Examination, dynamic test, performance test, functional test etc., each test is required for carrying out corresponding environment configurations, is manually entered, Workload is big, needs participant numerous, and participant is professional to require high, and soft hardware equipment requirement is strict.
Therefore, it is necessary to a kind of new method, apparatus and system for automatic test.
Above- mentioned information is only used for strengthening the understanding of the background to the present invention, therefore it disclosed in the background section It can include not forming the information to prior art known to persons of ordinary skill in the art.
The content of the invention
In view of this, the present invention provides a kind of method, apparatus and system for automatic test, using the teaching of the invention it is possible to provide powerful Function and automatic test ability, it can avoid repeating the waste of human resource that manual test is brought.
Other characteristics and advantage of the present invention will be apparent from by following detailed description, or partially by the present invention Practice and acquistion.
According to an aspect of the invention, it is proposed that a kind of method for automatic test, this method includes:It is to be measured right to determine The service logic of elephant;Test suite, and the testing sequence of the test suite are determined according to the service logic;Graphical Test case is generated by the test suite and the testing sequence on test interface;And test environment is built, and pass through The test case carries out automatic test to the object to be measured.
In a kind of exemplary embodiment of the disclosure, in addition to:Testization ability is packaged, generates the test Component.
It is described to be packaged testization ability in a kind of exemplary embodiment of the disclosure, generate the test group Part, including:Interface detection ability is packaged, generates interface detection component;Database power of test is packaged, generated Database test suite;Session initiation protocol power of test is packaged, generates conversation test component;And by communication system Power of test is packaged, and generates communication test component.
In a kind of exemplary embodiment of the disclosure, in addition to:The graphical test interface is generated based on cloud platform.
In a kind of exemplary embodiment of the disclosure, the graphical test interface supports distributed measurand, and Cross operating system measurand.
In a kind of exemplary embodiment of the disclosure, the cross operating system measurand, including:Windows systems Measurand, linux system measurand, and iOS system measurand, android system measurand.
In a kind of exemplary embodiment of the disclosure, in addition to:Pass through the Test cases technology test template.
In a kind of exemplary embodiment of the disclosure, in addition to:The test environment is entered by way of IP address Row preserves.
In a kind of exemplary embodiment of the disclosure, it is described on graphical test interface by the test suite with The testing sequence generates test case, including:On the graphical test interface, the test suite is selected;And root According to the testing sequence, the test suite is sequentially connected in series, generates the test case.
It is described according to the testing sequence in a kind of exemplary embodiment of the disclosure, by the test suite successively Concatenation, generates the test case, including:According to the testing sequence, the test suite is concatenated;Test parameter is set;With And the test case is generated by the test parameter and test suite;Wherein, the test parameter includes:Branch judges ginseng Number, test data arrange parameter and checkpointing parameter.
In a kind of exemplary embodiment of the disclosure, the test suite supports pluggable component technology.
According to an aspect of the invention, it is proposed that a kind of device for automatic test, the device includes:Logic module, For determining the service logic of object to be measured;Selecting module, for determining test suite according to the service logic, and it is described The testing sequence of test suite;Interface module, for passing through the test suite and the test on graphical test interface It is sequentially generated test case;And test module, for building test environment, and by the test case to described to be measured right As carrying out automatic test.
In a kind of exemplary embodiment of the disclosure, in addition to:Package module, for testization ability to be sealed Dress, generates the test suite.
According to an aspect of the invention, it is proposed that a kind of system for automatic test, the system includes:Terminal device, For determining the service logic of object to be measured;Test suite, and the survey of the test suite are determined according to the service logic Examination order;And test case is generated by the test suite and the testing sequence on graphical test interface;Service Device, for providing test environment, and the test case is called to carry out automatic test to the object to be measured;And network is set It is standby, for providing communication link between the terminal device and the server.
In a kind of exemplary embodiment of the disclosure, the server calls the test case to institute by cloud platform State object to be measured and carry out automatic test.
According to the method, apparatus and system for automatic test of the present invention, using the teaching of the invention it is possible to provide powerful function and automatically Change power of test, can avoid repeating the waste of human resource that manual test is brought.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited Invention.
Brief description of the drawings
Its example embodiment is described in detail by referring to accompanying drawing, above and other target of the invention, feature and advantage will Become more fully apparent.Drawings discussed below is only some embodiments of the present invention, for the ordinary skill of this area For personnel, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of method for automatic test according to an exemplary embodiment.
Fig. 2 is a kind of schematic diagram of method for automatic test according to another exemplary embodiment.
Fig. 3 is a kind of schematic diagram of method for automatic test according to another exemplary embodiment.
Fig. 4 is a kind of flow chart of method for automatic test according to another exemplary embodiment.
Fig. 5 is a kind of block diagram of device for automatic test according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of system for automatic test according to another exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be real in a variety of forms Apply, and be not understood as limited to embodiment set forth herein;On the contrary, these embodiments are provided so that the present invention will be comprehensively and complete It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical reference represents in figure Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner In example.In the following description, there is provided many details fully understand so as to provide to embodiments of the invention.However, It will be appreciated by persons skilled in the art that technical scheme can be put into practice without one or more in specific detail, Or other methods, constituent element, device, step etc. can be used.In other cases, side known in being not shown in detail or describe Method, device, realization are operated to avoid fuzzy each aspect of the present invention.
Block diagram shown in accompanying drawing is only functional entity, not necessarily must be corresponding with physically separate entity. I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in accompanying drawing is merely illustrative, it is not necessary to including all contents and operation/step, It is not required to perform by described order.For example, some operation/steps can also decompose, and some operation/steps can close And or partly merging, therefore the order actually performed is possible to be changed according to actual conditions.
It should be understood that although herein various assemblies may be described using term first, second, third, etc., these groups Part should not be limited by these terms.These terms are to distinguish a component and another component.Therefore, first group be discussed herein below Part can be described as teaching of second component without departing from disclosure concept.As used herein, term " and/or " include it is associated All combinations for listing any one and one or more in project.
It will be understood by those skilled in the art that accompanying drawing is the schematic diagram of example embodiment, module or flow in accompanying drawing Necessary to not necessarily implementing the present invention, therefore it cannot be used for limiting the scope of the invention.
Disclosure example embodiment is described in detail below in conjunction with the accompanying drawings.
Fig. 1 is a kind of flow chart of method for automatic test according to an exemplary embodiment.
As shown in figure 1, in S102, the service logic of object to be measured is determined.May be, for example, that each enterprise provides following treat Survey the test of object, such as software code static analysis, logic testing, functional test, interface testing, human-computer interaction interface survey Examination, reliability testing etc. testing service;Performance test part provides the user all kinds of performance test services, such as:web2.0、 Polytype performance test service such as HTTP, INAP, SOAP, SIP;Internet and safety test part should for all kinds of internets With offer testing service, including website vulnerability scanning, browser compatibility test, websites response capability evaluation;Infrastructure is surveyed Test system mainly provides the user the test of basic information technoloy equipment and environment, can be directed to computing capability, storage capacity, network capabilities etc. Several big kind equipments are tested.Determine the service logic of above-mentioned object to be measured.
In S104, test suite, and the testing sequence of the test suite are determined according to the service logic.Can example Such as, testization ability is packaged, generates the test suite.Can for example, interface detection component, database test suite, SIP (Session Initiation Protocol, session initiation protocol) test suite, GSM (Global System for Mobile Communication, global system for mobile communications) test suite etc..Determined according to the logic of business to be used Testing sequence of the test suite in actual test, testing sequence may be, for example, to call the order of test suite.Also may be, for example, Software Coding to be measured is sequentially input to the order of test test suite, the present invention is not limited.
In S106, used on graphical test interface by the test suite and testing sequence generation test Example.Current technology carries out connect test or coupling survey mainly in single software, or a limited number of individual test software Examination.It is difficult to numerous different test softwares, is integrated into same automation platform, while supports to customize test suite. In the application scenarios of reality, system under test (SUT) has certain complexity more, generally can not be only using one or more of tests Ability is tested, and generally faced with this situation, it is soft to same test for different aspect to be all equipped with multiple test groups Part is tested, and expends substantial amounts of manpower, hardware resource and software equipment.Can for example, on the graphical test interface, Select the test suite;And according to the testing sequence, the test suite is sequentially connected in series, the test is generated and uses Example.Traditional automatic test design, is to be completed by writing various test scripts, there is higher requirement to tester, Patterned design environment is provided the user in the present embodiment, user sets by simply pulling to fill in parameter to complete test Meter.Can be for example, building test use cases, test case, testing procedure by pulling test suite.So by each test energy After the test component configuration of power is good, operation is clicked on, system will be sequentially completed various types of surveys according to the logic set Examination, realize and depart from artificial automatic test service.
In S108, test environment is built, and automatic test is carried out to the object to be measured by the test case. After automatic test, test report can be also for example automatically generated.
According to the method for automatic test of the present invention, by generating the method for test suite, and pass through figure The mode that user interface is connected in series test suite by modes such as draggings, and then realize the generation of test case, Neng Gouti For powerful function and automatic test ability, the technical need height of tester can be reduced, reduces the artificial mistake in test By mistake, also avoid repeating the waste of human resource that manual test is brought.
It will be clearly understood that the present disclosure describe how formation and using particular example, but the principle of the present invention is not limited to Any details of these examples.On the contrary, the teaching based on present disclosure, these principles can be applied to many other Embodiment.
Fig. 2 is a kind of schematic diagram of method for automatic test according to another exemplary embodiment.
In a kind of exemplary embodiment of the disclosure, in addition to:Testization ability is packaged, generates the test Component.Can for example including:
In S202, interface detection ability is packaged, generates interface detection component.
In S204, database power of test is packaged, generates database test suite.
In S206, it will words initiation protocol power of test is packaged, and generates conversation test component.
It is packaged in S208, and by communication system power of test, generates communication test component.
In a kind of exemplary embodiment of the disclosure, in addition to:The graphical test interface is generated based on cloud platform. The graphical test interface supports distributed measurand, and cross operating system measurand.The cross operating system is tested Object, including:Windows system measurands, linux system measurand, and iOS system measurand, Android systems System measurand.The environment of user's system under test (SUT) almost can be for example including backstage:linux/Unix OS;Foreground:Windows OS;Mobile terminal:ios/Android.In the present embodiment, can be for example by agent (agency) technology, can be in these main flows Operating system on control each tested application, and be scheduled., can be by so that the application system of this kind of spanning operation system platform Perfectly tested.The test of application program under each type operating system is supported, using unified enforcement engine, is supported cross-platform Extension.
In internet+epoch, the environment of user's system under test (SUT) is nearly all that a variety of operating systems are used interchangeably, example Such as backstage:linux/Unix OS;Foreground:Windows OS;Mobile terminal:ios/Android;Traditional automatic test is set Meter, is to be completed by writing various test scripts, there is higher requirement to tester.Software Testing Tool on the market is non- Chang Duo, the development language of every kind of testing tool are different from.The technical ability for needing tester to grasp is a lot, but is based on cloud computing The integrated automation method of testing of platform does not require that unskilled labor makees the specialty of personnel using patterned power of test component as characteristic Test quality, only need to test component configuration well after, logically each component is connected, operation.It is so " stupid Melon formula " operation is not high to common test personnel qualifications, can efficiently utilize limited hardware resource, software facility, manpower Resource, and the completion automatization test system of time cost.
In a kind of exemplary embodiment of the disclosure, in addition to:Pass through the Test cases technology test template.Also wrap Include:The test environment is preserved by way of IP address.Can be for example virtual by various configured good test environments Change after be made template preserved, it is necessary to when, recalling template can immediately above be adjusted or reuse. When various power of tests need to use corresponding test environment, the IP address of corresponding environment need to be only inputted, you can call operation.Keep away The substantial amounts of duplication of labour is exempted from, test is no longer influenced by the restriction of time place hardware facility.
In reality, system under test (SUT) has certain complexity more.One complete operation flow is needed in multiple devices Upper interaction.Traditional testing tool can only complete partial test step on unit.The test platform platform of the present invention provides Distributed testing technology, is dispatched by platform service, there is provided corresponding IP address can link different servers, distribution behaviour Make, save.E2E tests are supported comprehensively;Testing procedure can be run on multiple devices in order;Parameter during operation can be used for Control enters different branches;Test result is aggregated into main enforcement engine and reported.
According to the method for automatic test of the present invention, the integrated automation method of testing based on cloud computing platform carries Distributed measuring technology has been supplied, by the service dispatch of cloud platform, only need to provide corresponding IP address, you can link different Interaction of the server finishing service flow on multiple devices, remote control and scheduling are carried out, no matter the operation ring of system under test (SUT) Border makes Windows, Linux or Android, and the part that can all complete traditional test instrument can only complete on unit is surveyed Try is rapid, and time, hardware resource and manpower are saved for software test.
In a kind of exemplary embodiment of the disclosure, it is described on graphical test interface by the test suite with The testing sequence generates test case, including:On the graphical test interface, the test suite is selected;And root According to the testing sequence, the test suite is sequentially connected in series, generates the test case.It is described according to the testing sequence, The test suite is sequentially connected in series, generates the test case, including:According to the testing sequence, the test group is concatenated Part;Test parameter is set;And the test case is generated by the test parameter and test suite;Wherein, the test Parameter includes:Branch judges parameter, test data arrange parameter and checkpointing parameter.The test suite is supported to insert Pull out component technology.
Fig. 3 is a kind of schematic diagram of method for automatic test according to another exemplary embodiment.Such as Fig. 3 It is shown, following function for example can be provided on graphic interface:Toolbar:All works of the engineering during case designing are provided Tool, such as delete, Connection Step, zoom design section, set, preserve, perform etc.;Engineering case management region:It is work The set of uses case and case management module of journey;User can be increased modification with right button and delete set of uses case and increase on set of uses case node Change deletion case Node;Testing procedure design section:It is the step design management module of use-case;User is selecting some use After example, it can arbitrarily increase deletion modification functional unit in this region;Graphical power of test component selection region:It is engineering Functional module element list;User can pull random component in the region to testing procedure design section, form use-case Testing procedure;User is when using each test suite, click test suite, configuration testing component as needed, after the completion of Can directly it run.Log Window:It is the execution journal list of use-case, prints use-case and believe from all daily records for being created to execution Breath.
By by various testing tool abstract packages into test suite so that test suite can be surveyed on platform on demand in cloud Plug.Platform provides pluggable test suite development interface;Test suite provides atomic test ability, suitable for corresponding automatic Change testing requirement;Test suite can be applied in combination, the test for complicated business;Existing test suite offer interface detection, Data library test, protocol test, file test, safety test and the automatic capability of cloud test.
Fig. 4 is a kind of flow chart of method for automatic test according to another exemplary embodiment.Fig. 4 is To the exemplary description of test setting.
In S402, file is set.Original document is set.
In S404, interface detection.Interface detection can be carried out for example, according to the test logic needs of object to be tested.
In S406, mobile terminal test, end can be moved for example, according to the test logic needs of object to be tested End test.
In S408, data library test, data library test can be carried out for example, when object to be tested includes database.
In S410, gsm protocol test.According to the test logic needs of object to be tested, gsm protocol test is carried out.
In S412, CDMA protocol tests.According to the test logic needs of object to be tested, CDMA protocol tests are carried out.
In S414, puppy parc test.Puppy parc corresponding to selection is tested as needed.
It will be appreciated by those skilled in the art that realize that all or part of step of above-described embodiment is implemented as being performed by CPU Computer program.When the computer program is performed by CPU, the above-mentioned work(that the above method provided by the invention is limited is performed Energy.Described program can be stored in a kind of computer-readable recording medium, and the storage medium can be read-only storage, magnetic Disk or CD etc..
Further, it should be noted that above-mentioned accompanying drawing is only the place included by method according to an exemplary embodiment of the present invention Reason schematically illustrates, rather than limitation purpose.It can be readily appreciated that above-mentioned processing shown in the drawings is not intended that or limited at these The time sequencing of reason.In addition, being also easy to understand, these processing for example can be performed either synchronously or asynchronously in multiple modules.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.It is real for apparatus of the present invention The details not disclosed in example is applied, refer to the inventive method embodiment.
Fig. 5 is a kind of block diagram of device for automatic test according to an exemplary embodiment.
Logic module 502 is used for the service logic for determining object to be measured.
Selecting module 504 is used to determine test suite according to the service logic, and the test of the test suite is suitable Sequence.
Interface module 506 is used on graphical test interface survey by the test suite and testing sequence generation Example on probation.
Test module 508 is used to build test environment, and the object to be measured is carried out automatically by the test case Change test.
In a kind of exemplary embodiment of the disclosure, in addition to:Package module (not shown), for by testization Ability is packaged, and generates the test suite.
According to the device for automatic test of the present invention, by generating test suite, and pass through graphical user circle The mode that face is connected in series test suite by modes such as draggings, and then realize the generation of test case, using the teaching of the invention it is possible to provide it is powerful Function and automatic test ability, can reduce tester technical need height, reduce test in human error, also keep away Exempt to repeat the waste of human resource that manual test is brought.
Fig. 6 is a kind of block diagram of system for automatic test according to another exemplary embodiment.
As shown in fig. 6, system architecture 100 can include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 provide communication link medium.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
Terminal device 101,102,103 is used for the service logic for determining object to be measured;Determine to survey according to the service logic Try component, and the testing sequence of the test suite;And pass through the test suite and institute on graphical test interface State testing sequence generation test case;
Server 105 can be to provide the server of various services, for providing test environment, and call the test to use Example carries out automatic test to the object to be measured;The server calls the test case to described to be measured by cloud platform Object carries out automatic test, and each power of test needs according to corresponding demand and power of test, configuration group in assembly Part, during operation, system can be by the test suite order connected, and invocation component, completes " one-stop " test assignment, finally successively Automation generation test report.Dispatched by platform service, there is provided corresponding IP address can link different servers, be distributed Formula operates, and saves.E2E tests are supported comprehensively;Testing procedure can be run on multiple devices in order;Parameter during operation can Enter different branches for controlling;Test result is aggregated into main enforcement engine and reported.
Network 104 is used to provide communication link between the terminal device and the server.Cloud computing utilizes distribution Formula calculates and the technology such as virtual resource management, (including is calculated scattered ICT resources with storage, flat using operation by network Platform, software etc.) put together to form shared resource pond, and by dynamic on-demand and it is mensurable in a manner of provide a user service.With Family can pass through Network Capture ICT resource services using various forms of terminals.
It should be understood that the number of the terminal device, network and server in Fig. 6 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
It will be appreciated by those skilled in the art that above-mentioned each module can be distributed in device according to the description of embodiment, also may be used To carry out respective change uniquely different from one or more devices of the present embodiment.The module of above-described embodiment can be merged into One module, can also be further split into multiple submodule.
The description of embodiment more than, those skilled in the art is it can be readily appreciated that example embodiment described herein It can be realized, can also be realized by way of software combines necessary hardware by software.Therefore, implemented according to the present invention The technical scheme of example can be embodied in the form of software product, and the software product can be stored in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are make it that a computing device (can To be personal computer, server, mobile terminal or network equipment etc.) perform method according to embodiments of the present invention.
Detailed description more than, those skilled in the art is it can be readily appreciated that according to embodiments of the present invention is used for certainly The method, apparatus and system of dynamicization test have one or more of the following advantages.
According to some embodiments, the method for automatic test of the invention, the method by generating test suite, with And the mode for being connected in series test suite by modes such as draggings by graphic user interface, and then realize the life of test case Into, using the teaching of the invention it is possible to provide powerful function and automatic test ability, the technical need height of tester can be reduced, is reduced in test Human error, also avoid repeating the waste of human resource that brings of manual test.
According to other embodiments, the method for automatic test of the invention, based on cloud computing platform it is integrated from Dynamicization method of testing provides distributed measuring technology, by the service dispatch of cloud platform, only need to provide corresponding IP address, Interaction of the different server finishing service flows on multiple devices can be linked, carries out remote control and scheduling, no matter by The running environment of examining system makes Windows, Linux or Android, and can all complete traditional test instrument can only be in unit The partial test step of upper completion, time, hardware resource and manpower are saved for software test.
According to other embodiments, the method for automatic test of the invention, by various testing tool abstract packages Into test suite and the corresponding interface is provided, allows various test suites to be plugged on demand in cloud platform, according to automatic test demand Corresponding atomic test ability is provided, formula supports multiple assembly to be applied in combination, the operational trials for solving complexity.There is provided mould simultaneously Plate memory function, storage template cause cloud platform, provide foundation for next time similar test, call template directly to change, very Workload and the man-hour of test job are saved in big degree.
The exemplary embodiment of the present invention is particularly shown and described above.It should be appreciated that the invention is not restricted to Detailed construction, set-up mode or implementation method described herein;On the contrary, it is intended to cover included in appended claims Various modifications and equivalence setting in spirit and scope.
In addition, structure, ratio, size shown by this specification Figure of description etc., only coordinating specification institute Disclosure, for skilled in the art realises that with reading, being not limited to the enforceable qualifications of the disclosure, therefore Do not have technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size, do not influenceing the disclosure Under the technique effect that can be generated and achieved purpose, it all should still fall and obtain and can cover in the technology contents disclosed in the disclosure In the range of.Meanwhile in this specification it is cited such as " on ", " first ", the term of " second " and " one ", be also only and be easy to Narration understands, and is not used to limit the enforceable scope of the disclosure, and its relativeness is altered or modified, without substantive change Under technology contents, when being also considered as the enforceable category of the present invention.

Claims (10)

  1. A kind of 1. method for automatic test, it is characterised in that including:
    Determine the service logic of object to be measured;
    Test suite, and the testing sequence of the test suite are determined according to the service logic;
    Test case is generated by the test suite and the testing sequence on graphical test interface;And
    Test environment is built, and automatic test is carried out to the object to be measured by the test case.
  2. 2. the method as described in claim 1, it is characterised in that also include:
    Testization ability is packaged, generates the test suite.
  3. 3. method as claimed in claim 2, it is characterised in that it is described to be packaged testization ability, generate the test Component, including:
    Interface detection ability is packaged, generates interface detection component;
    Database power of test is packaged, generates database test suite;
    Session initiation protocol power of test is packaged, generates conversation test component;And
    Communication system power of test is packaged, generates communication test component.
  4. 4. the method as described in claim 1, it is characterised in that also include:
    The graphical test interface is generated based on cloud platform.
  5. 5. the method as described in claim 1, it is characterised in that also include:
    Pass through the Test cases technology test template.
  6. 6. the method as described in claim 1, it is characterised in that also include:
    The test environment is preserved by way of IP address.
  7. 7. the method as described in claim 1, it is characterised in that described to pass through the test suite on graphical test interface Test case is generated with the testing sequence, including:
    On the graphical test interface, the test suite is selected;And
    According to the testing sequence, the test suite is sequentially connected in series, generates the test case.
  8. 8. method as claimed in claim 7, it is characterised in that it is described according to the testing sequence, by the test suite according to Secondary concatenation, the test case is generated, including:
    According to the testing sequence, the test suite is concatenated;
    Test parameter is set;And
    The test case is generated by the test parameter and test suite;
    Wherein, the test parameter includes:
    Branch judges parameter, test data arrange parameter and checkpointing parameter.
  9. A kind of 9. device for automatic test, it is characterised in that including:
    Logic module, for determining the service logic of object to be measured;
    Selecting module, for determining test suite, and the testing sequence of the test suite according to the service logic;
    Interface module, for being used on graphical test interface by the test suite and testing sequence generation test Example;And
    Test module, automatic test is carried out to the object to be measured for building test environment, and by the test case.
  10. A kind of 10. system for automatic test, it is characterised in that including:
    Terminal device, for determining the service logic of object to be measured;Test suite is determined according to the service logic, and it is described The testing sequence of test suite;And surveyed on graphical test interface by the test suite and testing sequence generation Example on probation;
    Server, for providing test environment, and the test case is called to carry out automatic test to the object to be measured;With And
    The network equipment, for providing communication link between the terminal device and the server.
CN201710733459.6A 2017-08-24 2017-08-24 Method, apparatus and system for automatic test Pending CN107506303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710733459.6A CN107506303A (en) 2017-08-24 2017-08-24 Method, apparatus and system for automatic test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710733459.6A CN107506303A (en) 2017-08-24 2017-08-24 Method, apparatus and system for automatic test

Publications (1)

Publication Number Publication Date
CN107506303A true CN107506303A (en) 2017-12-22

Family

ID=60692622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710733459.6A Pending CN107506303A (en) 2017-08-24 2017-08-24 Method, apparatus and system for automatic test

Country Status (1)

Country Link
CN (1) CN107506303A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992427A (en) * 2017-12-26 2018-05-04 顺丰科技有限公司 Create method, apparatus, equipment and its storage medium of operational trials scene
CN108710571A (en) * 2018-05-14 2018-10-26 中国建设银行股份有限公司 A kind of method and apparatus generating automatic test code
CN108833005A (en) * 2018-04-19 2018-11-16 烽火通信科技股份有限公司 Optical network communication equipment and its automated test tool packet and method for organizing network service
CN108845940A (en) * 2018-06-14 2018-11-20 云南电网有限责任公司信息中心 A kind of enterprise information system automated function test method and system
CN108959089A (en) * 2018-07-04 2018-12-07 沈文策 A kind of method for generating test case and device
CN109359025A (en) * 2018-08-14 2019-02-19 中国电子科技集团公司第二十九研究所 A kind of electronic information equipment Auto-Test System and test method
CN109933989A (en) * 2019-02-25 2019-06-25 腾讯科技(深圳)有限公司 A kind of method and device detecting loophole
CN109976992A (en) * 2017-12-27 2019-07-05 航天信息股份有限公司 A kind of automatic software test method and system
CN110232014A (en) * 2019-02-25 2019-09-13 上海蔚来汽车有限公司 Operation flow automated testing method, device, controller and medium
CN111193699A (en) * 2019-08-23 2020-05-22 腾讯科技(深圳)有限公司 Method and device for detecting security vulnerability of ZigBee device
CN111382072A (en) * 2020-03-04 2020-07-07 四川长虹电器股份有限公司 Method for automatically configuring test environment for android device
WO2020164289A1 (en) * 2019-02-15 2020-08-20 北京大米科技有限公司 Application testing method, system and apparatus, and storage medium
CN111897724A (en) * 2020-07-21 2020-11-06 国云科技股份有限公司 Automatic testing method and device suitable for cloud platform
CN112486826A (en) * 2020-11-30 2021-03-12 北京字跳网络技术有限公司 Test method, test device, electronic equipment and computer readable medium
CN112988600A (en) * 2021-04-29 2021-06-18 中国工商银行股份有限公司 Service scene testing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622234A (en) * 2012-03-07 2012-08-01 迈普通信技术股份有限公司 Development system and method for automatic test case
CN102722437A (en) * 2012-05-29 2012-10-10 北京空间飞行器总体设计部 Spacecraft test system and spacecraft test method based on assemblies and scripts
CN104615541A (en) * 2015-02-10 2015-05-13 上海创景计算机系统有限公司 Simulation testing modeling system and method based on flow chart

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622234A (en) * 2012-03-07 2012-08-01 迈普通信技术股份有限公司 Development system and method for automatic test case
CN102722437A (en) * 2012-05-29 2012-10-10 北京空间飞行器总体设计部 Spacecraft test system and spacecraft test method based on assemblies and scripts
CN104615541A (en) * 2015-02-10 2015-05-13 上海创景计算机系统有限公司 Simulation testing modeling system and method based on flow chart

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992427B (en) * 2017-12-26 2021-08-31 顺丰科技有限公司 Method, device and equipment for creating service test scene and storage medium thereof
CN107992427A (en) * 2017-12-26 2018-05-04 顺丰科技有限公司 Create method, apparatus, equipment and its storage medium of operational trials scene
CN109976992A (en) * 2017-12-27 2019-07-05 航天信息股份有限公司 A kind of automatic software test method and system
CN108833005A (en) * 2018-04-19 2018-11-16 烽火通信科技股份有限公司 Optical network communication equipment and its automated test tool packet and method for organizing network service
CN108710571A (en) * 2018-05-14 2018-10-26 中国建设银行股份有限公司 A kind of method and apparatus generating automatic test code
CN108710571B (en) * 2018-05-14 2021-11-23 中国建设银行股份有限公司 Method and device for generating automatic test code
CN108845940A (en) * 2018-06-14 2018-11-20 云南电网有限责任公司信息中心 A kind of enterprise information system automated function test method and system
CN108845940B (en) * 2018-06-14 2021-09-07 云南电网有限责任公司信息中心 Enterprise-level information system automatic function testing method and system
CN108959089A (en) * 2018-07-04 2018-12-07 沈文策 A kind of method for generating test case and device
CN109359025A (en) * 2018-08-14 2019-02-19 中国电子科技集团公司第二十九研究所 A kind of electronic information equipment Auto-Test System and test method
WO2020164289A1 (en) * 2019-02-15 2020-08-20 北京大米科技有限公司 Application testing method, system and apparatus, and storage medium
CN109933989B (en) * 2019-02-25 2021-09-07 腾讯科技(深圳)有限公司 Method and device for detecting vulnerability
CN110232014A (en) * 2019-02-25 2019-09-13 上海蔚来汽车有限公司 Operation flow automated testing method, device, controller and medium
CN109933989A (en) * 2019-02-25 2019-06-25 腾讯科技(深圳)有限公司 A kind of method and device detecting loophole
CN111193699A (en) * 2019-08-23 2020-05-22 腾讯科技(深圳)有限公司 Method and device for detecting security vulnerability of ZigBee device
CN111193699B (en) * 2019-08-23 2021-12-03 腾讯科技(深圳)有限公司 Method and device for detecting security vulnerability of ZigBee device
CN111382072A (en) * 2020-03-04 2020-07-07 四川长虹电器股份有限公司 Method for automatically configuring test environment for android device
CN111897724A (en) * 2020-07-21 2020-11-06 国云科技股份有限公司 Automatic testing method and device suitable for cloud platform
CN112486826A (en) * 2020-11-30 2021-03-12 北京字跳网络技术有限公司 Test method, test device, electronic equipment and computer readable medium
CN112988600A (en) * 2021-04-29 2021-06-18 中国工商银行股份有限公司 Service scene testing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107506303A (en) Method, apparatus and system for automatic test
CN103164328B (en) The regression testing method of a kind of business function, Apparatus and system
CN102141962B (en) Safety distributed test framework system and test method thereof
US9477581B2 (en) Integrated system and method for validating the functionality and performance of software applications
CN108845940B (en) Enterprise-level information system automatic function testing method and system
US10241897B2 (en) Identifying test gaps using code execution paths
CN106095677A (en) The RESTful Webservice automatic interface testing method realized based on Robot Framework
CN106933729A (en) A kind of method of testing and system based on cloud platform
CN108628748A (en) Automatic test management method and automatic test manage system
CN112363953B (en) Interface test case generation method and system based on crawler technology and rule engine
CN109766280A (en) Method for testing software and software test platform
Walter et al. Asking" What"?, Automating the" How"? The Vision of Declarative Performance Engineering
CN108664385A (en) A kind of test method and device of application programming interface
CN109977012A (en) Joint debugging test method, device, equipment and the computer readable storage medium of system
CN105760300B (en) A kind of automated testing method and test macro of STK/UTK business
CN110134612A (en) UI test data generating method, device, equipment and readable storage medium storing program for executing
CN106789406A (en) A kind of IEC61850 communication protocol standards consistency testing system
CN109669851A (en) Performance test script method for recording based on Selenium automation
CN105159746B (en) Reliablility simulation tool towards fault-tolerant combination web services
CN107122307B (en) Internet of things execution system
CN111104181A (en) Webpage data filling system for visually editing task flow
CN105117347B (en) Analogy method, system and the automated testing method of test data, system
Tsai et al. Scenario-based test case generation for state-based embedded systems
WO2024001594A1 (en) Operator development method and apparatus, operator processing method and apparatus, and electronic device, system and storage medium
CN111158979A (en) Service dial testing method, system, device and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171222

RJ01 Rejection of invention patent application after publication