CN106528402B - Method and system for testing terminal - Google Patents

Method and system for testing terminal Download PDF

Info

Publication number
CN106528402B
CN106528402B CN201610863998.7A CN201610863998A CN106528402B CN 106528402 B CN106528402 B CN 106528402B CN 201610863998 A CN201610863998 A CN 201610863998A CN 106528402 B CN106528402 B CN 106528402B
Authority
CN
China
Prior art keywords
terminal
information
test
control information
coordinate
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
CN201610863998.7A
Other languages
Chinese (zh)
Other versions
CN106528402A (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.)
Henan 863 Software Co ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201610863998.7A priority Critical patent/CN106528402B/en
Publication of CN106528402A publication Critical patent/CN106528402A/en
Application granted granted Critical
Publication of CN106528402B publication Critical patent/CN106528402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a system for testing a terminal, wherein the method comprises the following steps of running a test script: establishing a local coordinate system of at least one terminal; acquiring control information of the at least one terminal, and acquiring first coordinate information of the control of the at least one terminal in the local coordinate system from the control information; and mapping the first coordinate information into second coordinate information in a mechanical device coordinate system, so that the mechanical device performs test operation on the at least one terminal according to the second coordinate information to obtain a test result. The terminal is tested by obtaining the coordinate information of the control in the coordinate system of the terminal through the control information of the terminal, so that the test process of the terminal is not influenced by different models, UI designs or interface resolutions of the test terminal, the test case with complex logic can be met, the occupied system resources are small, and the test time is short.

Description

