CN109739707B - Test processing method, mobile terminal and storage medium - Google Patents

Test processing method, mobile terminal and storage medium Download PDF

Info

Publication number
CN109739707B
CN109739707B CN201811643092.XA CN201811643092A CN109739707B CN 109739707 B CN109739707 B CN 109739707B CN 201811643092 A CN201811643092 A CN 201811643092A CN 109739707 B CN109739707 B CN 109739707B
Authority
CN
China
Prior art keywords
fault
recording
mobile terminal
test
repeated
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.)
Active
Application number
CN201811643092.XA
Other languages
Chinese (zh)
Other versions
CN109739707A (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.)
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo 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 TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201811643092.XA priority Critical patent/CN109739707B/en
Publication of CN109739707A publication Critical patent/CN109739707A/en
Application granted granted Critical
Publication of CN109739707B publication Critical patent/CN109739707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a test processing method, a mobile terminal and a storage medium, wherein the method comprises the following steps: setting a recording instruction on the mobile terminal, and recording touch operation input by a tester through the recording instruction; when a test program is started, repeatedly executing the touch operation according to the preset repeated operation times, and recording faults in the repeated process; and when the repeated operation is completed, displaying the fault and the occurrence times of the fault on a display screen of the mobile terminal. According to the invention, repeated test operation is carried out through the mobile terminal, so that the manual test is replaced, the manual test cost is reduced, and the test efficiency is improved, thereby avoiding the phenomena of fatigue and misjudgment during the manual test.

Description

