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

Method for UI traversal based on rule guidance

A traversal and rule-based technology, applied in the direction of instruments, electrical digital data processing, computing, etc., can solve problems such as hindering test automation, and achieve the effect of improving test efficiency and

Inactive Publication Date: 2019-01-01
杭州友声科技股份有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Seriously hampers test automation

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 for UI traversal based on rule guidance
  • Method for UI traversal based on rule guidance
  • Method for UI traversal based on rule guidance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] 1. Select the interface where test cases need to be added.

[0035] 2. Load the interface diagram that needs to add test cases.

[0036] 3. Edit the interface diagram directly.

[0037] 4. Add interface element operation, adding interface operation refers to input and selection actions, such as: input user name, password, input mobile phone number, selection refers to select date, select province, etc. The input box can be filled with multiple different Each item is a test case, and each test case can be set with different expected results.

[0038] 5. Save the test case.

[0039] 6. In the process of automatic traversal, traverse to the interface of useful cases.

[0040] 7. Load the test cases that need to be executed.

[0041] 8. Perform operations directly on the interface diagram.

[0042] 9. According to the expected result of the test case, identify the test result and record it.

[0043] 10. Judge whether the execution of the current interface is completed, return to the cur...

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

A method for UI traverse based on rule guide is provided. The method adopts a visual method of use case generation. First, the test path graph is generated by traversal, and then the user adds the needed use cases in the visual environment, so that the whole test process can be presented more completely, and the writing efficiency of test cases can be greatly improved. At that time of each application of the new added version, by directly using the added rules of the last time, the test efficiency and the coverage degree of the test case can be greatly improved when the application is not greatly changed, and the test method replaces the traditional script recording mode to carry out automatic test on a real mobile device or a website.

Description

Technical field [0001] The invention relates to the field of application software testing, in particular to a method for UI traversal based on rule guidance. Background technique [0002] Intelligent electronic products have become the development trend of electronic products. Various smart electronic products, such as tablet computers, smart phones, wearable devices, etc., have flooded people's daily lives. Many intelligent electronic products of different brands, different hardware models, different operating systems, and different sizes are popular on the market. The variety of types gives people a lot of choice, but also brings many problems. More and more tests are needed, and automation is the trend of development. The traditional test method automation test method is realized by writing use cases and then converting the use cases into scripts. This method of writing scripts requires high requirements for script writers. , Have a lot of script development workload. Seri...

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/3676G06F11/3684
Inventor 廖志
Owner 杭州友声科技股份有限公司
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