Mobile terminal touch screen automatic testing method and device
A mobile terminal and automatic testing technology, applied in software testing/debugging, detecting faulty computer hardware, etc., can solve problems such as cumbersome operation, and achieve the effect of simple method
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] see figure 1 , the embodiment of the present invention provides a mobile terminal touch screen automatic testing method, the method comprising:
[0045] 101: Obtain the control name on the user interface of the program under test on the touch screen of the mobile terminal and the control coordinates corresponding to the control name;
[0046] 102: Find the coordinates of the target control from the obtained control name and control coordinates according to the name of the target control to be tested;
[0047] 103: Execute an automatic test on the target control according to the found coordinates of the target control.
[0048] In the embodiment of the present invention, by obtaining the control name and control coordinates on the user interface of the program under test on the touch screen of the mobile terminal, the clickable coordinate area of the target control can be found out according to the name of the target control, and the test can be directly completed acc...
Embodiment 2
[0050] see figure 2 , the embodiment of the present invention provides a mobile terminal touch screen automatic testing method, the method comprising:
[0051] 201: Write a test case on the computer, establish communication with the touch screen of the mobile terminal, and obtain the program under test on the touch screen of the mobile terminal according to the test case;
[0052] In this step, the tester writes test cases on the computer side, sends the test cases to the touch screen of the mobile terminal, and obtains the program under test on the touch screen of the mobile terminal to perform an automatic operation process.
[0053]Specifically, the computer terminal and the touch screen of the mobile terminal are connected through a data line, and the test cases on the computer are sent to the touch screen of the mobile terminal through an agent program to call the program under test on the touch screen of the mobile terminal, and the agent program runs on the touch scree...
Embodiment 3
[0080] see image 3 , the embodiment of the present invention provides a mobile terminal touch screen automatic test device, the device includes:
[0081] Obtaining module 301, for acquiring the control name on the user interface of the program under test on the touch screen of the mobile terminal and the control coordinates corresponding to the control name;
[0082] A search module 302, configured to find out the coordinates of the target control from the obtained control name and control coordinates according to the name of the target control to be tested;
[0083] A testing module 303, configured to perform an automatic test on the target control according to the coordinates of the searched target control.
[0084] see Figure 4 , the device also includes:
[0085] The communication module 304 is configured to establish communication with the touch screen of the mobile terminal, and obtain the program under test on the touch screen of the mobile terminal.
[0086] Furt...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com