Mobile application testing method and testing equipment
A technology of mobile application and testing method, applied in the field of testing, can solve problems such as low testing efficiency and cumbersome testing steps, achieve the effect of reducing operation complexity and tediousness, and improving testing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] figure 1 The implementation flow of the mobile application testing method provided by the embodiment of the present invention is shown, and the method flow includes steps S101 to S105. The specific implementation principle of each step is as follows:
[0046] S101: Locate and activate the text box on the test page.
[0047] The test page is a page displayed in the application program run by the mobile terminal, which includes multiple controls. The aforementioned controls include but are not limited to user interface controls, image processing controls, and document processing controls. Wherein, the user interface control may be, for example, a button, a text box, a chart, and a drop-down menu.
[0048] In the embodiment of the present invention, the text boxes on the test page are positioned according to the pre-stored center coordinates of each text box. The above steps of activating the text box in the test page specifically include: for any text box positioned i...
Embodiment 2
[0070] As an embodiment of the present invention, image 3 The specific implementation process of the mobile application testing method S105 provided by Embodiment 1 of the present invention is shown, and the details are as follows:
[0071] S1051: Obtain a jump page corresponding to the text box after the input of the test characters is completed.
[0072] If the control associated with the text box is specifically used to jump to a new page, the jump event is a page jump event. After encapsulating the test characters contained in the text box into the above page request, upload it to the background server of the mobile application.
[0073] When receiving the page response result returned by the background server, start loading the jump page.
[0074] S1052: Take a screenshot of the jump page to obtain a jump page image.
[0075] When it is detected that the jump page is loaded, based on the takeSnapshot method provided by the monkeyrunner software above, a screenshot of ...
Embodiment 3
[0087] On the basis of the second embodiment above, the abnormal type of the page test result is further determined. Such as Figure 4 As shown, after the above S104, it also includes:
[0088] S106: Obtain the first moment corresponding to when the page jump event is triggered.
[0089] Performs a control selection operation associated with a text box to generate a page request. When a page request is sent to the background server, the current time point is recorded, and this time point is determined as the first moment.
[0090] S107: Obtain a second moment corresponding to when the redirected page starts loading.
[0091] When receiving the page response result returned by the background server, start loading the jump page. At this point, the mobile terminal will start to gradually load each page element in the jump page. When it is detected that any page element appears on the display interface, the current time point is recorded, and this time point is determined as ...
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