CN106933738A - APP method of testings, APP test scripts generating means and APP test script performs devices - Google Patents

APP method of testings, APP test scripts generating means and APP test script performs devices Download PDF

Info

Publication number
CN106933738A
CN106933738A CN201710071076.7A CN201710071076A CN106933738A CN 106933738 A CN106933738 A CN 106933738A CN 201710071076 A CN201710071076 A CN 201710071076A CN 106933738 A CN106933738 A CN 106933738A
Authority
CN
China
Prior art keywords
test
app
action
measured
information
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
CN201710071076.7A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201710071076.7A priority Critical patent/CN106933738A/en
Publication of CN106933738A publication Critical patent/CN106933738A/en
Pending legal-status Critical Current

Links

Classifications

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

The present invention relates to a kind of APP method of testings, APP test scripts generating means and APP test script performs devices, wherein, methods described includes:Start APP to be measured;Each test action corresponding coordinate information on the screen of the first test equipment when testing APP to be measured is obtained successively;Obtain test ending message;By the corresponding coordinate information of each test action, according to the test script clicked on and be sequentially generated the APP to be measured corresponding with each test action.The invention enables the generation of APP test scripts, can be completed by the common test personnel for not possessing script software edit capability, improve generation and the renewal speed of test script, so as to improve the testing efficiency of whole APP tests.

Description