Test processing method, mobile terminal and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a test processing method, a mobile terminal and a storage medium.
Background
At present, the functions of a mobile terminal are complex, and an operation interface is also complex, so that a tester needs to perform a large number of tests before the mobile terminal leaves a factory, so that potential problems can be found as early as possible, and the problems can be solved by a developer in time; some of these problems need to be found when repeated operations are performed a plurality of times, for example: the charging problem of the mobile terminal is usually normal when the mobile terminal is charged once and twice, but the problem may occur when the mobile terminal is charged 100 times.
At present, the multiple testing processes of the mobile terminal still need to be completed by a tester, which causes the staff to occupy a great amount of work in the testing process, and the tester needs to frequently repeat some operations to test, for example: when testing the internet function of the mobile terminal, a tester is required to open a browser, input a website and open a link, so that the testing efficiency of the tester is low; further, since the test is repeated, a fatigue is easily generated in a tester, and an operation error or a misjudgment is caused.
Accordingly, the prior art is still in need of improvement and development.
Disclosure of Invention
The invention aims to solve the technical problems by providing a test processing method, a mobile terminal and a storage medium aiming at the defects in the prior art, and aims to replace manual test by repeated test operation through the mobile terminal, reduce the manual test cost and improve the test efficiency, thereby avoiding the phenomena of fatigue and misjudgment during manual test.
The technical scheme adopted for solving the technical problems is as follows:
the invention provides a test processing method, wherein the method comprises the following steps:
setting a recording instruction on the mobile terminal, and recording touch operation input by a tester through the recording instruction;
when a test program is started, repeatedly executing the touch operation according to the preset repeated operation times, and recording faults in the repeated process;
and when the repeated operation is completed, displaying the fault and the occurrence times of the fault on a display screen of the mobile terminal.
Further, before setting a recording instruction on the mobile terminal and recording the touch operation input by the tester through the recording instruction, the method comprises the following steps:
dividing a touch screen of the mobile terminal into a first touch area and a second touch area in advance;
and setting a touch control in the first touch area.
Further, the touch control comprises a frequency setting option, a start record instruction option and a start test option.
Further, the setting a recording instruction on the mobile terminal, and recording the touch operation input by the tester through the recording instruction specifically includes:
setting a recording instruction for recording touch operation of a tester on the mobile terminal;
setting repeated operation times through a touch control in the first touch area;
and recording touch operation input by the tester on the second touch area through the recording instruction.
Further, when the test program is started, the touch operation is repeatedly executed according to the preset repeated operation times, and the recording of the faults occurring in the repeated process specifically includes:
when a test program is started, acquiring the recording instruction and the repeated operation times;
executing touch operation in the recording instruction according to the repeated operation times;
and recording the times of faults and the corresponding fault time in the repeated process, and counting in a table.
Further, the recording of the number of faults occurring in the repetition process and the corresponding fault time, and the statistics specifically include in the table:
when faults occur in the test process, recording the number of times of repeated operations executed when the faults occur, and recording fault reasons and fault time;
the recorded failure causes and failure time statistics are in a table.
Further, when the repeating operation is completed, displaying the fault on the display screen of the mobile terminal and the number of times of occurrence of the fault specifically includes:
when the repeated operation is completed, acquiring the fault reasons and fault time in the table, and counting the fault times;
and displaying the fault reasons, the fault time and the fault times on a display screen of the mobile terminal.
Further, when the repeating operation is completed, obtaining the fault reason and the fault time in the table, and counting the number of faults specifically includes:
when the repeated operation is completed, acquiring a fault reason and fault time in a table;
if faults are detected, counting the times of the faults, and prompting a tester through a sound or breathing lamp;
if no fault is detected, no processing is performed.
The invention also provides a mobile terminal, which comprises a processor and a memory connected with the processor, wherein the memory stores a test processing program, and the test processing program is used for realizing the test processing method when being executed by the processor.
The present invention also provides a storage medium storing a test processing program for implementing the test processing method when executed by a processor.
The technical scheme adopted by the invention has the following beneficial effects: according to the invention, the touch screen of the mobile terminal is divided into two areas, the touch control is arranged in the first touch area, and the touch operation of the tester is acquired in the second touch area, so that the mobile terminal can be repeatedly detected according to the operation input by the tester, thereby replacing manual testing, reducing the manual testing cost and improving the testing efficiency; meanwhile, repeated test operation by the mobile terminal can avoid misoperation and misjudgment caused by fatigue during manual test.
Drawings
FIG. 1 is a flow chart of a test processing method in a preferred embodiment of the invention.
Fig. 2 is a functional block diagram of a mobile terminal in a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a test processing method according to a preferred embodiment of the invention.
As shown in fig. 1, an embodiment of the present invention provides a test processing method, which includes the following steps:
step S100, setting a recording instruction on the mobile terminal, and recording touch operation input by a tester through the recording instruction.
In the embodiment of the invention, the mobile terminal replaces a tester, and the functions, the operation interface and the like of the mobile terminal are repeatedly tested, so that the cost of manual testing is reduced; specifically, before testing, the touch screen of the mobile terminal needs to be divided into a first touch area and a second touch area in advance, wherein a touch control is arranged in the first touch area, and the touch control comprises a frequency setting option, a start recording instruction option, a start testing option and the like; during actual testing, a tester records touch operation input by the tester in the second touch area by starting a recording instruction option, and sets repeated operation times in the first touch area, and after the tester starts the testing option, the mobile terminal repeatedly executes the touch operation input by the tester in the second touch area so as to test whether the performance of the mobile terminal is normal.
Specifically, the step S100 includes the following steps:
step S001, dividing a touch screen of the mobile terminal into a first touch area and a second touch area in advance;
step S002, setting a touch control in the first touch area.
In the embodiment of the invention, before the test is started, a recording instruction is also required to be set on the mobile terminal, and the touch operation input by the user in the second touch area is recorded through the recording instruction; and after the tester finishes the touch operation, the repeated operation times are set through the touch control in the first touch area, so that the mobile terminal repeatedly executes the touch operation according to the set times in the test, thereby achieving the purpose of testing the performance of the mobile terminal.
Specifically, when the tester starts the recording instruction, the mobile terminal records the operation of the tester in the second touch area in the form of a single touch in the second touch area, such as operation coordinates (100, 120), and a sliding operation in the second touch area, such as start point coordinates (10, 10) end point coordinates (88, 100), and so on.
Specifically, the step S100 includes the steps of:
step S101, setting a recording instruction for recording touch operation of a tester on a mobile terminal;
step S102, setting repeated operation times through a touch control in the first touch area;
step S103, recording the touch operation input by the tester on the second touch area through the recording instruction.
Because the recording instruction is arranged on the mobile terminal, and the touch operation input by the tester on the touch screen is recorded through the recording instruction, the mobile terminal can simulate the operation of the tester when in test, and continuously test the performance of the mobile terminal, thereby omitting the operations of repeated input, repeated starting, repeated closing and the like of the tester, saving the workload of the tester, and improving the test efficiency.
Step 200, when the test program is started, repeatedly executing the touch operation according to the preset repeated operation times, and recording faults occurring in the repeated process.
In the embodiment of the invention, when a test program is started, a mobile terminal firstly acquires a recording instruction and repeated operation times, and then performs repeated test according to touch operation recorded in the recording instruction; for example, the record instruction records the touch operation input by the tester as: firstly, single-point operation is carried out, and then sliding operation is carried out; the repeated operation times set by the tester are 100 times; the mobile terminal simulates single-point operation and sliding operation and repeatedly tests 100 times according to the sequence of the operation.
In the case that the mobile terminal performs repeated tests, if a fault occurs in the test process, for example: single point operation or sliding operation failure; recording the number of times that the repeated test has been performed at this time (for example, 50 th time has been performed), and recording the failure time of the test (for example, 3 minutes has been started), and recording the cause of the failure, etc.; the number of executions, the cause of the failure, the failure time, etc. are then recorded in a table for subsequent viewing.
After the test is completed, the fault times are summarized, the fault rate is counted, and the fault times and the fault rate are stored in a table so as to be convenient for subsequent checking.
That is, specifically, the step S200 includes the steps of:
step S201, when a test program is started, the recording instruction and the repeated operation times are obtained;
step S202, executing touch operation in the recording instruction according to the repeated operation times;
step S203, the times of faults and corresponding fault time in the repeated process are recorded, and counted in a table.
Further, the step S203 includes the steps of:
step S2031, when a fault occurs in the test process, recording the number of times of repeated operations that have been performed when the fault occurred, and recording the cause of the fault and the fault time;
step S2032, the recorded failure cause and failure time statistics are in a table.
The fault times, the corresponding fault time, the fault reasons, the fault rate and the like are all recorded in a table by recording the fault times and the corresponding fault time which occur in the repeated process and counting the fault times and the fault rate; when the tester views the data later, the tester has a deep understanding of the performance of the current mobile terminal, so that the tester is facilitated to maintain the mobile terminal.
And step S300, when the repeated operation is completed, displaying the fault and the occurrence times of the fault on a display screen of the mobile terminal.
In the embodiment of the invention, when the mobile terminal completes repeated test, data recorded in a form are obtained, if fault data in the form are detected, the number of faults is counted, detailed information of the faults is displayed on a display screen of the mobile terminal, and prompts are carried out along with sound, breathing lamps and the like; for example, when the mobile terminal completes the repeated test, the fault data in the form is detected, and the mobile terminal sends out a sound through a loudspeaker (sound) of the mobile terminal to prompt; meanwhile, the breathing lamp can be changed into red to prompt; if no fault data is detected, no processing is done, the breathing light may turn green to indicate that the test is complete and to indicate no fault.
That is, specifically, the step S300 includes the steps of:
step S301, when the repeated operation is completed, obtaining the fault reasons and fault time in the table, and counting the fault times;
and step S302, displaying the fault reasons, the fault time and the fault times on a display screen of the mobile terminal.
Further, the step S301 includes the steps of:
step S3011, when the repeated operation is completed, acquiring a fault reason and fault time in a table;
step S3012, if faults are detected, counting the fault times, and prompting a tester through a sound or breathing lamp;
in step S3013, if no failure is detected, no processing is performed.
According to the invention, by acquiring the fault reasons and fault time in the form, fault information and the like are displayed on the display screen of the mobile terminal, and meanwhile, corresponding prompts are carried out along with sound, breathing lamps and the like, so that a tester can timely find out the fault, and the fault record is or is directly sent to the intelligent terminal for storage, so that the follow-up staff can conveniently check; meanwhile, due to the fact that the mobile terminal is provided with the corresponding prompt, after repeated testing, a tester timely changes the next mobile terminal to conduct testing, and therefore testing efficiency of the tester is improved.
Of course, those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by instructing the relevant hardware (e.g., processor, controller, etc.) by a test handler stored in a computer-readable storage medium, which when executed may include the above described methods. The storage medium may be a memory, a magnetic disk, an optical disk, or the like.
Example two
Referring to fig. 2, fig. 2 is a functional block diagram of a mobile terminal according to a preferred embodiment of the present invention.
As shown in fig. 2, an embodiment of the present invention provides a mobile terminal, which may be a mobile phone (or a tablet computer), where the mobile terminal of the embodiment includes a processor 10 and a memory 20 connected to the processor 10;
the memory 20 stores a test processing program for implementing the above-described test processing method when executed by the processor 10; as described in detail above.
Example III
An embodiment of the present invention provides a storage medium, wherein the storage medium stores a test processing program for implementing the above-described test processing method when executed by the processor 10; as described in detail above.
In summary, the touch screen of the mobile terminal is divided into two areas, the touch control is arranged in the first touch area, and the touch operation of the tester is acquired in the second touch area, so that the mobile terminal can repeatedly detect according to the operation input by the tester, thereby replacing manual testing, reducing the manual testing cost and improving the testing efficiency; meanwhile, repeated test operation by the mobile terminal can avoid misoperation and misjudgment caused by fatigue during manual test.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (5)