Method and system for testing terminal
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method and a system for testing a terminal.
Background
With the development of technology, terminals have gradually become indispensable tools in people's life and work, people have higher and higher requirements on the terminals, and the testing requirements of the terminals have higher and higher requirements.
The current terminal testing method is based on the coordinate to control the element on the mobile phone interface, but basically based on the image recognition mode to obtain the coordinate of the control on the terminal, in the applicable coordinate system, the position of the control on the terminal is calculated by the picture comparison method, the picture comparison is needed before the testing operation is executed, the larger computing resource is occupied, and the testing time is longer.
Disclosure of Invention
The invention aims to provide a method and a system for testing a terminal, which can reduce resources occupied by the system during testing and shorten testing time.
To achieve the above object, the present invention provides a method for testing a terminal, the method comprising running a test script to perform the following steps:
establishing a local coordinate system of at least one terminal;
acquiring control information of the at least one terminal, and acquiring first coordinate information of the control of the at least one terminal in the local coordinate system from the control information;
and mapping the first coordinate information into second coordinate information in a mechanical device coordinate system, so that the mechanical device performs test operation on the at least one terminal according to the second coordinate information to obtain a test result.
Wherein, the establishing a local coordinate system of at least one terminal comprises:
positioning and identifying the at least one terminal to obtain positioning information and identification information corresponding to the at least one terminal;
and establishing a local coordinate system for the at least one terminal according to the positioning information and the identification information.
Wherein after said mapping said first coordinate information to second coordinate information in a mechanical device coordinate system, comprising:
and sending a test instruction containing the second coordinate information and a preset test behavior of the at least one terminal to a server of the mechanical device, so that the mechanical device executes a corresponding test instruction on the at least one terminal according to the sequence of the test instructions of the at least one terminal received by the server, and obtaining a test result.
Wherein after the obtaining of the test result, the method further comprises:
judging whether the test passes or not according to the test result;
if so, feeding back the test result to a server of the mechanical device so as to enable the server to send a next test execution instruction to the mechanical device; if not, stopping testing and printing the test result.
Wherein the obtaining of the first coordinate information of the control in the local coordinate system of the at least one terminal from the control information includes:
acquiring UI layer control information corresponding to the at least one terminal from the control information;
and obtaining first coordinate information of the control of the at least one terminal in a local coordinate system of the at least one terminal from the UI layer control information.
Wherein the running test script comprises:
comparing the initial control information of the at least one terminal with the current control information to obtain a comparison result;
generating a difference file according to the comparison result;
judging whether the control corresponding to the current control information is the same as the control corresponding to the initial control information;
if yes, directly running the test script; if not, updating the current control information according to the difference file, and testing the terminal according to the updated current control information;
the initial control information is corresponding control information during test script development;
the acquiring control information of the at least one terminal comprises:
and acquiring the current control information of the at least one terminal.
In another aspect, the present invention provides a system for testing a terminal, including:
the script operation module: for running the test script;
wherein the script execution module comprises:
a local coordinate system establishing unit, configured to establish a local coordinate system of at least one terminal;
the coordinate information acquisition unit is used for acquiring control information of the at least one terminal and acquiring first coordinate information of the control of the at least one terminal in the local coordinate system according to the control information;
a coordinate conversion unit for mapping the first coordinate information to second coordinate information in a mechanical device coordinate system; and enabling the mechanical device to perform test operation on the at least one terminal according to the second coordinate information to obtain a test result.
In another aspect, the present invention provides a system for testing terminals, the system including at least one terminal, a testing device and a mechanical device, the testing device being connected to the at least one terminal and the mechanical device respectively;
the test device runs the test script to execute the following actions:
acquiring control information of the at least one terminal, and acquiring first coordinate information of the control of the at least one terminal in a local coordinate system of the at least one terminal according to the control information; mapping the first coordinate information into second coordinate information in a mechanical device coordinate system to obtain a test result;
and the mechanical device is used for carrying out test operation on the at least one terminal according to the second coordinate information.
Wherein the system further comprises a server of the mechanical device;
after mapping the first coordinate information into second coordinate information in a mechanical device coordinate system, the testing device sends a testing instruction containing the second coordinate information and a preset testing behavior of the at least one terminal to a server of the mechanical device;
the server of the mechanical device receives a test instruction of the at least one terminal, wherein the test instruction comprises the second coordinate information and a preset test behavior, and executes a corresponding test instruction to the at least one terminal according to the sequence of the received test instruction;
and the mechanical device receives the test instruction and tests the at least one terminal according to the second coordinate information and preset test behaviors contained in the test instruction.
Has the advantages that: in contrast to the state of the art, the present invention executes a test script to perform the following steps: establishing a local coordinate system of at least one terminal; acquiring control information of the at least one terminal, and acquiring first coordinate information of the control of the at least one terminal in the local coordinate system from the control information; and mapping the first coordinate information into second coordinate information in a mechanical device coordinate system, so that the mechanical device performs test operation on the at least one terminal according to the second coordinate information to obtain a test result. The terminal is tested by obtaining the coordinate information of the control in the coordinate system of the terminal through the control information of the terminal, so that the test process of the terminal is not influenced by different models, UI designs or interface resolutions of the test terminal, the test case with complex logic can be met, the occupied system resources are small, and the test time is short.
Drawings
FIG. 1 is a schematic flow chart diagram of a first embodiment of a method for testing a terminal according to the present invention;
FIG. 2 is a schematic flow chart of step S101 in the first embodiment of the method shown in FIG. 1;
FIG. 3 is a schematic flow chart of step S102 in the first embodiment of the method shown in FIG. 1;
FIG. 4 is a flowchart illustrating a second embodiment of a method of testing a terminal according to the present invention;
FIG. 5 is a flowchart illustrating a third embodiment of a method for testing a terminal according to the present invention;
FIG. 6 is a functional block diagram of a first embodiment of a system of test terminals of the present invention;
FIG. 7 is a functional block diagram of a second embodiment of a system of test terminals according to the present invention;
FIG. 8 is a functional block diagram of a third embodiment of a system for testing terminals in accordance with the present invention;
FIG. 9 is a block diagram of an embodiment of a system for testing terminals according to the present invention;
fig. 10 is a schematic structural diagram of another embodiment of the system for testing terminals according to the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following describes a method and a system for testing a terminal according to the present invention in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, fig. 1 is a flowchart illustrating a first embodiment of a method for testing a terminal according to the present invention, which executes a test script to perform the following steps:
s101, establishing a local coordinate system of at least one terminal.
During testing, the number of the tested terminals is at least one, a common testing process is that a plurality of terminals are tested simultaneously, and a corresponding local coordinate system is established for at least one tested terminal, namely, the terminals and the local coordinate system are in one-to-one correspondence.
S102, acquiring control information of at least one terminal, and acquiring first coordinate information of the control of the at least one terminal in a local coordinate system from the control information.
And acquiring control information corresponding to each terminal from each terminal by establishing communication connection with each tested terminal.
The control information generally comprises description information of the control, and the description information comprises information such as ID, text, size, coordinates, clickable control and the like of the control; the coordinate information of the control of each terminal corresponding to each terminal can be obtained from the control information of each terminal, and at the moment, the coordinate information of the control is the coordinate of the control in the local coordinate system of the terminal and is defined as first coordinate information.
S103, mapping the first coordinate information into second coordinate information in a mechanical device coordinate system, so that the mechanical device performs test operation on at least one terminal according to the second coordinate information to obtain a test result.
The mechanical device used for the end test also has its own coordinate system, i.e. the mechanical device coordinate system. In order to enable the mechanical device to accurately test according to the position of the control on each terminal, first coordinate information of the control on each terminal needs to be mapped into coordinate information in a coordinate system of the mechanical device, and the first coordinate information is defined as second coordinate information. Therefore, the coordinates of each terminal of the control correspond to the coordinates of the control on the mechanical device coordinate system, and the mechanical device can perform test operation on each terminal according to the mapped second coordinate information, so that a test result is obtained.
And after the test result is obtained, judging the test result, executing different actions according to different test results, if the test passes, continuing to execute a next test instruction, and if the test does not pass, printing the test result, so that a tester can conveniently search the reason of failure from the printed test result, and test adjustment and maintenance are facilitated.
The embodiment can not influence the terminal testing process due to different models, UI designs or interface resolutions of the testing terminal, can meet the testing case with complex logic, and has small occupied system resources and short testing time.
Further, as shown in fig. 2, step S101 includes the following steps:
s1011, positioning and identifying at least one terminal, and obtaining positioning information and identification information corresponding to the at least one terminal.
Since the local coordinate system of the terminal is established for at least one terminal at the time of testing, it is also for each terminal. Therefore, each terminal needs to be independently positioned and identified, and the positioning information and the identification information of each terminal can be obtained by positioning and identifying each terminal by using the camera with the visual function.
Each terminal can be distinguished according to the identification information, and the placement position of each terminal can be accurately obtained according to the positioning information.
S1012, establishing a local coordinate system for the at least one terminal according to the positioning information and the identification information.
And establishing an independent local coordinate system for each terminal according to the positioning information and the identification information of each terminal acquired in step S1011. Each terminal has its own local coordinate system, which is related to the model of the terminal, UI layer design, resolution, etc., and thus the local coordinate system of each terminal may be the same or different.
Further, as shown in fig. 3, the obtaining, in step S102, first coordinate information of the control in the local coordinate system of the at least one terminal from the control information includes the following steps:
and S1021, obtaining UI layer control information corresponding to at least one terminal from the control information.
In this embodiment, the control information is control information of each terminal.
And S1022, obtaining first coordinate information of the control of the at least one terminal in the local coordinate system of the at least one terminal from the UI layer control information.
The test of the control of the terminal is based on the UI interface of the terminal, so that the first coordinate information of the control in the local coordinate system of each terminal is also based on the UI interface of the terminal.
The step of obtaining the first coordinate information of the control in the local coordinate system of the terminal from the control information also comprises the step of obtaining the UI layer control information corresponding to the terminal from the control information, and then obtaining the first coordinate information of the control in the local coordinate system of each terminal from the UI layer control information.
In addition, in this embodiment, when the test script is run, the control information is replaced according to the control information of the terminal to be tested, so that the test script does not need to be repeatedly debugged or developed. The process comprises the following steps: comparing the initial control information of the terminal with the current control information to obtain a comparison result; generating a difference file according to the comparison result; judging whether the control corresponding to the current control information is the same as the control corresponding to the initial control information; if yes, directly running the test script; if not, updating the current control information according to the difference file, and testing the terminal according to the updated current control information.
The method comprises the steps of extracting control information from a terminal once to define the control information as initial control information when a test script is developed, and extracting the control information from the terminal once again to define the control information as current control information when the test script is tested. And comparing the initial control information with the current control information to obtain a comparison result, and generating a difference file between the two control information according to the corresponding result. During the test, judging whether the control same as the control in the initial control information can be searched in the control information, if so, directly running a test script; if the same control as the initial control information cannot be searched in the current control information, the control information is changed in the version upgrading process of the terminal, the current control information is replaced according to the produced difference file, then the test script is run, and the test script does not need to be debugged or developed repeatedly.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of the method for testing a terminal according to the present invention, which executes a test script to perform the following steps:
s201, establishing a local coordinate system of at least one terminal.
S202, acquiring control information of at least one terminal, and acquiring first coordinate information of the control of the at least one terminal in a local coordinate system according to the control information.
And S203, mapping the first coordinate information into second coordinate information in a mechanical device coordinate system.
Step S201 and step S202 in the present embodiment are respectively the same as step S101 and step S102 in the first embodiment of the method for testing a terminal shown in fig. 1 to 3; step S203 is the same as the content of the second coordinate information in the mechanical apparatus coordinate system mapped by the first coordinate information in step S103, and is not described herein again.
And S204, sending a test instruction containing the second coordinate information and the preset test behavior of the at least one terminal to a server of the mechanical device, so that the mechanical device executes the corresponding test instruction to the at least one terminal according to the sequence of the test instruction of the at least one terminal received by the server, and obtaining a test result.
After the second coordinate information of the control in the mechanical device coordinate system is obtained in step S203, the second coordinate information and the preset test behavior are encapsulated, and the test instruction in which the second coordinate information and the preset test behavior are encapsulated is sent to the server of the mechanical device. And each terminal sends a test instruction containing second coordinate information and a preset test behavior to the server. In this embodiment, each terminal sends a test instruction including the second coordinate information and the preset test behavior to the server in a plaintext manner.
And the server of the mechanical device sends corresponding test execution instructions to the mechanical device according to the received sequence of the test instructions sent by each terminal, so that the mechanical device correspondingly tests the terminal according to the test instructions containing the second coordinate information and the preset test behaviors and obtains a test result according to the received test execution instructions.
Further, as shown in fig. 5, the following steps are included after step S204:
and S205, judging whether the test is passed or not according to the test result.
After the test result is obtained in step S204, the test result is judged to obtain whether the test is passed, and different steps are executed according to the judgment result.
And S206, feeding back the test result to the server of the mechanical device so that the server sends a next test execution instruction to the mechanical device.
If the determination result in step S205 is that the test is passed, the test result is fed back to the server of the mechanical device, and the server of the mechanical device sends a test instruction to the mechanical device, so that the mechanical device continues to test the terminal.
And S207, stopping the test and printing a test result.
If the determination result in the step S205 is that the test does not pass, the test is stopped, and the test result is printed, so that the tester can perform corresponding processing on the test according to the printed test result.
Referring to fig. 6, fig. 6 is a functional block diagram of a first embodiment of a system of a test terminal of the present invention, the system including:
the script execution module 100: for running the test script.
The script execution module 100 includes:
a local coordinate system establishing unit 101, configured to establish a local coordinate system of at least one terminal;
the coordinate information acquiring unit 102 is configured to acquire control information of at least one terminal, and obtain first coordinate information of the control of the at least one terminal in the local coordinate system according to the control information;
a coordinate conversion unit 103 for mapping the first coordinate information to second coordinate information in a mechanical device coordinate system; and enabling the mechanical device to perform test operation on the at least one terminal according to the second coordinate information to obtain a test result.
The modules/units of the first embodiment of the system for testing a terminal of the present invention correspond to the steps of the first embodiment of the method shown in fig. 1 to 3, respectively, and are not described herein again.
Referring to fig. 7, fig. 7 is a functional block diagram of a second embodiment of a system of a test terminal of the present invention, the system including:
script execution module 200: for running the test script.
The script execution module 200 includes:
a local coordinate system establishing unit 201, configured to establish a local coordinate system of at least one terminal;
a coordinate information obtaining unit 202, configured to obtain control information of at least one terminal, and obtain first coordinate information of the control of the at least one terminal in a local coordinate system according to the control information;
a coordinate conversion unit 203 for mapping the first coordinate information into second coordinate information in the mechanical device coordinate system;
the coordinate sending unit 204 is configured to send a test instruction, which includes second coordinate information and a preset test behavior, of at least one terminal to a server of the mechanical device, so that the mechanical device executes a corresponding test instruction on the at least one terminal according to a sequence of the test instruction of the at least one terminal received by the server, and obtains a test result.
Further, as shown in fig. 8, after the coordinate sending unit 204 of the second embodiment of the system for testing a terminal according to the present invention, the method further includes:
and a result judging unit 205, configured to judge whether the test passes according to the test result.
A result feedback unit 206, configured to feed back a test result to the server of the mechanical apparatus, so that the server sends a next test execution instruction to the mechanical apparatus.
A result printing unit 207 for stopping the test and printing the test result.
The module/unit of the second embodiment of the system for testing a terminal according to the present invention shown in fig. 7 corresponds to the step of the second embodiment of the method shown in fig. 4, and the module/unit of the third embodiment of the system for testing a terminal according to the present invention shown in fig. 8 corresponds to the step of the third embodiment of the method shown in fig. 5, and will not be described again here.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an embodiment of a system of a test terminal according to the present invention. The system comprises: at least one terminal 92, a testing device 91 and a mechanical device 93. Wherein the testing device 91 comprises a processor 911, a memory 912, a vision device 913; the processor 911 is coupled to the memory 912 and the vision device 913, respectively; the processor 911 establishes a communication connection with the at least one terminal 92 and the mechanism 93, respectively.
The vision device 913 is configured to locate and identify at least one terminal 92, and obtain location information and identification information corresponding to the at least one terminal 92.
The memory 912 is used for storing positioning information, identification information, operating instructions executed by the processor, an operating system, and the like.
A processor 911 configured to run a test script to perform the following actions:
acquiring control information of at least one terminal 92, and acquiring first coordinate information of the control of the at least one terminal 92 in a local coordinate system of the at least one terminal 92 according to the control information; and mapping the first coordinate information to second coordinate information in a coordinate system of the mechanical device 93 to obtain a test result.
Wherein the local coordinate system is a coordinate system of the terminal established by the processor 911 for the at least one terminal 92 according to the positioning information and the identification information acquired by the vision device 913.
The mechanical device 93 performs a test operation on the at least one terminal 92 according to the second coordinate information.
Further, as shown in fig. 10, another embodiment of the system of the test terminal of the present invention is based on the embodiment shown in fig. 9, and further includes a server 94 of a mechanical device 93;
after mapping the first coordinate information to the second coordinate information in the coordinate system of the mechanical device 93, the testing device 91 sends a test instruction containing the second coordinate information and the preset test behavior of at least one terminal 92 to the server 94 of the mechanical device 93.
The server 94 of the mechanical device 93 receives the test instruction, which contains the second coordinate information and the preset test behavior, of the at least one terminal 92, and executes the corresponding test instruction on the at least one terminal 92 according to the sequence of the received test instruction;
the mechanical device 93 receives the test instruction, and tests the at least one terminal 92 according to the second coordinate information and the preset test behavior included in the test instruction.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method of testing a terminal, comprising running a test script to perform the steps of:
establishing a local coordinate system of at least one terminal, wherein the local coordinate system corresponds to the terminal one to one;
acquiring control information of the at least one terminal, and acquiring first coordinate information of the control of the at least one terminal in the local coordinate system from the control information;
mapping the first coordinate information into second coordinate information in a mechanical device coordinate system, so that the mechanical device performs test operation on the at least one terminal according to the second coordinate information to obtain a test result;
wherein the obtaining of the first coordinate information of the control in the local coordinate system of the at least one terminal from the control information includes:
acquiring UI layer control information corresponding to the at least one terminal from the control information;
and obtaining first coordinate information of the control of the at least one terminal in a local coordinate system of the at least one terminal from the UI layer control information.
2. The method of claim 1, wherein establishing a local coordinate system of the at least one terminal comprises:
positioning and identifying the at least one terminal to obtain positioning information and identification information corresponding to the at least one terminal;
and establishing a local coordinate system for the at least one terminal according to the positioning information and the identification information.
3. The method of claim 1, after said mapping said first coordinate information to second coordinate information in a mechanical device coordinate system, comprising:
and sending a test instruction containing the second coordinate information and a preset test behavior of the at least one terminal to a server of the mechanical device, so that the mechanical device executes a corresponding test instruction on the at least one terminal according to the sequence of the test instructions of the at least one terminal received by the server, and obtaining a test result.
4. The method of claim 3, further comprising, after said obtaining the test result:
judging whether the test passes or not according to the test result;
if so, feeding back the test result to a server of the mechanical device so as to enable the server to send a next test execution instruction to the mechanical device; if not, stopping testing and printing the test result.
5. The method of claim 1, wherein the running a test script comprises:
comparing the initial control information of the at least one terminal with the current control information to obtain a comparison result;
generating a difference file according to the comparison result;
judging whether the control corresponding to the current control information is the same as the control corresponding to the initial control information;
if yes, directly running the test script; if not, updating the current control information according to the difference file, and testing the terminal according to the updated current control information;
the initial control information is corresponding control information during test script development;
the acquiring control information of the at least one terminal comprises:
and acquiring the current control information of the at least one terminal.
6. A system for testing terminals, comprising: the script operation module: for running test scripts;
wherein the script execution module comprises:
the system comprises a local coordinate system establishing unit, a local coordinate system establishing unit and a terminal establishing unit, wherein the local coordinate system of at least one terminal is established, and the local coordinate system corresponds to the terminal one to one;
the coordinate information acquisition unit is used for acquiring control information of the at least one terminal and acquiring first coordinate information of the control of the at least one terminal in the local coordinate system according to the control information;
a coordinate conversion unit for mapping the first coordinate information to second coordinate information in a mechanical device coordinate system; enabling the mechanical device to perform test operation on the at least one terminal according to the second coordinate information to obtain a test result;
wherein the coordinate information obtaining unit is further configured to perform the steps of:
acquiring UI layer control information corresponding to the at least one terminal from the control information;
and obtaining first coordinate information of the control of the at least one terminal in a local coordinate system of the at least one terminal from the UI layer control information.
7. A system for testing terminals is characterized by comprising at least one terminal, a testing device and a mechanical device, wherein the testing device is respectively connected with the at least one terminal and the mechanical device;
the test device runs the test script to execute the following actions:
acquiring control information of the at least one terminal, and acquiring first coordinate information of the control of the at least one terminal in a local coordinate system of the at least one terminal according to the control information; mapping the first coordinate information into second coordinate information in a mechanical device coordinate system to obtain a test result;
the mechanical device is used for carrying out test operation on the at least one terminal according to the second coordinate information;
the local coordinate system corresponds to the terminals one by one;
wherein the obtaining of the first coordinate information of the control of the at least one terminal in the local coordinate system of the at least one terminal according to the control information includes:
acquiring UI layer control information corresponding to the at least one terminal from the control information;
and obtaining first coordinate information of the control of the at least one terminal in a local coordinate system of the at least one terminal from the UI layer control information.
8. The system of claim 7, further comprising a server of the mechanical device;
after mapping the first coordinate information into second coordinate information in a mechanical device coordinate system, the testing device sends a testing instruction containing the second coordinate information and a preset testing behavior of the at least one terminal to a server of the mechanical device;
the server of the mechanical device receives a test instruction of the at least one terminal, wherein the test instruction comprises the second coordinate information and a preset test behavior, and executes a corresponding test instruction to the at least one terminal according to the sequence of the received test instruction;
and the mechanical device receives the test instruction and tests the at least one terminal according to the second coordinate information and preset test behaviors contained in the test instruction.
CN201610863998.7A 2016-09-28 2016-09-28 Method and system for testing terminal Active CN106528402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610863998.7A CN106528402B (en) 2016-09-28 2016-09-28 Method and system for testing terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610863998.7A CN106528402B (en) 2016-09-28 2016-09-28 Method and system for testing terminal

Publications (2)

Publication Number Publication Date
CN106528402A CN106528402A (en) 2017-03-22
CN106528402B true CN106528402B (en) 2020-06-02

Family

ID=58344514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610863998.7A Active CN106528402B (en) 2016-09-28 2016-09-28 Method and system for testing terminal

Country Status (1)

Country Link
CN (1) CN106528402B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457219B (en) * 2019-08-08 2021-06-22 中国建设银行股份有限公司 Method and device for selecting time when test script is recorded
CN110727436A (en) * 2019-10-24 2020-01-24 深圳前海微众银行股份有限公司 Operation interface script execution method and device, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533314A (en) * 2008-03-11 2009-09-16 联想(北京)有限公司 Method for positioning terminal by cursor, system thereof and terminal controller
CN103164300A (en) * 2011-12-13 2013-06-19 腾讯科技(深圳)有限公司 Mobile terminal touch screen automatic testing method and device
CN103383658A (en) * 2012-05-04 2013-11-06 腾讯科技(深圳)有限公司 Method for memorizing operation to mobile terminal and server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7805382B2 (en) * 2005-04-11 2010-09-28 Mkt10, Inc. Match-based employment system and method
CN104699591B (en) * 2013-12-06 2019-01-11 腾讯科技(深圳)有限公司 A kind of test scene replay method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533314A (en) * 2008-03-11 2009-09-16 联想(北京)有限公司 Method for positioning terminal by cursor, system thereof and terminal controller
CN103164300A (en) * 2011-12-13 2013-06-19 腾讯科技(深圳)有限公司 Mobile terminal touch screen automatic testing method and device
CN103383658A (en) * 2012-05-04 2013-11-06 腾讯科技(深圳)有限公司 Method for memorizing operation to mobile terminal and server

Also Published As

Publication number Publication date
CN106528402A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN107844421B (en) Interface testing method and device, computer equipment and storage medium
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
CN109302522B (en) Test method, test device, computer system, and computer medium
CN107665233B (en) Database data processing method and device, computer equipment and storage medium
CN110347587B (en) APP compatibility testing method and device, computer equipment and storage medium
CN108984388B (en) Method and terminal equipment for generating automatic test case
CN103744784B (en) Mobile phone application automated testing method and system
CN111475390A (en) Log collection system deployment method, device, equipment and storage medium
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN106528402B (en) Method and system for testing terminal
CN113986270B (en) Distributed application deployment method and device, storage medium and electronic equipment
CN111831542A (en) API application debugging method and device and storage medium
CN113672441A (en) Method and device for testing intelligent equipment
CN112783756A (en) Automatic test method, terminal, system and storage medium
CN105446873B (en) APK Software Automatic Testing Methods and system based on Android platform
TW201324141A (en) Testing method and testing apparatus for testing function of electronic apparatus
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN107783867B (en) Gesture testing method and device, computer equipment and storage medium
CN113821433A (en) Method, device, equipment, medium and product for testing cloud mobile phone application program
CN102707943A (en) Implementation method of remote control automation tool
CN111782445B (en) Configuration method and device of equipment debugging environment
CN111581042B (en) Cluster deployment method, deployment platform and server to be deployed
CN114116034A (en) Distributed flashing method and device
CN110515834B (en) Interface testing method and device, mobile terminal and storage medium
CN108108369B (en) Method and device for processing calling error of common interface library

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230404

Address after: 450000 floor 16, building 11, National 863 Software Park, No. 6, Cuizhu street, high tech Industrial Development Zone, Zhengzhou, Henan Province

Patentee after: HENAN 863 SOFTWARE Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.