APP method of testings, APP test scripts generating means and APP test script performs devices
Technical field
The present invention relates to APP technical field of measurement and test, more particularly to APP method of testings, APP test scripts generating means and APP test script performs devices.
Background technology
Current tester, for the test of tested APP (Application application programs), is entered according to the function of APP Row flight data recorder is tested.Because the function of being tested APP is a lot, tester needs functional test one by one, by tester one by one The thinking and method and step of functional test are abstract write as code after, you can generation automatic test script.
The function of tested APP needs the corresponding test script of synchronous increase, the test thinking of tested APP to change when increasing when Extension test script etc. is needed when needing synchronous change test script, the software operating procedure of tested APP to increase, causes APP Test script safeguards not in time, then can directly influence testing efficiency, and then has influence on the test period of whole APP, causes big Measure the waste of human resource of tester.
The content of the invention
Based on this, it is necessary to which the test script for tested APP needs to be performed after writing code, if maintenance influences not in time The problem of meeting testing efficiency, there is provided a kind of APP method of testings, APP test scripts generating means and APP test scripts perform dress Put, methods described includes:
Start APP to be measured;
Each test action corresponding coordinate information on the screen of the first test equipment when testing APP to be measured is obtained successively;
Obtain test ending message;
By the corresponding coordinate information of each test action, it is sequentially generated according to click corresponding with each test action The test script of the APP to be measured.
Wherein in one embodiment, when test APP to be measured is obtained successively, each test action is in the first test equipment On screen the step of corresponding coordinate information after, by the corresponding coordinate information of each test action, according to described with each Before the step of corresponding click of test action is sequentially generated the test script of the APP to be measured, methods described also includes:
The corresponding test feedback information of each test action is obtained, the test feedback information includes that each test is dynamic Make the information in the pop-up of corresponding feedback;
It is described by the corresponding coordinate information of each test action, according to click corresponding with each test action sequentially The test script of the APP to be measured is generated, is also included:
By the corresponding coordinate information of each test action, and the corresponding test feedback information of each test action, press According to the test script clicked on and be sequentially generated the APP to be measured corresponding with each test action.
Wherein in one embodiment, by the corresponding coordinate information of each test action, according to each test Before the step of corresponding click of action is sequentially generated the test script of the APP to be measured, methods described also includes:
Obtain test loop information;
It is described by the corresponding coordinate information of each test action, according to click corresponding with each test action sequentially The test script of the APP to be measured is generated, is also included:
By the corresponding coordinate information of each test action, and the test loop information, according to dynamic with each test Make the corresponding test script clicked on and be sequentially generated the APP to be measured.
The present invention also provides a kind of APP method of testings, and methods described includes:
The test script of APP to be measured is obtained, each test action is second when the test script includes testing APP to be measured Corresponding coordinate information on the screen of test equipment, and click corresponding with each test action is sequentially;
Start APP to be measured;
According to the corresponding click of each test action sequentially, the coordinate information in the test script is successively read, and The corresponding test action of the coordinate information is performed on the screen of second test equipment according to the coordinate information.
Wherein in one embodiment, each test action is surveyed second when the test script includes testing APP to be measured Corresponding coordinate information on the screen of examination equipment, and click corresponding with each test action is sequentially, also includes:
The corresponding test feedback information of each test action, the test feedback information includes each test action pair Information in the feedback pop-up answered;
Sequentially, the coordinate information in the test script is successively read according to the corresponding click of each test action, And the corresponding test action of the coordinate information is performed on the screen of second test equipment according to the coordinate information After step, also include:
Read the corresponding test actual feedback information of the testing procedure;
When test actual feedback information test feedback information corresponding with the test action is inconsistent, stop surveying Try the APP to be measured.
Wherein in one embodiment, each test action is corresponding in test equipment when testing APP to be measured by obtaining Coordinate information, the method that the corresponding coordinate information of each test action is generated into test script according to operation order so that APP The generation of test script, can be completed by the common test personnel for not possessing script software edit capability, improve test script Generation and renewal speed, so as to improve the testing efficiency of whole APP test.
Wherein in one embodiment, by obtaining the corresponding feedback information of each test action, and by each test action pair The feedback information answered is added in the test script of generation, so that the test script is in the process of implementation, if the test The actual feedback information of survey action is different from test script, then stop performing the test script, so that whole testing process It is more perfect, improve the testing efficiency of APP tests.
Wherein in one embodiment, by test loop information, in the test script of addition generation, so that the survey Training originally can carry circulation execution information, it is to avoid need to provide test loop information by external program, further improve The automaticity of test script is generated, the efficiency of APP tests is improved.
Wherein in one embodiment, after obtaining the test script of APP to be measured, according to the coordinate information in the script, Corresponding clicking operation is performed on the screen of test equipment successively, you can complete test.Tester need not be to APP to be measured In various functions and the programming language of test script have deep understanding, you can complete the test job of APP to be measured, improve The testing efficiency of APP tests.
Wherein in one embodiment, by reading the feedback information of the test action carried in the test script, will It compares with the actual feedback information of the test action for getting, follow-up when the test information is inconsistent Test action need not be performed, and improve the testing efficiency of APP tests, it is to avoid the execution of insignificant test action.
The present invention also provides a kind of APP test scripts generating means, including:
Starting module, for starting APP to be measured;
Coordinate information acquisition module, each test action is in the first test equipment when testing APP to be measured for obtaining successively Corresponding coordinate information on screen;
Test ending message acquisition module, for obtaining test ending message;
Test script generation module, for by the corresponding coordinate information of each test action, according to each test Action is corresponding to click on the test script for being sequentially generated the APP to be measured.
Wherein in one embodiment, also include:
Feedback information acquisition module, for obtaining the corresponding test feedback information of each test action, the test is anti- Feedforward information includes the information in each test action corresponding feedback pop-up;
The test script generation module, is additionally operable to the corresponding coordinate information of each test action, and each survey Examination acts corresponding test feedback information, is sequentially generated the APP's to be measured according to click on corresponding with each test action Test script.
Wherein in one embodiment, also include:
Test loop data obtaining module, for obtaining test loop information;
The test script generation module, is additionally operable to the corresponding coordinate information of each test action, and the test Cyclical information, according to the test script clicked on and be sequentially generated the APP to be measured corresponding with each test action.
The present invention also provides a kind of APP test scripts performs device, including:
Test script acquisition module, the test script for obtaining APP to be measured, the test script includes that test is to be measured Each test action corresponding coordinate information on the screen of the second test equipment during APP, and it is corresponding with each test action Click sequentially;
Test starting module, for starting APP to be measured;
Testing execution module, sequentially, the test pin is successively read for according to the corresponding click of each test action Coordinate information in this, and the coordinate information pair is performed on the screen of second test equipment according to the coordinate information The test action answered.
Wherein in one embodiment, also include:
The test script acquisition module, for also including the corresponding survey of each test action in the test script of acquisition Examination feedback information, the test feedback information includes the information in each test action corresponding feedback pop-up;
Test actual feedback data obtaining module, for reading the corresponding test actual feedback information of the testing procedure;
Stop test judge module, for testing anti-when the test actual feedback information is corresponding with the test action When feedforward information is inconsistent, stop the test APP to be measured.
Wherein in one embodiment, each test action is corresponding in test equipment when testing APP to be measured by obtaining Coordinate information, the method that the corresponding coordinate information of each test action is generated into test script according to operation order so that APP The generation of test script, can be completed by the common test personnel for not possessing script software edit capability, improve test script Generation and renewal speed, so as to improve the testing efficiency of whole APP test.
Wherein in one embodiment, by obtaining the corresponding feedback information of each test action, and by each test action pair The feedback information answered is added in the test script of generation, so that the test script is in the process of implementation, if the test The actual feedback information of survey action is different from test script, then stop performing the test script, so that whole testing process It is more perfect, improve the testing efficiency of APP tests.
Wherein in one embodiment, by test loop information, in the test script of addition generation, so that the survey Training originally can carry circulation execution information, it is to avoid need to provide test loop information by external program, further improve The automaticity of test script is generated, the efficiency of APP tests is improved.
Wherein in one embodiment, after obtaining the test script of APP to be measured, according to the coordinate information in the script, Corresponding clicking operation is performed on the screen of test equipment successively, you can complete test.Tester need not be to APP to be measured In various functions and the programming language of test script have deep understanding, you can complete the test job of APP to be measured, improve The testing efficiency of APP tests.
Wherein in one embodiment, by reading the feedback information of the test action carried in the test script, will It compares with the actual feedback information of the test action for getting, follow-up when the test information is inconsistent Test action need not be performed, and improve the testing efficiency of APP tests, it is to avoid the execution of insignificant test action.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the APP method of testings of one embodiment;
Fig. 2 is the schematic flow sheet of the APP method of testings of another embodiment;
Fig. 3 is the schematic flow sheet of the APP method of testings of one embodiment;
Fig. 4 is the structural representation of the APP test script generating means of another embodiment;
Fig. 5 is the structural representation of the APP test script generating means of another embodiment;
Fig. 6 is the structural representation of the APP test script performs devices of one embodiment;
Fig. 7 is the structural representation of the APP test script performs devices of another embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with drawings and Examples pair The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the present invention, not For limiting the present invention.
Fig. 1 for one embodiment APP method of testings schematic flow sheet, APP method of testings as shown in Figure 1, including:
Step S100, starts APP to be measured.
Specifically, due to needing to test the various functions and operating process of APP to be measured, treated, it is necessary to start before test APP is surveyed, APP to be measured is started test, or the generation for proceeding by test script in the present embodiment after being in starting state Work.
Step S200, obtains each test action when testing APP to be measured corresponding on the screen of the first test equipment successively Coordinate information.
Specifically, after the APP to be measured being loaded on into test equipment, after APP to be measured starts, each testing procedure correspondence Test action, all without in same coordinate points, such as cancel or confirm, the different position on screen can be respectively displayed on Put, therefore, each test action, can be by each test action in test according to the sequencing after APP to be measured startups Coordinate points on the screen of equipment are recorded.
Step S300, obtains test ending message.
Specifically, due to test APP to be measured when, the difference of each testing process, or every time test when APP to be measured it is specific Reaction is different, and is that testing procedure is recorded by way of the coordinate points for recording test action in the present embodiment, rather than note The interior perhaps operational feedback information of concrete operations of test action is recorded, accordingly, it would be desirable to by knowing a test ending message come boundary The end of the test action of fixed whole test script.
The concrete mode of test ending message is obtained, the option that can terminate by setting a test supplies tester's point After hitting, the test ending message is obtained, it is also possible to by setting a duration, when no further more than fixed duration When coordinate information is acquired, then test ending message is obtained.
Step S400, by the corresponding coordinate information of each test action, according to point corresponding with each test action Hit the test script for being sequentially generated the APP to be measured.
Specifically, by the corresponding coordinate information of each test action, stored by way of Sql ite databases Come.When the test script is generated, it is necessary to by the coordinate information of test action, according to the execution sequence of the test action, In write-in test script, to generate the test script of APP to be measured.
In the present embodiment, each test action corresponding coordinate in test equipment is believed when testing APP to be measured by obtaining Breath, the method that the corresponding coordinate information of each test action is generated into test script according to operation order so that APP tests pin This generation, can be completed by the common test personnel for not possessing script software edit capability, improve the generation of test script And renewal speed, so as to improve the testing efficiency of whole APP tests.
Wherein in one embodiment, when test APP to be measured is obtained successively, each test action is in the first test equipment On screen the step of corresponding coordinate information after, by the corresponding coordinate information of each test action, according to described with each Before the step of corresponding click of test action is sequentially generated the test script of the APP to be measured, methods described also includes:Obtain The corresponding test feedback information of each test action, the test feedback information includes the corresponding feedback of each test action Information in pop-up;It is described by the corresponding coordinate information of each test action, according to point corresponding with each test action The test script for being sequentially generated the APP to be measured is hit, is also included:By the corresponding coordinate information of each test action, He Gesuo The corresponding test feedback information of test action is stated, is sequentially generated according to click corresponding with each test action described to be measured The test script of APP.
Specifically, in the test process of APP to be measured, each test action may all include different feedback letters Breath, such as operation failure caused by a variety of causes, the feedback information are shown by pop-up or directly in the display page of APP Abnormal information is showed.
By way of the certain words of the customizing messages in obtaining the feedback information, it is also possible to by specific mistake The information of losing carries out the mode of full text matching, obtains the feedback information of test action.
After getting the feedback information of fc-specific test FC action, by the combination of the corresponding feedback information of test action, So that for whole test process, the logical relation between the corresponding coordinate information of each test action is stronger.
In the present embodiment, by obtaining the corresponding feedback information of each test action, and by the corresponding institute of each test action In stating the test script that feedback information adds generation, so that the test script is in the process of implementation, if the test survey action Actual feedback information it is different from test script, then stop performing the test script, so that whole testing process is more added It is kind, improve the testing efficiency of APP tests.
Wherein in one embodiment, by the corresponding coordinate information of each test action, according to each test Before the step of corresponding click of action is sequentially generated the test script of the APP to be measured, methods described also includes:Obtain test Cyclical information;It is described by the corresponding coordinate information of each test action, according to it is corresponding with each test action click on it is suitable Sequence generates the test script of the APP to be measured, also includes:By the corresponding coordinate information of each test action, and the test Cyclical information, according to the test script clicked on and be sequentially generated the APP to be measured corresponding with each test action.
Specifically, due to needing a fairly large number of multiple circulation in APP tests, described cycle-index write-in is described After in test script, the loop test implementation procedure of test script need not be realized by outside service again, concrete implementation Mode, can be implemented by way of setting number of operations flag bit.
In the present embodiment, by test loop information, in the test script of addition generation, so that the test script Circulation execution information can be carried, it is to avoid need to provide test loop information by external program, further increase and give birth to Into the automaticity of test script, the efficiency of APP tests is improved.
Fig. 2 is the schematic flow sheet of the APP method of testings of another embodiment, APP method of testings as shown in Figure 2, bag Include:
Step S10, obtains the test script of APP to be measured, and it is dynamic that the test script includes testing each test during APP to be measured Make the corresponding coordinate information on the screen of the second test equipment, and click corresponding with each test action is sequentially.
Specifically, an APP to be measured can have multiple test scripts, after determining the test content of APP to be measured, obtain institute State the corresponding test script of test content.The test script performs test, by performing pressing in the test script successively The corresponding test action of coordinate information of journal is realized.
Step S20, starts APP to be measured.
Specifically, after getting the test script, start APP to be measured, have been enter into test mode.
Step S30, according to the corresponding click of each test action sequentially, is successively read the coordinate in the test script Information, and it is dynamic that the corresponding test of the coordinate information is performed on the screen of second test equipment according to the coordinate information Make.
Specifically, by the corresponding position of the coordinate information, performing clicking operation, you can the test for completing response is moved Make, after the test action in test script is performed in sequence, you can complete the test content of test script.
Described execution test action in sequence, it may be possible to which tester manually performs, it is also possible to by what is set Program is performed automatically.
In the present embodiment, after obtaining the test script of APP to be measured, according to the coordinate information in the script, exist successively Corresponding clicking operation is performed on the screen of test equipment, you can complete test.Tester need not to APP to be measured in it is each The programming language for planting function and test script has deep understanding, you can complete the test job of APP to be measured, improves APP surveys The testing efficiency of examination.
Fig. 3 for one embodiment APP method of testings schematic flow sheet, APP method of testings as shown in Figure 3, including:
Step S10a, obtains the test script of APP to be measured, and the test script includes respectively being tested when testing APP to be measured Action corresponding coordinate information on the screen of the second test equipment, and click corresponding with each test action is sequentially, Also include the corresponding test feedback information of each test action, the test feedback information includes each test action correspondence Feedback pop-up in information.
Specifically, in the test script, the test feedback information of each test action is included, due to APP's In course of normal operation and test operating procedure, all can be according to the execution curriculum offering feedback information of operational motion, such as APP operations When opening certain page, when there is mistake and cannot open the page, a feedback information prompting operator can be given because which kind of Reason is opened unsuccessfully etc., and for being tested particularly with APP, such operational feedback information is extremely important, therefore, in test script In, after the feedback information that different operating is acted is included, the flow logic that can operate APP is stronger, is more directed to Property.
Step S20a, starts APP to be measured.
Specifically, the step of startup APP to be measured, it is also possible to performed before the step of step S10a.
Step S30a, according to the corresponding click of each test action sequentially, is successively read the seat in the test script Mark information, and the corresponding test of the coordinate information is performed on the screen of second test equipment according to the coordinate information Action.
Specifically, with step S30.
Step S40a, reads the corresponding test actual feedback information of the testing procedure.
Specifically, when the testing procedure has corresponding test feedback information, what is actually got in read test is anti- Feedforward information.The acquisition of the feedback information, by extracting the content in pop-up, or by extracting the content of the APP pages.
Step S50a, when test actual feedback information test feedback information corresponding with the test action is inconsistent When, stop the test APP to be measured.
Specifically, when the actual feedback information, when different with the feedback information set in test script, then The testing procedure of execution, is not combined the good flow of script testing setup, it is therefore desirable to stop the test APP to be measured.
In the present embodiment, by reading the feedback information of the test action carried in the test script, by it and obtain The actual feedback information of the test action got is compared, and when the test information is inconsistent, follow-up test is moved Work need not be performed, and improve the testing efficiency of APP tests, it is to avoid the execution of insignificant test action.
Fig. 4 is the structural representation of the APP test script generating means of another embodiment, and such as Fig. 4 is implemented for another The APP test script generating means of example, including:
Starting module 100, for starting APP to be measured;
Coordinate information acquisition module 200, each test action is in the first test equipment when testing APP to be measured for obtaining successively Screen on corresponding coordinate information;
Test ending message acquisition module 300, for obtaining test ending message;
Test script generation module 400, for by the corresponding coordinate information of each test action, according to each survey Examination action is corresponding to click on the test script for being sequentially generated the APP to be measured.
In the present embodiment, each test action corresponding coordinate in test equipment is believed when testing APP to be measured by obtaining Breath, the method that the corresponding coordinate information of each test action is generated into test script according to operation order so that APP tests pin This generation, can be completed by the common test personnel for not possessing script software edit capability, improve the generation of test script And renewal speed, so as to improve the testing efficiency of whole APP tests.
Fig. 5 is the structural representation of the APP test script generating means of another embodiment, APP tests as shown in Figure 5 Script generation device, including:
Starting module 100, for starting APP to be measured.
Coordinate information acquisition module 200, each test action is in the first test equipment when testing APP to be measured for obtaining successively Screen on corresponding coordinate information.
Test ending message acquisition module 300, for obtaining test ending message.
Test script generation module 400, for by the corresponding coordinate information of each test action, according to each survey Examination action is corresponding to click on the test script for being sequentially generated the APP to be measured;It is additionally operable to the corresponding seat of each test action Mark information, and the corresponding test feedback information of each test action, according to click corresponding with each test action sequentially Generate the test script of the APP to be measured;It is additionally operable to the corresponding coordinate information of each test action, and the test loop Information, according to the test script clicked on and be sequentially generated the APP to be measured corresponding with each test action.
Feedback information acquisition module 500, for obtaining the corresponding test feedback information of each test action, the test Feedback information includes the information in each test action corresponding feedback pop-up;
Test loop data obtaining module 600, for obtaining test loop information;
In the present embodiment, by obtaining the corresponding feedback information of each test action, and by the corresponding institute of each test action In stating the test script that feedback information adds generation, so that the test script is in the process of implementation, if the test survey action Actual feedback information it is different from test script, then stop performing the test script, so that whole testing process is more added It is kind, improve the testing efficiency of APP tests.By test loop information, in the test script of addition generation, so that the test Script can carry circulation execution information, it is to avoid need to provide test loop information by external program, further increase The automaticity of generated test script, improves the efficiency of APP tests.
Fig. 6 is the structural representation of the APP test script performs devices of one embodiment, APP test pin as shown in Figure 6 This performs device, including:
Test script acquisition module 10, the test script for obtaining APP to be measured, the test script includes that test is treated Survey APP when each test action corresponding coordinate information on the screen of the second test equipment, and with each test action pair The click answered is sequentially;
Test starting module 20, for starting APP to be measured;
Testing execution module 30, sequentially, the test is successively read for according to the corresponding click of each test action Coordinate information in script, and the coordinate information is performed on the screen of second test equipment according to the coordinate information Corresponding test action.
In the present embodiment, after obtaining the test script of APP to be measured, according to the coordinate information in the script, exist successively Corresponding clicking operation is performed on the screen of test equipment, you can complete test.Tester need not to APP to be measured in it is each The programming language for planting function and test script has deep understanding, you can complete the test job of APP to be measured, improves APP surveys The testing efficiency of examination.
Fig. 7 is the structural representation of the APP test script performs devices of another embodiment, APP tests as shown in Figure 7 Script performs device, including:
Test script acquisition module 10, the test script for obtaining APP to be measured, the test script includes that test is treated Survey APP when each test action corresponding coordinate information on the screen of the second test equipment, and with each test action pair The click answered is sequentially;It is described for also including the corresponding test feedback information of each test action in the test script of acquisition Test feedback information includes the information in each test action corresponding feedback pop-up.
Test starting module 20, for starting APP to be measured.
Testing execution module 30, sequentially, the test is successively read for according to the corresponding click of each test action Coordinate information in script, and the coordinate information is performed on the screen of second test equipment according to the coordinate information Corresponding test action.
Test actual feedback data obtaining module 40, for reading the corresponding test actual feedback letter of the testing procedure Breath.
Stop test judge module 50, for when test actual feedback information test corresponding with the test action When feedback information is inconsistent, stop the test APP to be measured.
In the present embodiment, by reading the feedback information of the test action carried in the test script, by it and obtain The actual feedback information of the test action got is compared, and when the test information is inconsistent, follow-up test is moved Work need not be performed, and improve the testing efficiency of APP tests, it is to avoid the execution of insignificant test action.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality Apply 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 of this specification record is all considered to be.
Embodiment described above only expresses several embodiments of the invention, and its description is more specific and detailed, but simultaneously Can not therefore be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the art Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of APP method of testings, it is characterised in that methods described includes:
Start APP to be measured;
Each test action corresponding coordinate information on the screen of the first test equipment when testing APP to be measured is obtained successively;
Obtain test ending message;
By the corresponding coordinate information of each test action, it is sequentially generated according to click corresponding with each test action described The test script of APP to be measured.
2. APP method of testings according to claim 1, it is characterised in that respectively tested when obtaining and testing APP to be measured successively Action on the screen of the first test equipment the step of corresponding coordinate information after, by the corresponding seat of each test action Mark information, the step of be sequentially generated the test script of the APP to be measured according to click corresponding with each test action before, Methods described also includes:
The corresponding test feedback information of each test action is obtained, the test feedback information includes each test action pair Information in the feedback pop-up answered;
It is described by the corresponding coordinate information of each test action, be sequentially generated according to click corresponding with each test action The test script of the APP to be measured, also includes:
By the corresponding coordinate information of each test action, and the corresponding test feedback information of each test action, according to Each test action is corresponding to click on the test script for being sequentially generated the APP to be measured.
3. APP method of testings according to claim 1, it is characterised in that by the corresponding coordinate of each test action Information, the step of be sequentially generated the test script of the APP to be measured according to click corresponding with each test action before, institute Stating method also includes:
Obtain test loop information;
It is described by the corresponding coordinate information of each test action, be sequentially generated according to click corresponding with each test action The test script of the APP to be measured, also includes:
By the corresponding coordinate information of each test action, and the test loop information, according to each test action pair The click answered is sequentially generated the test script of the APP to be measured.
4. a kind of APP method of testings, it is characterised in that methods described includes:
The test script of APP to be measured is obtained, each test action is in the second test when the test script includes testing APP to be measured Corresponding coordinate information on the screen of equipment, and click corresponding with each test action is sequentially;
Start APP to be measured;
According to the corresponding click of each test action sequentially, it is successively read the coordinate information in the test script, and according to The coordinate information performs the corresponding test action of the coordinate information on the screen of second test equipment.
5. APP method of testings according to claim 4, it is characterised in that the test script includes test APP to be measured When each test action corresponding coordinate information on the screen of the second test equipment, and point corresponding with each test action Order is hit, is also included:
The corresponding test feedback information of each test action, the test feedback information includes that each test action is corresponding Information in feedback pop-up;
Sequentially, the coordinate information in the test script, and root are successively read according to the corresponding click of each test action The step of corresponding test action of the coordinate information is performed on the screen of second test equipment according to the coordinate information Afterwards, also include:
Read the corresponding test actual feedback information of the testing procedure;
When test actual feedback information test feedback information corresponding with the test action is inconsistent, stop test institute State APP to be measured.
6. a kind of APP test scripts generating means, it is characterised in that methods described includes:
Starting module, for starting APP to be measured;
Coordinate information acquisition module, screen of each test action in the first test equipment when testing APP to be measured for obtaining successively Upper corresponding coordinate information;
Test ending message acquisition module, for obtaining test ending message;
Test script generation module, for by the corresponding coordinate information of each test action, according to each test action It is corresponding to click on the test script for being sequentially generated the APP to be measured.
7. APP test scripts generating means according to claim 6, it is characterised in that also include:
Feedback information acquisition module, for obtaining the corresponding test feedback information of each test action, the test feedback letter Breath includes the information in each test action corresponding feedback pop-up;
The test script generation module, is additionally operable to the corresponding coordinate information of each test action, and each test is dynamic Make corresponding test feedback information, according to the test clicked on and be sequentially generated the APP to be measured corresponding with each test action Script.
8. APP test scripts generating means according to claim 6, it is characterised in that also include:
Test loop data obtaining module, for obtaining test loop information;
The test script generation module, is additionally operable to the corresponding coordinate information of each test action, and the test loop Information, according to the test script clicked on and be sequentially generated the APP to be measured corresponding with each test action.
9. a kind of APP test scripts performs device, it is characterised in that including:
Test script acquisition module, the test script for obtaining APP to be measured, the test script includes test APP to be measured When each test action corresponding coordinate information on the screen of the second test equipment, and point corresponding with each test action Hit order;
Test starting module, for starting APP to be measured;
Testing execution module, sequentially, is successively read in the test script for according to the corresponding click of each test action Coordinate information, and it is corresponding on the screen of second test equipment to perform the coordinate information according to the coordinate information Test action.
10. APP test scripts performs device according to claim 9, it is characterised in that also include:
The test script acquisition module, it is anti-for also including the corresponding test of each test action in the test script of acquisition Feedforward information, the test feedback information includes the information in each test action corresponding feedback pop-up;
Test actual feedback data obtaining module, for reading the corresponding test actual feedback information of the testing procedure;
Stop test judge module, for when test actual feedback information test feedback letter corresponding with the test action When ceasing inconsistent, stop the test APP to be measured.
CN201710071076.7A 2017-02-09 2017-02-09 APP method of testings, APP test scripts generating means and APP test script performs devices Pending CN106933738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710071076.7A CN106933738A (en) 2017-02-09 2017-02-09 APP method of testings, APP test scripts generating means and APP test script performs devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710071076.7A CN106933738A (en) 2017-02-09 2017-02-09 APP method of testings, APP test scripts generating means and APP test script performs devices