1. A test processing method, the method comprising:
dividing a touch screen of the mobile terminal into a first touch area and a second touch area in advance;
setting a touch control in the first touch area;
setting a recording instruction on the mobile terminal, and recording touch operation input by a tester through the recording instruction;
when a test program is started, repeatedly executing the touch operation according to the preset repeated operation times, and recording faults in the repeated process;
when the repeated operation is completed, displaying the fault and the occurrence times of the fault on a display screen of the mobile terminal;
when the repeated operation is completed, displaying the fault and the occurrence times of the fault on a display screen of the mobile terminal specifically comprise:
when the repeated operation is completed, acquiring the fault reasons and fault time in the table, and counting the fault times;
displaying the fault reasons, the fault time and the fault times on a display screen of the mobile terminal;
when the repeated operation is completed, obtaining the fault reason and the fault time in the table, and counting the fault times specifically comprises the following steps:
when the repeated operation is completed, acquiring a fault reason and fault time in a table;
if faults are detected, counting the times of the faults, and prompting a tester through a sound or breathing lamp;
if no fault is detected, not processing;
when the repeated operation is completed, recording the times of faults and the corresponding fault time in the repeated process, counting the times of faults and the fault rate, and recording the times of faults, the corresponding fault time, the fault reasons and the fault rate in the table;
the step of setting a recording instruction on the mobile terminal and recording touch operation input by a tester through the recording instruction specifically comprises the following steps:
setting a recording instruction for recording touch operation of a tester on the mobile terminal;
setting repeated operation times through a touch control in the first touch area;
recording touch operation input by a tester on the second touch area through the recording instruction;
when the test program is started, repeatedly executing the touch operation according to the preset repeated operation times, and recording faults in the repeated process specifically comprises the following steps:
when a test program is started, acquiring the recording instruction and the repeated operation times;
executing touch operation in the recording instruction according to the repeated operation times;
and recording the times of faults and the corresponding fault time in the repeated process, and counting in a table.
2. The test processing method of claim 1, wherein the touch control includes a number of times set option, an initiate recording instruction option, and an initiate test option.
3. The test processing method according to claim 1, wherein the recording of the number of failures occurring in the repetition process and the corresponding failure time, and the statistics specifically include in a table:
when faults occur in the test process, recording the number of times of repeated operations executed when the faults occur, and recording fault reasons and fault time;
the recorded failure causes and failure time statistics are in a table.
4. A mobile terminal comprising a processor and a memory coupled to the processor, the memory storing a test handler for implementing the test handler method of any one of claims 1-3 when executed by the processor.
5. A storage medium storing a test handler for implementing the test handler method of any one of claims 1-3 when executed by a processor.
CN201811643092.XA 2018-12-29 2018-12-29 Test processing method, mobile terminal and storage medium Active CN109739707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811643092.XA CN109739707B (en) 2018-12-29 2018-12-29 Test processing method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811643092.XA CN109739707B (en) 2018-12-29 2018-12-29 Test processing method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109739707A CN109739707A (en) 2019-05-10
CN109739707B true CN109739707B (en) 2023-08-11

