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

Method and device for testing page skipping, storage medium and electronic device

A technology for page jumping and testing pages, which is applied in software testing/debugging, electrical digital data processing, error detection/correction, etc. It can solve the problems of complex operation of test URL link test methods, and achieve the effect of solving complex operations

Pending Publication Date: 2019-11-22
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method, device, storage medium, and electronic device for testing page jumps, so as to at least solve the problem of complex operation of the test method for testing URL links in the prior art

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
  • Method and device for testing page skipping, storage medium and electronic device
  • Method and device for testing page skipping, storage medium and electronic device
  • Method and device for testing page skipping, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] This embodiment provides a method for testing page jumps, which can be run in mobile terminals, handheld terminals or similar computing devices. Running on different computing devices is only a difference in the execution subject of the solution, and those skilled in the art can foresee that running on different computing devices can produce the same technical effect.

[0024] The method for testing page jump provided by this embodiment uses the existing page jump function table to convert each piece of function definition data into a page jump link conforming to the page jump protocol, and then sends the page jump link to the page After the jump routing center jumps to the corresponding page, it can judge whether the jump is successful by detecting whether the top of the task stack matches the task indicated by the corresponding function definition data, so that the automatic page jump function table can be realized Each function in the test is tested and the results a...

Embodiment 2

[0063] In this embodiment, a device for testing page jump is also provided, which is used to implement the above-mentioned embodiment 1 and its preferred implementation mode. For terms or implementation methods not described in detail in this embodiment, please refer to the embodiment 1, those that have already been explained will not be repeated here.

[0064] The term "module" as used below is a combination of software and / or hardware that can realize a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also conceivable.

[0065] figure 2 is a schematic diagram of a device for testing page jumps according to an embodiment of the present invention, such as figure 2 As shown, the device includes: an acquisition module 10 , a conversion module 20 , a sending module 30 and a detection module 40 .

[0066] Wherein, the acquisition ...

Embodiment 3

[0073] An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.

[0074] Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), Various media that can store computer programs, such as removable hard disks, magnetic disks, or optical disks.

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 method and device for testing page jump, a storage medium and an electronic device, and the method comprises the steps: obtaining a to-be-detected page jump function table fora target application, wherein the page jump function table comprises a plurality of pieces of function definition data, and each piece of function definition data is used for defining one function ofthe target application; converting each piece of function definition data into a page skip link conforming to a preset page skip protocol; respectively sending each page jump link to a page jump routing center, so that the page jump routing center jumps to a page indicated by the corresponding page jump link according to a preset page jump protocol; and after each page skip link is sent to the page skip routing center, detecting whether a stack top task in the task stack is matched with a task indicated in the function definition data of the corresponding page skip link or not, and recordinga detection result. The technical problem of complex operation of a test mode for testing the URL link in the prior art is solved.

Description

technical field [0001] The present invention relates to the field of page testing, in particular to a method, device, storage medium and electronic device for testing page jumps. Background technique [0002] There are a large number of schema Url jumps in the App application. The common http jump is the link whose schema is http. Currently, the jump test of the schema url link mainly uses manual configuration links to detect the jump. , The number of links to jump is huge. If the code is refactored, it is necessary to do a regression test on the existing ones to check whether the links work, that is, whether they can jump, which is often a huge task. [0003] Aiming at the above-mentioned problems existing in related technologies, no effective solution has been found yet. Contents of the invention [0004] Embodiments of the present invention provide a method, device, storage medium, and electronic device for testing page jumps, so as to at least solve the problem of com...

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/36G06F16/955G06F16/958
CPCG06F11/3688G06F16/972G06F16/9558G06F16/9566
Inventor 许剑勇
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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