Publications (1)

Publication Number Publication Date
CN106933738A true CN106933738A (en) 2017-07-07

Family

ID=59423404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710071076.7A Pending CN106933738A (en) 2017-02-09 2017-02-09 APP method of testings, APP test scripts generating means and APP test script performs devices

Country Status (1)

Country Link
CN (1) CN106933738A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667911A (en) * 2018-04-23 2018-10-16 广州赫炎大数据科技有限公司 A kind of collecting method and system of application program
CN110334017A (en) * 2019-06-18 2019-10-15 平安普惠企业管理有限公司 The generation method and relevant apparatus of test script
CN112069080A (en) * 2020-09-23 2020-12-11 北京合众伟奇科技股份有限公司 Automatic executable script test method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314386A (en) * 2011-09-05 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for testing mobile terminal
CN103544106A (en) * 2013-10-31 2014-01-29 广东欧珀移动通信有限公司 Method and device for generating script based on control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314386A (en) * 2011-09-05 2012-01-11 百度在线网络技术(北京)有限公司 Method and equipment for testing mobile terminal
CN103544106A (en) * 2013-10-31 2014-01-29 广东欧珀移动通信有限公司 Method and device for generating script based on control

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667911A (en) * 2018-04-23 2018-10-16 广州赫炎大数据科技有限公司 A kind of collecting method and system of application program
CN108667911B (en) * 2018-04-23 2021-12-28 广州赫炎大数据科技有限公司 Data acquisition method and system for application program
CN110334017A (en) * 2019-06-18 2019-10-15 平安普惠企业管理有限公司 The generation method and relevant apparatus of test script
CN110334017B (en) * 2019-06-18 2024-03-01 天航长鹰(江苏)科技有限公司 Test script generation method and related device
CN112069080A (en) * 2020-09-23 2020-12-11 北京合众伟奇科技股份有限公司 Automatic executable script test method and system

