Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Positioning method and device of mobile application page object

A technology for page objects and mobile applications, applied in instruments, electrical digital data processing, computing, etc., can solve problems such as positioning, poor compatibility of automated test scripts, etc., and achieve the effect of improving accuracy and compatibility

Active Publication Date: 2016-02-17
NEUSOFT CORP
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The positioning of mobile application page objects in the traditional automated testing process must use pre-specified data information, which cannot be based on various data information (id, text, path, coordinates) and mobile devices (mobile devices used during recording) of mobile application page objects. and the screen property resolution and pixel density of the mobile device used during playback) to adaptively position mobile application page objects, and the compatibility of automated test scripts is poor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Positioning method and device of mobile application page object
  • Positioning method and device of mobile application page object
  • Positioning method and device of mobile application page object

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

[0020] figure 1 It is a schematic flowchart of a method for locating a mobile application page object proposed by an embodiment of the present invention, and the method includes:

[0021] S11: Obtain data information of the mobile application page object, where the data information includes id, text, path, and coordinates.

[0022] Wherein, the mobile application is an a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a positioning method and device of a mobile application page object. The positioning method of the mobile application page object comprises the steps that when an id and a text of the mobile application page object are a null value or do not exist, executing a first judgment process, when the id value is not exclusive and the text is a null value or does not exist, executing a second judgment process, when the text value is not exclusive and the id is a null value or does not exist, executing a third judgment process, wherein the first judgment process is that when a route does not exist and screens of a recording device and a playback mobile device are identical, the object is positioned by using a coordinate, the second judgment process is that when the screens of the recording and playback mobile devices are identical, the object is collectively positioned by the id and the coordinate, and the third judgment process is that when the screens of the recording and playback mobile devices are identical, the object is collectively positioned by the text and the coordinate. By adopting the method, an appropriate positioning strategy can be self-adaptively determined, and the positioning accuracy and compatibility of the mobile application page object when an automatic testing script is played back can be improved.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method and device for locating mobile application page objects. Background technique [0002] With the vigorous development of mobile Internet technology and the increasing scale of mobile applications (Android / IOS applications), how to ensure the quality of mobile applications through effective testing has become a difficult problem for all mobile application development teams. In the face of frequent version releases and numerous device types, pure manual testing is gradually unable to cope, and the demand for automated testing is increasing. Automated testing is to simulate every step of the user's operation in an automatic way. Each step is composed of "object positioning" and "object operation", and the first task is "object positioning". [0003] The positioning of mobile application page objects in the traditional automated testing process must use pre-specifie...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
CPCG06F11/3672
Inventor 殷坤
Owner NEUSOFT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products