Family

ID=66362616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811643092.XA Active CN109739707B (en) 2018-12-29 2018-12-29 Test processing method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109739707B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835758A (en) * 2021-03-22 2021-05-25 四川酷比通信设备有限公司 Method for self-starting and automatically running test software and terminal equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0721500D0 (en) * 2007-01-26 2007-12-12 Csi Technology Inc Enhancement of periodic data collection by addition of audio data
CN102147756A (en) * 2010-02-05 2011-08-10 中国移动通信集团公司 Methods and systems for testing terminal
CN104090713A (en) * 2014-07-11 2014-10-08 Tcl通讯(宁波)有限公司 Automatic operation method and system for mobile terminal
CN104199755A (en) * 2014-08-25 2014-12-10 广东欧珀移动通信有限公司 Method and system for diagnosing hardware module faults based on indicator lights
CN105224448A (en) * 2014-06-25 2016-01-06 腾讯科技(深圳)有限公司 The method and apparatus of record test scene
CN107506073A (en) * 2017-08-08 2017-12-22 维沃移动通信有限公司 Detection method of touch screen, device, mobile terminal and computer-readable recording medium
CN107562265A (en) * 2017-08-22 2018-01-09 惠州Tcl移动通信有限公司 Mobile terminal and touch-screen Debugging message control process method and storage medium
CN108121631A (en) * 2016-11-28 2018-06-05 北京小米移动软件有限公司 Screen abnormality based reminding method and device
WO2018107849A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Method for controlling touch operation on mobile terminal, and related product
CN108664392A (en) * 2018-03-19 2018-10-16 重庆小雨点小额贷款有限公司 A kind of application testing method, device, terminal and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6938101B2 (en) * 2001-01-29 2005-08-30 Universal Electronics Inc. Hand held device having a browser application
CN103823813B (en) * 2012-11-19 2018-10-02 腾讯科技(深圳)有限公司 Electric terminal historical operation records processing method and processing device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0721500D0 (en) * 2007-01-26 2007-12-12 Csi Technology Inc Enhancement of periodic data collection by addition of audio data
CN102147756A (en) * 2010-02-05 2011-08-10 中国移动通信集团公司 Methods and systems for testing terminal
CN105224448A (en) * 2014-06-25 2016-01-06 腾讯科技(深圳)有限公司 The method and apparatus of record test scene
CN104090713A (en) * 2014-07-11 2014-10-08 Tcl通讯(宁波)有限公司 Automatic operation method and system for mobile terminal
CN104199755A (en) * 2014-08-25 2014-12-10 广东欧珀移动通信有限公司 Method and system for diagnosing hardware module faults based on indicator lights
CN108121631A (en) * 2016-11-28 2018-06-05 北京小米移动软件有限公司 Screen abnormality based reminding method and device
WO2018107849A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Method for controlling touch operation on mobile terminal, and related product
CN107506073A (en) * 2017-08-08 2017-12-22 维沃移动通信有限公司 Detection method of touch screen, device, mobile terminal and computer-readable recording medium
CN107562265A (en) * 2017-08-22 2018-01-09 惠州Tcl移动通信有限公司 Mobile terminal and touch-screen Debugging message control process method and storage medium
CN108664392A (en) * 2018-03-19 2018-10-16 重庆小雨点小额贷款有限公司 A kind of application testing method, device, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
AGV实时任务监控系统设计;罗守品;杨涛;;自动化仪表(第11期);全文 *