Similar Documents

Publication Publication Date Title
WO2018010552A1 (en) Test method and device
US4696003A (en) System for testing interactive software
EP2245551B1 (en) Identification of elements of currently-executing component script
US10162742B2 (en) System and method for end to end performance response time measurement based on graphic recognition
JPS62212867A (en) Multi-mode simulation system
CN106933738A (en) APP method of testings, APP test scripts generating means and APP test script performs devices
CN107357724A (en) Automatic software test method and device in Android system
US20070061641A1 (en) Apparatus and method for generating test driver
Finsterwalder Automating acceptance tests for GUI applications in an extreme programming environment
CN104820634A (en) Method and device for detecting page test track
CN106598834A (en) UI (User Interface) testing method and device
US20030004663A1 (en) Facilitating comparisons between simulated and actual behavior of electronic devices
CN106528429A (en) UI testing method and device
CN105550114B (en) Automated testing method, device and mobile terminal
CN107704389B (en) Page testing method and device
CN107622017A (en) A kind of analytic method of general automation software test
CN113127486B (en) Information collection and storage method, device, equipment and storage medium
CN108959078A (en) A kind of end Windows automatic software test method and system
CN105653445B (en) A kind of implementation method for meeting DO 178C test results
Roberts et al. An online programming assessment tool
CN107491395A (en) A kind of self-defined test case framework application method
CN107122218A (en) A kind of software development methodology and system
CN114942890B (en) User interface testing method, device, equipment and medium
Fuchs et al. Monitoring students' mobile app coding behavior data analysis based on IDE and browser interaction logs
Osei-Owusu et al. Grading-based test suite augmentation

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

Application publication date: 20170707