CN113495844B - Automatic testing method, device and system based on virtual click and storage medium - Google Patents

Automatic testing method, device and system based on virtual click and storage medium Download PDF

Info

Publication number
CN113495844B
CN113495844B CN202110833698.5A CN202110833698A CN113495844B CN 113495844 B CN113495844 B CN 113495844B CN 202110833698 A CN202110833698 A CN 202110833698A CN 113495844 B CN113495844 B CN 113495844B
Authority
CN
China
Prior art keywords
test
click
tested
virtual
function
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
CN202110833698.5A
Other languages
Chinese (zh)
Other versions
CN113495844A (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.)
SAIC GM Wuling Automobile Co Ltd
Original Assignee
SAIC GM Wuling Automobile 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 SAIC GM Wuling Automobile Co Ltd filed Critical SAIC GM Wuling Automobile Co Ltd
Priority to CN202110833698.5A priority Critical patent/CN113495844B/en
Publication of CN113495844A publication Critical patent/CN113495844A/en
Application granted granted Critical
Publication of CN113495844B publication Critical patent/CN113495844B/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The invention discloses an automatic testing method, device, system and storage medium based on virtual clicking, wherein the method comprises the following steps: acquiring a preset simulated click operation, and determining a corresponding tested function and a corresponding test parameter according to the preset simulated click operation; testing the corresponding tested function in the intelligent network system according to the test parameters, and acquiring test image information in the test process; and determining a test result according to the test image information, and outputting a test report according to the test result. According to the invention, by acquiring the preset simulated click operation, the functions in the intelligent network system can be tested by using the virtual click operation; in addition, by acquiring the test image information in the test process, the test result can be determined according to the test image information, and the automatic test function of the intelligent network connection system is realized, so that the resource investment of the human test is reduced, and the technical problems of poor consistency and omission of the human test are solved.

Description

Automatic testing method, device and system based on virtual click and storage medium
Technical Field
The invention relates to the field of automobile application, in particular to an automatic testing method, device and system based on virtual clicking and a storage medium.
Background
With the rapid development of intelligent network cars, the improvement of the intelligent networking system technology, and the improvement of the testing work of the intelligent network system for the intelligent network cars.
At present, the real vehicle test work of the intelligent network system is mainly carried out by pure manpower, and the real vehicle test method mainly has the following problems:
on one hand, the software updating iteration of the intelligent network system is fast, and the manpower test is difficult to keep pace with the software development; on the other hand, the testing environment of the manual testing is boring, the same work is carried out for a long time, and testing personnel are easy to feel tired, so that the consistency of the testing result is poor; moreover, the manual test has more functional rules and items, the stability test consumes longer time, the manual test cannot be performed in limited time, and problems are easy to be missed; moreover, the time consumption of the traditional human testing is long, and the human resource input is overlarge.
Thus, the prior art has yet to be improved.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an automatic testing method, device, system and storage medium based on virtual click to solve the technical problems of poor consistency and omission of manual testing.
The technical scheme adopted by the invention for solving the technical problem is as follows:
in a first aspect, the present invention provides an automated testing method based on virtual click, which includes the following steps:
acquiring a preset simulated click operation, and determining a corresponding tested function and a corresponding test parameter according to the preset simulated click operation;
testing the corresponding tested function in the intelligent network system according to the test parameters, and collecting test image information in the test process;
and determining a test result according to the test image information, and outputting a test report according to the test result.
In one implementation, the obtaining the preset simulated click operation includes:
defining a plurality of preset simulated click operations, and setting tested functions and test parameters corresponding to the preset simulated click operations.
In one implementation manner, the preset simulated click operation includes: single click, double click, long press, sliding screen, continuous click, and drag operation.
In one implementation manner, the obtaining of the preset simulated click operation and determining the corresponding tested function and test parameter according to the preset simulated click operation include:
acquiring a preset control instruction, and controlling a test control of an upper computer according to the preset control instruction so as to simulate the preset simulated click operation;
and searching a corresponding tested function according to the preset simulated click operation, and acquiring a corresponding test parameter according to the tested function.
In an implementation manner, the testing the corresponding function to be tested in the intelligent network connection system according to the test parameter, and acquiring test image information in the test process includes:
determining a test instruction and a test frequency according to the test parameters;
testing the corresponding tested function in the intelligent network system according to the test instruction and the test frequency;
and collecting the test image information displayed on a display interface in the intelligent network connection system.
In one implementation manner, the determining a test result according to the test image information and outputting a test report according to the test result includes:
acquiring test sample information;
comparing a display interface corresponding to the test image information with a display interface corresponding to the test sample image information;
judging whether the tested function of the intelligent network system is in a normal state or not according to the comparison result;
and when the tested function of the intelligent network system is in a normal state, outputting the test report to an upper computer, and displaying the test report through the upper computer.
In one implementation, the method for automated testing based on virtual click further includes:
acquiring a simulated click operation in the mobile terminal through the program-controlled USB;
and performing on-off test according to the simulated click operation in the mobile terminal so as to test the on-off function between the intelligent network connection system and the mobile terminal.
In a second aspect, the present invention provides an automated testing apparatus based on virtual click, including: a processor and a memory, the memory storing a virtual click based automated test program for implementing the virtual click based automated test method according to the first aspect when executed by the processor.
In a third aspect, the present invention provides an automated testing system based on virtual click, including: the automatic testing device comprises a mobile terminal, an automobile machine and the automatic testing device based on the virtual click as described in the second aspect; the mobile terminal and the automobile machine are respectively connected with the automatic testing device based on the virtual click;
the automatic testing device based on the virtual click comprises: the system comprises an upper computer, a program-controlled USB and an image acquisition device; the program-controlled USB and the image acquisition device are respectively connected with the upper computer;
the automatic testing device based on the virtual click is used for executing the following steps:
acquiring a preset simulated click operation, and determining a corresponding tested function and a corresponding test parameter according to the preset simulated click operation;
testing the corresponding tested function in the intelligent network system according to the test parameters, and collecting test image information in the test process;
and determining a test result according to the test image information, and outputting a test report according to the test result.
In a fourth aspect, the present invention provides a storage medium storing a virtual click-based automated testing program, where the virtual click-based automated testing program is used to implement the virtual click-based automated testing method according to the first aspect when executed by a processor.
The technical scheme adopted by the invention has the following effects:
according to the invention, by acquiring the preset simulated click operation, the function in the intelligent network system can be tested by using the virtual click operation; in addition, by acquiring the test image information in the test process, the test result can be determined according to the test image information, and the automatic test function of the intelligent network connection system is realized, so that the resource investment of the human test is reduced, and the technical problems of poor consistency and omission of the human test are solved.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the embodiments or technical solutions of the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a flow chart of a virtual click based automated testing method in one implementation of the invention.
FIG. 2 is a functional schematic diagram of a virtual click based automated testing apparatus in one implementation of the present invention.
FIG. 3 is a functional schematic of a virtual click based automated testing system in one implementation of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides an automated testing method based on virtual click, which includes the following steps:
and S100, acquiring a preset simulated click operation, and determining a corresponding tested function and a corresponding test parameter according to the preset simulated click operation.
In this embodiment, the method for automated testing based on virtual click is applied to an automated testing device based on virtual click, and the automated testing device based on virtual click includes, but is not limited to: the test equipment is used for testing the functions of the automobile, and comprises a computer, a mobile terminal and the like.
In this embodiment, the automatic testing apparatus based on virtual click includes: the system comprises an upper computer, a program control USB and an image acquisition device; the program-controlled USB and the image acquisition device are respectively connected with the upper computer.
In the automatic testing process, the testing operation of a tester is simulated in an ADB instruction virtual clicking mode, so that the intelligent networking system of the vehicle is tested; the virtual actions comprise clicking, double clicking, long pressing, screen sliding, continuous clicking and dragging operations; in the testing process, function tests such as image verification, condition judgment, circulation test and the like are performed aiming at functions such as screen awakening, screen extinguishing, image display and the like of the intelligent network connection system.
In the testing process, the embodiment also combines the image and character recognition technology, and compares the actual measurement interface adopted in the testing process with the display interface in the sample picture to detect whether the functions in the intelligent network connection system meet the testing standard; the automatic testing function of the intelligent network system is realized by simulating the clicking operation and the image recognition technology, so that specific testing indexes are quantized, and testing items such as basic function testing, reliability testing, stability testing and the like are covered.
Before implementing the automated testing method of this embodiment, it is necessary to define a plurality of preset simulated click operations in a testing system of the automated testing apparatus, and set a tested function and a testing parameter corresponding to each preset simulated click operation; according to the operating system of the intelligent internet system, the preset simulated click operation comprises the following steps: single click, double click, long press, sliding screen, continuous click, and drag operation.
When the preset simulated click operations are defined and set, each preset simulated click operation corresponds to a tested function, for example: the single-click operation corresponds to a test screen awakening function, the double-click operation corresponds to a test screen extinguishing function and the like; when a tested function corresponding to a preset simulated click operation is set, testing parameters of the tested function can be set so as to test the tested function according to the testing parameters; the test parameters comprise test frequency, test judgment parameters and the like; by defining the simulated click operation, the intelligent network system can be controlled by the simulated click operation in the actual measurement process, and the tested function can be tested by using the set test parameters.
That is, in one implementation manner of the present embodiment, step 100 includes the following steps before:
and 001, defining a plurality of preset simulated click operations, and setting tested functions and test parameters corresponding to the preset simulated click operations.
In the embodiment, in the actual test process, the test operation required in the test process is mainly simulated through control software in an upper computer (a computer or a mobile terminal); and then, by acquiring a preset simulated click operation in the upper computer, the corresponding tested function and test parameters can be determined according to the preset simulated click operation.
Specifically, when the preset simulated click operation is obtained, a preset control instruction needs to be obtained, and then a test control of an upper computer is controlled according to the preset control instruction so as to simulate the preset simulated click operation; the preset control instruction comprises an ADB (Android Debug Bridge) control instruction, the ADB control instruction can be used for operating a command of a terminal device or a simulator, and the ADB control instruction can control the upper computer, so that virtual operation required in the test process is simulated in a test control of the upper computer; namely, the upper computer can complete operations such as clicking, double clicking, screen sliding (including rapid screen sliding and continuous screen sliding), continuous clicking, dragging and long pressing in a mode of controlling the test control through an ADB instruction.
Further, in another implementation manner of this embodiment, the upper computer may further control a corresponding coordinate point through an ADB instruction, and complete operations such as clicking, double-clicking, screen sliding (including fast screen sliding and continuous screen sliding), continuous clicking, dragging, and long-time pressing.
After the preset simulated clicking operation is simulated, searching a corresponding tested function according to the preset simulated clicking operation, and acquiring a corresponding test parameter according to the tested function; the preset simulated click operation and the test parameters respectively correspond to the tested functions; and testing the tested function according to the preset simulated click operation and the test parameters.
That is, in an implementation manner of the present embodiment, step S100 specifically includes the following steps:
step S110, acquiring a preset control instruction, and controlling a test control of an upper computer according to the preset control instruction so as to simulate the preset simulated click operation;
and S120, searching a corresponding tested function according to the preset simulated click operation, and acquiring a corresponding test parameter according to the tested function.
In the embodiment, the test control of the upper computer is controlled by the control instruction to simulate the preset simulated click operation, the corresponding tested function can be searched according to the preset simulated click operation, and the corresponding test parameter is determined, so that the tested function is automatically tested by utilizing the preset simulated click operation and the test parameter.
As shown in fig. 1, in an implementation manner of the embodiment of the present invention, the automated testing method based on virtual click further includes the following steps:
and S200, testing the corresponding tested function in the intelligent network system according to the test parameters, and acquiring test image information in the test process.
In this embodiment, after the test parameters are determined, the corresponding tested functions in the intelligent networking system may be tested according to the test parameters; in order to verify whether the tested function can be normally used in the testing process, the image acquisition device is used for acquiring the test image information in the testing process, and then whether the tested function is normal is detected through the acquired test image information.
Specifically, after the test parameters are obtained, a test instruction and a test frequency in the test parameters can be obtained, and then the corresponding tested functions in the intelligent networking system are tested according to the test instruction and the test frequency; the test instruction is a test instruction required for executing the tested function, and the test frequency is the number of times of testing the tested function, namely the number of times of executing the tested function.
Further, in the test process of testing the tested function, test image information displayed on a display interface in the intelligent network system is collected through an image collecting device; the image acquisition device is an LVDS image signal acquisition system and can acquire image information and character information in a display interface of the intelligent network system, and the image information and the character information are acquired in real time and compared with sample image information so as to detect whether the detected function of the intelligent network system is in a normal state or not.
That is, in an implementation manner of this embodiment, step S200 specifically includes the following steps:
step S210, determining a test instruction and a test frequency according to the test parameters;
step S220, testing the corresponding tested function in the intelligent network connection system according to the test instruction and the test frequency;
and step S230, collecting the test image information displayed on the display interface in the intelligent network system.
In this embodiment, the corresponding function to be tested in the intelligent networking system is tested through the test instruction and the test frequency, and the image acquisition device is used to acquire the test image information displayed on the display interface in the intelligent networking system, so that the image information acquired in real time can be compared with the sample image information to judge whether the function to be tested is expected.
As shown in fig. 1, in an implementation manner of the embodiment of the present invention, the automated testing method based on virtual click further includes the following steps:
and step S300, determining a test result according to the test image information, and outputting a test report according to the test result.
In this embodiment, after the test image information is acquired, the test result may be determined according to the test image information; specifically, when a test result is determined, test pattern information may be acquired, and then a display interface corresponding to the test image information is compared with a display interface corresponding to the test pattern information; the test sample image information is image information during testing a sample, and the test sample is an intelligent networking system with tested functions meeting factory standards.
After the test sample image information is obtained, comparing a display interface corresponding to the test image information with a display interface corresponding to the test sample image information, and then judging whether the tested function of the intelligent network connection system is in a normal state or not according to a comparison result; when the comparison is performed, the difference (i.e., the similarity) between the display interface of the test image information and the display interface of the test sample image information is mainly compared, and if the difference is not large (i.e., the similarity is greater than a preset threshold), it is determined that the tested function of the intelligent internet system is in a normal state.
Further, when the tested function of the intelligent network system is in a normal state, outputting the test report to an upper computer, and displaying the test report through the upper computer; when the test report is output, the test data can be directly transmitted to the test control of the upper computer, and then the test report is displayed in the test control of the upper computer.
That is, in an implementation manner of this embodiment, the step S300 specifically includes the following steps:
step S310, obtaining test sample image information;
step S320, comparing the display interface corresponding to the test image information with the display interface corresponding to the test sample image information;
step S330, judging whether the tested function of the intelligent network system is in a normal state according to the comparison result;
and step S340, when the tested function of the intelligent network system is in a normal state, outputting the test report to an upper computer, and displaying the test report through the upper computer.
In this embodiment, the virtual click technology, the program-controlled USB, the LVDS image signal acquisition system, and the upper computer automated testing platform are integrated into a whole, so as to provide an automated testing platform for testing the mobile phone APP and the intelligent internet system software.
Besides testing the functions of the intelligent networking system, the implementation can also test the communication function and the connection function between the mobile terminal and the intelligent networking system; specifically, when the communication function and the connection function of the mobile terminal are tested, the simulated click operation in the mobile terminal can be obtained through a program-controlled USB, and then the on-off test is carried out according to the simulated click operation in the mobile terminal so as to test the on-off function between the intelligent network connection system and the mobile terminal; the simulated click operation in the mobile terminal can be the click operation simulated by the APP in the mobile terminal, and the click operation can be set by a user in the APP in a self-defined manner and can select the function to be tested.
The stability of connection between the mobile terminal and the intelligent networking system can be detected by testing the communication function and the on-off function between the mobile terminal and the intelligent networking system, and the stability of communication between the mobile terminal and the intelligent networking system can be tested.
That is, in an implementation manner of this embodiment, the method further includes the following steps:
s400, acquiring a simulated click operation in the mobile terminal through the program-controlled USB;
and S500, performing on-off test according to the simulated click operation in the mobile terminal so as to test the on-off function between the intelligent network connection system and the mobile terminal.
In this embodiment, can reduce human resource's input to a great extent, at the in-process of automated test, can test many cell-phones or car machine simultaneously, utilize virtual click to replace tester's actual operation, carry out function and stability verification for intelligent networking system software, guarantee efficiency of software testing and quality in limited test cycle.
In this embodiment, by obtaining a preset simulated click operation, a function in the intelligent network system can be tested by using a virtual click operation; in addition, by acquiring the test image information in the test process, the test result can be determined according to the test image information, and the automatic test function of the intelligent network connection system is realized, so that the resource investment of the human test is reduced, and the technical problems of poor consistency and omission of the human test are solved.
Exemplary device
Based on the above embodiment, the present invention further provides an automatic testing apparatus based on virtual click, and a schematic block diagram thereof may be as shown in fig. 2.
The automatic testing arrangement based on virtual click includes: the system comprises a processor, a memory, an interface and a display screen which are connected through a system bus; wherein the processor of the virtual click based automated testing device is configured to provide computing and control capabilities; the memory of the automatic test device based on virtual clicking comprises a nonvolatile storage medium and an internal memory; the non-volatile storage medium stores an operating system and a computer program; the internal memory provides an environment for the operation of an operating system and a computer program in the nonvolatile storage medium; the interface of the automatic testing device based on the virtual click is used for connecting with other terminal equipment; the display screen of the automatic testing device based on the virtual click is used for displaying the testing data.
The computer program is executed by a processor to implement a virtual click-based automated testing method.
It will be understood by those skilled in the art that the schematic block diagram shown in fig. 2 is only a block diagram of a partial structure related to the present invention, and does not constitute a limitation of the virtual click-based automatic testing device to which the present invention is applied, and a specific virtual click-based automatic testing device may include more or less components than those shown in the figure, or more components in combination, or have different component arrangements.
In one embodiment, there is provided a virtual click based automated testing apparatus, comprising: the automatic test system comprises a processor and a memory, wherein the memory stores an automatic test program based on virtual click, and the automatic test program based on virtual click is used for realizing the automatic test method based on virtual click when being executed by the processor.
Based on the above embodiments, an automated testing system based on virtual click is provided, and its functional block diagram may be as shown in fig. 3.
The automatic test system based on virtual click comprises: the system comprises a mobile terminal, an automobile machine and the automatic testing device based on virtual clicking; the mobile terminal and the automobile machine are respectively connected with the automatic testing device based on the virtual click;
the automatic testing device based on virtual click comprises: the system comprises an upper computer, a program-controlled USB and an image acquisition device; the program-controlled USB and the image acquisition device are respectively connected with the upper computer;
the automatic testing device based on the virtual click is used for executing the following steps:
acquiring a preset simulated click operation, and determining a corresponding tested function and a corresponding test parameter according to the preset simulated click operation;
testing the corresponding tested function in the intelligent network system according to the test parameters, and collecting test image information in the test process;
and determining a test result according to the test image information, and outputting a test report according to the test result.
Based on the above embodiments, a storage medium is provided, where a virtual click-based automated testing program is stored, and the virtual click-based automated testing program is used for implementing the virtual click-based automated testing method described above when being executed by a processor.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory.
In summary, the present invention provides an automated testing method, apparatus, system and storage medium based on virtual click, the method includes: acquiring a preset simulated click operation, and determining a corresponding tested function and a corresponding test parameter according to the preset simulated click operation; testing the corresponding tested function in the intelligent network system according to the test parameters, and acquiring test image information in the test process; and determining a test result according to the test image information, and outputting a test report according to the test result. According to the invention, by acquiring the preset simulated click operation, the function in the intelligent network system can be tested by using the virtual click operation; in addition, by acquiring the test image information in the test process, the test result can be determined according to the test image information, and the automatic test function of the intelligent networking system is realized, so that the resource investment of the human test is reduced, and the technical problems of poor consistency and omission of the human test are solved.
It will be understood that the invention is not limited to the examples described above, but that modifications and variations will occur to those skilled in the art in light of the above teachings, and that all such modifications and variations are considered to be within the scope of the invention as defined by the appended claims.

Claims (9)

1. An automatic test method based on virtual click is characterized by comprising the following steps:
acquiring a preset simulated click operation, and determining a corresponding tested function and a corresponding test parameter according to the preset simulated click operation, wherein the tested function comprises screen awakening, screen extinguishing and image display;
testing the corresponding tested functions in the intelligent network system according to the test parameters, and collecting test image information in the test process, wherein the test comprises image verification, condition judgment and cycle test;
determining a test result according to the test image information, and outputting a test report according to the test result;
the automatic test method based on the virtual click further comprises the following steps:
when the communication function and the connection function of the mobile terminal are tested, the simulated click operation in the mobile terminal is obtained through the program-controlled USB;
according to the on-off test is carried out through the simulated click operation in the mobile terminal, so that the on-off function between the intelligent network connection system and the mobile terminal is tested, wherein the simulated click operation in the mobile terminal is the click operation simulated by the APP in the mobile terminal, the click operation is set in the APP in a user-defined mode, and the function needing to be tested is selected.
2. The automated testing method based on virtual click according to claim 1, wherein the obtaining of the preset simulated click operation previously comprises:
defining a plurality of preset simulated click operations, and setting tested functions and test parameters corresponding to the preset simulated click operations.
3. The automated testing method based on virtual clicking according to claim 1, wherein the preset simulated clicking operation comprises: single click, double click, long press, sliding screen, continuous click, and drag operations.
4. The automated testing method based on virtual clicking according to claim 1, wherein the obtaining of a preset simulated clicking operation and the determining of corresponding tested functions and test parameters according to the preset simulated clicking operation comprises:
acquiring a preset control instruction, and controlling a test control of an upper computer according to the preset control instruction so as to simulate the preset simulated click operation;
and searching a corresponding tested function according to the preset simulated click operation, and acquiring a corresponding test parameter according to the tested function.
5. The automated testing method based on virtual clicking according to claim 1, wherein the testing the corresponding tested function in the intelligent internet system according to the testing parameters and collecting the testing image information in the testing process comprises:
determining a test instruction and a test frequency according to the test parameters;
testing the corresponding tested function in the intelligent network system according to the test instruction and the test frequency;
and collecting the test image information displayed on a display interface in the intelligent network connection system.
6. The automated testing method based on virtual clicking according to claim 1, wherein the determining a test result according to the test image information and outputting a test report according to the test result comprises:
acquiring test sample image information;
comparing a display interface corresponding to the test image information with a display interface corresponding to the test sample image information;
judging whether the tested function of the intelligent networking system is in a normal state or not according to the comparison result;
and when the tested function of the intelligent network system is in a normal state, outputting the test report to an upper computer, and displaying the test report through the upper computer.
7. An automated testing device based on virtual clicking, comprising: a processor and a memory, the memory storing a virtual click based automated test program for implementing the virtual click based automated test method of any one of claims 1-6 when executed by the processor.
8. An automated test system based on virtual clicks, comprising: a mobile terminal, a car machine and the automated testing device based on virtual clicks according to claim 7; the mobile terminal and the automobile machine are respectively connected with the automatic testing device based on the virtual click;
the automatic testing device based on virtual click comprises: the system comprises an upper computer, a program control USB and an image acquisition device; the program-controlled USB and the image acquisition device are respectively connected with the upper computer;
the automatic testing device based on the virtual click is used for executing the following steps:
acquiring a preset simulated click operation, and determining a corresponding tested function and a corresponding test parameter according to the preset simulated click operation, wherein the tested function comprises screen awakening, screen extinguishing and image display;
testing the corresponding tested functions in the intelligent network system according to the test parameters, and collecting test image information in the test process, wherein the test comprises image verification, condition judgment and cycle test;
determining a test result according to the test image information, and outputting a test report according to the test result;
when the communication function and the connection function of the mobile terminal are tested, the simulated click operation in the mobile terminal is obtained through the program-controlled USB;
according to the on-off test is carried out through the simulated click operation in the mobile terminal, so that the on-off function between the intelligent network connection system and the mobile terminal is tested, wherein the simulated click operation in the mobile terminal is the click operation simulated by the APP in the mobile terminal, the click operation is set in the APP in a user-defined mode, and the function needing to be tested is selected.
9. A storage medium storing a virtual click based automated test program, the virtual click based automated test program when executed by a processor implementing the virtual click based automated test method according to any one of claims 1-6.
CN202110833698.5A 2021-07-22 2021-07-22 Automatic testing method, device and system based on virtual click and storage medium Active CN113495844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110833698.5A CN113495844B (en) 2021-07-22 2021-07-22 Automatic testing method, device and system based on virtual click and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110833698.5A CN113495844B (en) 2021-07-22 2021-07-22 Automatic testing method, device and system based on virtual click and storage medium

Publications (2)

Publication Number Publication Date
CN113495844A CN113495844A (en) 2021-10-12
CN113495844B true CN113495844B (en) 2023-03-14

Family

ID=77996366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110833698.5A Active CN113495844B (en) 2021-07-22 2021-07-22 Automatic testing method, device and system based on virtual click and storage medium

Country Status (1)

Country Link
CN (1) CN113495844B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175285A (en) * 2006-11-01 2008-05-07 联想移动通信科技有限公司 Automatic testing method and system for mobile phone software
CN105808416A (en) * 2014-12-27 2016-07-27 南车株洲电力机车研究所有限公司 An automatic test method and system for man-machine graphic interaction interfaces
CN107870271A (en) * 2016-11-03 2018-04-03 珠海市杰理科技股份有限公司 Automated testing method and device
CN108959068A (en) * 2018-06-04 2018-12-07 广州视源电子科技股份有限公司 Software interface test method, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5096024B2 (en) * 2007-03-19 2012-12-12 株式会社リコー USB controller and USB controller test method
CN105786664A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 Automatic test system for simulating user operation
EP3121729B1 (en) * 2015-07-21 2018-09-26 Tata Elxsi Limited System and method for enhanced emulation of connected vehicle applications
CN109062779A (en) * 2018-06-07 2018-12-21 优视科技有限公司 Test control method, main control device, controlled device and test macro
CN111026640B (en) * 2019-11-07 2022-11-25 厦门蓝斯通信股份有限公司 Vehicle-mounted equipment testing method, system, mobile terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175285A (en) * 2006-11-01 2008-05-07 联想移动通信科技有限公司 Automatic testing method and system for mobile phone software
CN105808416A (en) * 2014-12-27 2016-07-27 南车株洲电力机车研究所有限公司 An automatic test method and system for man-machine graphic interaction interfaces
CN107870271A (en) * 2016-11-03 2018-04-03 珠海市杰理科技股份有限公司 Automated testing method and device
CN108959068A (en) * 2018-06-04 2018-12-07 广州视源电子科技股份有限公司 Software interface test method, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
人工智能技术在移动终端自动化测试中的应用;刘维维;《软件导刊》;20210228;第20卷(第2期);第59-62页 *

Also Published As

Publication number Publication date
CN113495844A (en) 2021-10-12

Similar Documents

Publication Publication Date Title
CN112270149A (en) Verification platform automation integration method and system, electronic equipment and storage medium
CN110197004B (en) Circuit simulation method and device based on mobile terminal, computer medium and equipment
CN108874665A (en) A kind of test result method of calibration, device, equipment and medium
CN110704044A (en) Visual programming system
CN110990285B (en) UI (user interface) automatic testing method and device
CN113126993B (en) Automatic test method and system applied to vehicle detection software
CN109634867B (en) Software testing method and device based on data simulation system and storage medium
CN110322587B (en) Evaluation recording method, device and equipment in driving process and storage medium
CN211554929U (en) Human-computer interaction interface automatic identification system based on Android OS
CN113495844B (en) Automatic testing method, device and system based on virtual click and storage medium
CN111796578A (en) Vehicle controller testing method, device and system and storage medium
CN115114152A (en) Automatic testing method and system based on control attribute and image recognition, electronic equipment and storage medium
CN115062571A (en) Dynamic selection method, system, equipment and computer readable storage medium for data area of integrated circuit device
CN110673874A (en) Method, storage medium, device for changing configuration of wizard programming software
CN113590498B (en) Method and system for testing application starting time of desktop operating system
CN111008140B (en) Cross-platform UI (user interface) automatic testing method and device
CN114936358A (en) Human-computer interaction based verification method and verification system
CN114756448A (en) Automatic testing system and method for reduction degree of user interface
CN111427783A (en) RTE interface testing method, device, equipment and storage medium
CN112633194A (en) Method and device for detecting fingerprint in screen
CN114090454B (en) Interface automation test method, device, equipment and storage medium
CN114780326B (en) Cross-platform calibration test method, device and equipment
JPH09259006A (en) Program evaluation system
CN116185879B (en) Python-based intelligent cabin instrument automatic test method and system
CN109144798B (en) Intelligent management system with machine learning function

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