Also Published As

Publication number Publication date
CN109739707A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
US11360881B2 (en) Customizing computer performance tests
CN107562610B (en) Method, device, terminal and medium for acquiring page loading time
US11212628B2 (en) Method and apparatus for testing speaker, electronic device and storage medium
CN106201846B (en) Method for monitoring performance and device in automatic test
CN104123219A (en) Method and device for testing software
CN107463500B (en) Debugging method, medium, system and computing device of test script
CN111274154A (en) Automatic testing method, device, equipment and storage medium
KR100985749B1 (en) Automatic-testing system and method for embedded system software and test scenario composing method
CN103365770A (en) Mobile terminal software testing system and software testing method
US10565091B2 (en) Method and apparatus for automatic cross-system program debugging
CN107562637B (en) Method, device, system and storage medium for software testing
CN104246714A (en) Software defect verification
CN106126414B (en) Application software testing method and system
CN104572422A (en) Memory monitoring achievement method based on startup and shutdown of Linux system
CN105653438B (en) The striding course automated testing method and device of Android device
CN104503910A (en) Product test method by monitoring users' using behavior
CN107391362A (en) Application testing method, mobile terminal and storage medium
CN109508547A (en) A kind of localization method of vulnerability of application program, device, storage medium and terminal
CN109739707B (en) Test processing method, mobile terminal and storage medium
CN113190443A (en) Test method, test device, computer equipment and storage medium
CN104216823A (en) Automatic testing method and master control device
WO2021023171A1 (en) Method and apparatus for test script recording time selection
CN109697164A (en) Test method, device, storage medium and the terminal of App have been adjusted in browser
CN111127223B (en) Insurance product testing method, insurance product testing device and storage medium
CN108984380A (en) A kind of server test method, device and medium based on linux system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant