CN110069407A - A kind of function test method and device of application program - Google Patents

A kind of function test method and device of application program Download PDF

Info

Publication number
CN110069407A
CN110069407A CN201910267191.0A CN201910267191A CN110069407A CN 110069407 A CN110069407 A CN 110069407A CN 201910267191 A CN201910267191 A CN 201910267191A CN 110069407 A CN110069407 A CN 110069407A
Authority
CN
China
Prior art keywords
test
application program
measured
traversal
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910267191.0A
Other languages
Chinese (zh)
Other versions
CN110069407B (en
Inventor
戴亦斌
陈明明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Testin Information Technology Co Ltd
Original Assignee
Guangzhou Cloud Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Cloud Information Technology Co Ltd filed Critical Guangzhou Cloud Information Technology Co Ltd
Priority to CN201910267191.0A priority Critical patent/CN110069407B/en
Publication of CN110069407A publication Critical patent/CN110069407A/en
Application granted granted Critical
Publication of CN110069407B publication Critical patent/CN110069407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • 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/3692Test management for test results analysis

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 invention discloses a kind of function test method of application program, method comprises determining that the traversal test information of application program to be measured;Information is tested based on the traversal, each test path of the application program to be measured is determined, and analyze the corresponding function of each test path, for the testing to brake to the application program to be measured based on corresponding test path.The embodiment of the present invention, due to before to being tested to brake of application program to be measured, it is no longer necessary to which tester writes the test case to brake, therefore can more efficiently carry out the functional test of application program.

Description

A kind of function test method and device of application program
Technical field
The present invention relates to the function test methods and device of field of terminal more particularly to a kind of application program.
Background technique
Functional test, which refers to, tests the various functions of application program, checks whether application program reaches user's requirement Function.
Current functional test scheme is the test case write according to tester, is surveyed item by item to a certain function Examination, since the function of application program is more and complicated, writes test case and needs to spend more time, answer to reduce With the efficiency of the functional test of program.
Therefore, a kind of function test method of efficient application program is needed.
Summary of the invention
The embodiment of the present invention provides a kind of function test method of application program, to solve the functional test effect of application program The low problem of rate.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, a kind of function test method of application program is provided, this method comprises:
Determine the traversal test information of application program to be measured;
Information is tested based on the traversal, determines each test path of the application program to be measured, and analyze each survey The corresponding function in path is tried, for the testing to brake to the application program to be measured based on corresponding test path.
Second aspect provides a kind of device for testing functions of application program, which includes:
Determining module, for determining that the traversal of application program to be measured tests information;
Analysis module, for determining each test path of the application program to be measured based on traversal test information, and Analyze the corresponding function of each test path, for based on corresponding test path to the application program to be measured to measurement of power It can be carried out test.
The third aspect, provides a kind of terminal device, and the terminal device includes: processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing method as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, stores meter on the computer readable storage medium Calculation machine program, the step of method as described in relation to the first aspect is realized when the computer program is executed by processor.
In embodiments of the present invention, information is tested by the traversal of application program to be measured, to determine application program to be measured Each test path, and analyze the function of each test path, for based on application program to be measured to the corresponding test road of brake Diameter, treating measurement of power can be carried out test.Due to before to being tested to brake of application program to be measured, it is no longer necessary to test Personnel write the test case to brake, therefore can more efficiently carry out the functional test of application program.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow diagram of the function test method for application program that one embodiment of the present of invention provides;
Fig. 2 is that a kind of method for each test path for determining application program to be measured that one embodiment of the present of invention provides is shown It is intended to;
Fig. 3 be another embodiment of the present invention provides a kind of application program function test method process signal Figure;
Fig. 4 is a kind of structural schematic diagram of the device for testing functions for application program that one embodiment of the present of invention provides;
Fig. 5 is a kind of structural schematic diagram for terminal device that one embodiment of the present of invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow diagram of the function test method for application program that one embodiment of the present of invention provides, Referring to Fig. 1, this method can specifically include following steps:
Step 102: determining the traversal test information of application program to be measured.
Wherein, application program to be measured can be the application programs such as camera, chat software, payment software on mobile terminal; Traversal test information can be application program to be measured during carrying out traversal test, traversal test determined by test platform Relevant information.
It should be noted that a kind of implementation of step 102 can be with are as follows:
Step S1: traversal test is carried out to the application program to be measured, in the page for determining the application program to be measured It is respectively clicked control, and records the jump page for being respectively clicked control;
Step S2: it is respectively clicked control and the jump page based on described, determines the traversal of the application program to be measured Test information.
Wherein, control refers to the encapsulation to data and method, and control includes user interface controls, chart control etc.;It is to be measured Control in the page of application program is user interface controls, user interface controls include button control, Input and under Pull-type menu control etc.;Jump page is clicked the page jumped afterwards by a certain user interface controls.
For step S1 and step S2, specifically can be exemplified are as follows:
Test platform is based on default traversal rule and carries out traversal test to the application program to be measured, and default traversal rule can Think the click order of each control in preset application program;Default traversal rule can be depth-first traversal rule Then, breadth first traversal rule or other default traversal rules etc.;It is using default traversal rule as breadth first traversal rule Example is illustrated:
Firstly, test platform determines each control in the initial page of application program to be measured, and successively click described each A control, and record the jump page of each control;Secondly, test platform determines each control in each jump page, and according to It is secondary to click each control, and the jump page of each control is recorded, finally, until test platform applies journey for be measured All controls in all pages of sequence have been clicked, and have recorded the jump page of all controls, then traverse test and complete, to be measured The traversal test information of application program includes being respectively clicked control and be respectively clicked jumping for control in application program to be measured The page.
Based on this, traversal test information is determined by being clicked control with the jump page of control is clicked, can be made The determination that test information must be traversed is more accurate.
In addition, it is described be clicked control be Input when, after step S1, method further include: word content note Record step, the implementation of the step can be with are as follows:
It is recorded in the word content inputted in text box.It specifically can be exemplified are as follows:
Input is user name Input, then test platform is recorded in the user inputted in user name text box Name;Input is cryptogram frame control, then test platform is recorded in the password inputted in cryptogram frame.
Based on this, not only record is clicked the jump page of control, when being clicked control is Input, also records The word content inputted in text box enables to the relevant information for being clicked control of record more complete.
Step 104: information being tested based on the traversal, determines each test path of the application program to be measured, and analyze Each test path corresponding function, for based on corresponding test path to the application program to be measured to brake into Row test.
It should be noted that testing information in step 104 based on the traversal, determining each of the application program to be measured A kind of implementation of test path can be with are as follows:
Step S1: information is tested based on the traversal, analyzes the jump for being respectively clicked control and each jump page Transfer the registration of Party membership, etc. from one unit to another;
Step S2: jumping relationship based on described, determines each test path of the application program to be measured.
Fig. 2 is that a kind of method for each test path for determining application program to be measured that one embodiment of the present of invention provides is shown It is intended to, referring to fig. 2, step S1 and step S2 specifically can be exemplified are as follows:
Traversal test information includes that first page is respectively clicked control into the 5th page, and is respectively clicked control Jump page;After control 1 in first page is clicked, second page is jumped to, after the control 2 in second page is clicked, The third page is jumped to, after the control 5 in the third page is clicked, the 4th page is jumped to, can not clicked in the 4th page Control, it is determined that a test path are as follows: first page → 1 → second page of control → 3 → third of control page → control 5 → the four page;Similarly, it may be determined that another test path are as follows: first page → control 2 → five pages → control 8 → the Six pages → control 9 → the 7th page.
Based on this, by analyze be clicked control and jump page jump relationship, to determine each of application program to be measured Test path enables to the determination of each test path more accurate and convenient.
It should be noted that in step 104, a kind of implementation for analyzing the corresponding function of each test path can be with Are as follows:
Step S1: the icon of control is clicked in identification each test path, respectively to analyze each test path pair The function of answering.It specifically can be exemplified are as follows:
Test platform judges the icon and built in advance for being respectively clicked control in a certain test path using image recognition mode Whether the icon in vertical control icons library matches, if matching, identifying that this is clicked control is the icon that matches in icon library Corresponding control, similarly, other that can identify in this test path are clicked the icon of control, to identify that other are clicked Control;For example, identifying that the control on a certain test path is successively to need to input any one in account, cell-phone number and mailbox Input, the login button control that needs to input the Input of password and clicked, then can analyze The corresponding function of the test path is the login function of application program;Similarly, the corresponding function of other test paths can be analyzed.
Based on this, by identifying the icon for being respectively clicked control in each test path, to analyze pair of each test path The function of answering enables to the analysis of the corresponding function of test path more convenient and accurate.
In addition, after step 104, method further include: corresponding relationship establishment step, the implementation of the step can be with Are as follows:
Establish the corresponding relationship of test path and function.
It, being capable of quickly and conveniently the surveying to brake to application program to be measured based on corresponding test path based on this Examination.
In addition, after corresponding relationship establishment step, method further include: functional test step to be measured, the realization of the step Mode can be with are as follows:
Step S1: determine the application program to be measured to brake;
Step S2: being based on the corresponding relationship, determining described to the corresponding target detection path of brake, and based on described Target detection path is tested to brake described.
Target detection path is determined, and function survey is carried out based on target detection path by being based on corresponding relationship based on this Examination, enables to the test to brake more convenient and accurate.
It should be noted that in step S1 when brake is login function, being surveyed based on the target in step S2 Path is tried, it can be with to the implementation tested to brake are as follows:
Based on the target detection path and the word content, tested to brake described.It specifically can be with Example are as follows:
When application program to be measured is chat software, what test platform determined application program can be login function to brake Energy;Corresponding relationship of the test platform based on test path and function determines the corresponding login test path of login function are as follows: user Name Input (user name can be any one in account, cell-phone number and mailbox) → (password is most for cryptogram frame control Less it is 6 digits, can be the combination of number, letter and symbol) → login button control;Test platform is surveyed based on determining login The password inputted in the user name and cryptogram frame control inputted in examination path, user name Input, to login function It can be carried out test.
Based on this, when brake is login function, based on logging in test path, input in user name Input Word content and cryptogram frame control in the word content that inputs, login function is tested, enables to log in The test of function is more convenient, accurately and completely.
In the present embodiment, control is clicked by determination and record is clicked the jump page of control to determine traversal test Information enables to the determination of traversal information more accurate;When being clicked control is Input, go back in recording text frame The word content of input enables to the relevant information for being clicked control of record more complete;Control is clicked by analysis Relationship is jumped with jump page, to determine each test path of application program to be measured, enables to the determination of each test path It is more accurate and convenient;By identifying the icon for being respectively clicked control in each test path, to analyze pair of each test path The function of answering enables to the analysis of the corresponding function of test path more convenient and accurate;By establishing test path and function The corresponding relationship of energy, and by corresponding relationship, it determines target detection path, functional test, energy is carried out based on target detection path Enough so that the test to brake is more convenient and accurate;When brake is login function, based on login test path, use The word content inputted in the word content and cryptogram frame control inputted in name in an account book Input, to login function into Row test, enables to the test of login function more convenient, accurately and completely.
Fig. 3 be another embodiment of the present invention provides a kind of application program function test method process signal Figure, referring to Fig. 3, this method can specifically include following steps:
Step 302: traversal test being carried out to the application program to be measured, in the page for determining the application program to be measured It is respectively clicked control, and records the jump page for being respectively clicked control;
Step 304: it is described be clicked control be Input when, be recorded in the word content inputted in text box;
Step 306: being respectively clicked control and the jump page based on described, determine the traversal of the application program to be measured Test information;
Step 308: information being tested based on the traversal, analysis is described to be respectively clicked jumping for control and the jump page Relationship;
Step 310: jumping relationship based on described, determine each test path of the application program to be measured;
Step 312: the icon of control is clicked in identification each test path, respectively to analyze each test path pair The function of answering;
Step 314: establishing the corresponding relationship of test path and function;
Step 316: determine the application program to be measured to brake;
Step 318: being based on the corresponding relationship, determine described to the corresponding target detection path of brake;
Step 320: it is described to be based on the target detection path and the word content when brake is login function, It is tested to brake described.
In the present embodiment, control is clicked by determination and record is clicked the jump page of control to determine traversal test Information enables to the determination of traversal information more accurate;When being clicked control is Input, go back in recording text frame The word content of input enables to the relevant information for being clicked control of record more complete;Control is clicked by analysis Relationship is jumped with jump page, to determine each test path of application program to be measured, enables to the determination of each test path It is more accurate and convenient;By identifying the icon for being respectively clicked control in each test path, to analyze pair of each test path The function of answering enables to the analysis of the corresponding function of test path more convenient and accurate;By establishing test path and function The corresponding relationship of energy, and by corresponding relationship, it determines target detection path, functional test, energy is carried out based on target detection path Enough so that the test to brake is more convenient and accurate;When brake is login function, based on login test path, use The word content inputted in the word content and cryptogram frame control inputted in name in an account book Input, to login function into Row test, enables to the test of login function more convenient, accurately and completely.
In addition, for simple description, therefore, it is stated as a series of action groups for above method embodiment It closes, but those skilled in the art should understand that, embodiment of the present invention is not limited by the described action sequence, because Embodiment according to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art It should be aware of, embodiment described in this description belongs to preferred embodiment, and related movement is not necessarily originally Necessary to invention embodiment.
Fig. 4 is a kind of structural schematic diagram of the device for testing functions for application program that one embodiment of the present of invention provides, Referring to fig. 4, which can specifically include: determining module 402 and analysis module 404, in which:
Determining module 402, for determining that the traversal of application program to be measured tests information;
Analysis module 404 determines each test road of the application program to be measured for testing information based on the traversal Diameter, and analyze the corresponding function of each test path, for based on corresponding test path to the application program to be measured It is tested to brake.
In the present embodiment, information is tested by the traversal of application program to be measured, to determine each test of application program to be measured Path, and the function of each test path is analyzed, for, to the corresponding test path of brake, being treated based on application program to be measured Measurement of power can be carried out test.Due to before to being tested to brake of application program to be measured, it is no longer necessary to which tester writes The test case to brake is write, therefore can more efficiently carry out the functional test of application program.
Optionally, determining module 402, comprising:
Determination unit determines the page of the application program to be measured for carrying out traversal test to the application program to be measured It is respectively clicked control in face, and records the jump page for being respectively clicked control;
It is respectively clicked control and the jump page based on described, determines the traversal test letter of the application program to be measured Breath.
Optionally, analysis module 404, comprising:
First analytical unit, for testing information based on the traversal, analysis is described to be respectively clicked control and described jumps The page jumps relationship;
Relationship is jumped based on described, determines each test path of the application program to be measured.
Optionally, analysis module 404, further includes:
Second analytical unit is respectively clicked the icon of control for identification in each test path, described each to analyze The corresponding function of test path.
Optionally, it is described be clicked control be Input when, determining module 402, further includes:
Recording unit, for being recorded in the word content inputted in text box.
Optionally, the device further include:
Module is established, for establishing the corresponding relationship of test path and function.
Optionally, the device further include:
Test module, for determine the application program to be measured to brake;
It is determining described to the corresponding target detection path of brake based on the corresponding relationship, and surveyed based on the target Path is tried, is tested to brake described.
Optionally, described when brake is login function, test module, comprising:
Test cell is surveyed to described to brake for being based on the target detection path and the word content Examination.
Device provided in an embodiment of the present invention can be realized each mistake that device is realized in the embodiment of the method for Fig. 1 to Fig. 3 Journey, to avoid repeating, which is not described herein again.Moreover, it should be noted that in all parts of the device of the invention, according to Its function to be realized and logical partitioning has been carried out to component therein, still, the present invention is not only restricted to this, can according to need All parts are repartitioned or are combined.
A kind of hardware structural diagram of Fig. 5 terminal device of each embodiment to realize the present invention,
The terminal device 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that terminal device structure shown in Fig. 5 is not constituted Restriction to terminal device, terminal device may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, terminal device include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 510, for determining that the traversal of application program to be measured tests information;
Information is tested based on the traversal, determines each test path of the application program to be measured, and analyze each survey The corresponding function in path is tried, for the testing to brake to the application program to be measured based on corresponding test path.
Based on this, each test path is determined by traversal test information, and analyzes the function of each test path, with For being based on to the corresponding test path of brake, to being tested to brake for application program to be measured.Due to being answered to be measured With before being tested to brake of program, it is no longer necessary to which tester writes the test case to brake, therefore The functional test of application program can more efficiently be carried out.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Terminal device provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also provide and end The relevant audio output of specific function that end equipment 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Terminal device 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when terminal device 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with terminal device 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal device 500 or can be used in 500 He of terminal device Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Terminal device 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the function test method embodiment of the above-mentioned application program of Shi Shixian, and identical technical effect can be reached, to keep away Exempt to repeat, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each of the function test method embodiment of above-mentioned application program when being executed by processor Process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage Medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (10)

1. a kind of function test method of application program characterized by comprising
Determine the traversal test information of application program to be measured;
Information is tested based on the traversal, determines each test path of the application program to be measured, and analyze each test road The corresponding function of diameter, for the testing to brake to the application program to be measured based on corresponding test path.
2. the method according to claim 1, wherein determining that the traversal of application program to be measured tests information, comprising:
Traversal test is carried out to the application program to be measured, determines in the page of the application program to be measured and is respectively clicked control Part, and record the jump page for being respectively clicked control;
It is respectively clicked control and the jump page based on described, determines the traversal test information of the application program to be measured.
3. the method according to claim 1, wherein determining described to be measured answer based on traversal test information With each test path of program, comprising:
Test information based on the traversal, analyze it is described be respectively clicked control and the jump page jump relationship;
Relationship is jumped based on described, determines each test path of the application program to be measured.
4. according to the method described in claim 3, it is characterized in that, analyzing the corresponding function of each test path, comprising:
The icon that control is respectively clicked in each test path is identified, to analyze the corresponding function of each test path.
5. according to the method described in claim 2, it is characterized in that, it is described be clicked control be Input when, further includes:
It is recorded in the word content inputted in text box.
6. according to the method described in claim 5, it is characterized in that, after analyzing the corresponding function of each test path, Further include:
Establish the corresponding relationship of test path and function.
7. according to the method described in claim 6, it is characterized in that, after establishing the corresponding relationship of test path and function, Further include:
Determine the application program to be measured to brake;
It is determining described to the corresponding target detection path of brake based on the corresponding relationship, and it is based on the target detection road Diameter is tested to brake described.
8. according to the method described in claim 7, it is described when brake be login function when, be based on the target detection path, It is tested to brake described, comprising:
Based on the target detection path and the word content, tested to brake described.
9. a kind of device for testing functions of application program characterized by comprising
Determining module, for determining that the traversal of application program to be measured tests information;
Analysis module determines each test path of the application program to be measured, and analyze for testing information based on the traversal Each test path corresponding function, for based on corresponding test path to the application program to be measured to brake into Row test.
10. a kind of terminal device characterized by comprising memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 8 is realized when the computer program is executed by the processor Any one of described in method the step of.
CN201910267191.0A 2019-04-03 2019-04-03 Function test method and device for application program Active CN110069407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910267191.0A CN110069407B (en) 2019-04-03 2019-04-03 Function test method and device for application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910267191.0A CN110069407B (en) 2019-04-03 2019-04-03 Function test method and device for application program

Publications (2)

Publication Number Publication Date
CN110069407A true CN110069407A (en) 2019-07-30
CN110069407B CN110069407B (en) 2022-12-16

Family

ID=67367090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910267191.0A Active CN110069407B (en) 2019-04-03 2019-04-03 Function test method and device for application program

Country Status (1)

Country Link
CN (1) CN110069407B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851360A (en) * 2019-11-08 2020-02-28 广州华多网络科技有限公司 Icon generation method and device, computer readable medium and equipment
CN112612698A (en) * 2020-12-17 2021-04-06 平安普惠企业管理有限公司 Application program crash test method and related product
CN115658540A (en) * 2022-11-10 2023-01-31 深圳市卓讯达科技发展有限公司 Smart phone application function testing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130148148A1 (en) * 2011-12-08 2013-06-13 Kyocera Document Solutions Inc. Image forming apparatus and image forming system
CN105630686A (en) * 2016-03-24 2016-06-01 厦门美图移动科技有限公司 Traversal testing method and device for applications and mobile terminal
US20180039568A1 (en) * 2016-08-03 2018-02-08 International Business Machines Corporation Test case generation for uncovered code paths
CN107943685A (en) * 2017-10-30 2018-04-20 北京奇虎科技有限公司 A kind of traverse path generation method, device, server and storage medium
CN109471678A (en) * 2018-11-07 2019-03-15 苏州思必驰信息科技有限公司 Voice midpoint controlling method and device based on image recognition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130148148A1 (en) * 2011-12-08 2013-06-13 Kyocera Document Solutions Inc. Image forming apparatus and image forming system
CN105630686A (en) * 2016-03-24 2016-06-01 厦门美图移动科技有限公司 Traversal testing method and device for applications and mobile terminal
US20180039568A1 (en) * 2016-08-03 2018-02-08 International Business Machines Corporation Test case generation for uncovered code paths
CN107943685A (en) * 2017-10-30 2018-04-20 北京奇虎科技有限公司 A kind of traverse path generation method, device, server and storage medium
CN109471678A (en) * 2018-11-07 2019-03-15 苏州思必驰信息科技有限公司 Voice midpoint controlling method and device based on image recognition

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭松等: "手机业务测试平台上屏幕图像识别软件的设计与实现", 《电子技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851360A (en) * 2019-11-08 2020-02-28 广州华多网络科技有限公司 Icon generation method and device, computer readable medium and equipment
CN112612698A (en) * 2020-12-17 2021-04-06 平安普惠企业管理有限公司 Application program crash test method and related product
CN115658540A (en) * 2022-11-10 2023-01-31 深圳市卓讯达科技发展有限公司 Smart phone application function testing method and device
CN115658540B (en) * 2022-11-10 2023-07-25 深圳市卓讯达科技发展有限公司 Smart phone application function testing method and device

Also Published As

Publication number Publication date
CN110069407B (en) 2022-12-16

Similar Documents

Publication Publication Date Title
CN109194818A (en) A kind of information processing method and terminal
CN110196667A (en) A kind of processing method and terminal of notification message
CN110308839A (en) A kind of file management method and terminal device
CN109600297A (en) A kind of mark sweep-out method and terminal device
CN107783906A (en) Method of testing, device and storage medium
CN109857297A (en) Information processing method and terminal device
CN110069407A (en) A kind of function test method and device of application program
CN108541009A (en) A kind of detection method and terminal device of communications status
CN110457888A (en) A kind of verifying code imput method, device, electronic equipment and storage medium
CN108037885A (en) A kind of operation indicating method and mobile terminal
CN110309004A (en) The processing method and terminal of data
CN109901761A (en) A kind of content display method and mobile terminal
CN110069675A (en) A kind of search method and mobile terminal
CN109726121A (en) A kind of identifying code acquisition methods and terminal device
CN109885490A (en) A kind of picture control methods and device
CN108733993A (en) A kind of method for information display and terminal
CN109495638A (en) A kind of information display method and terminal
CN108712321A (en) A kind of reminding method and mobile terminal of message
CN108769410A (en) A kind of method for sending information and mobile terminal
CN110225040A (en) A kind of information processing method, terminal device and server
CN110366182A (en) A kind of data transmission method and terminal device
CN109739758A (en) Test case conversion method and device
CN108898000A (en) A kind of method and terminal solving lock screen
CN108446153A (en) A kind of method and terminal of control e-sourcing
CN107864378A (en) A kind of frame rate detection method, device, mobile terminal and server

Legal Events

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

Effective date of registration: 20210716

Address after: 100016 no.4301, No.52 Jiuxianqiao hospital, Chaoyang District, Beijing

Applicant after: BEIJING TESTIN INFORMATION TECHNOLOGY Co.,Ltd.

Address before: Room 2016, building 2, No.8, Fenghuang Third Road, Zhongxin Guangzhou Knowledge City, Guangzhou 510260, Guangdong Province

Applicant before: GUANGZHOU TESTIN INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant