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

UI remote test method, client, remote server and system

A remote server and remote testing technology, applied in the field of automated testing, can solve problems such as high debugging costs, poor flexibility, and test case execution failures, and achieve the effect of reducing testing costs and improving flexibility

Pending Publication Date: 2022-02-11
北京房江湖科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The biggest challenge for automated testing is the change of the UI interface. The change of the UI interface will cause the execution of the test case to fail, so the UI automation script needs to be continuously debugged
[0003] In the existing UI automation test platform, in the process of writing test cases and executing debugging, the middle step reports an error and the use case process stops, and judges the cause of the error according to the abnormal information and screenshots returned by the backend, and modify the test case to run from the first step after submitting and executing, and the debugging cost high
Existing blocking UI automation script testing tools require users to download the debugging toolkit, which is costly; and it must be executed at the wrong step. If the previous steps of the wrong step have problems in the automation use case design, the previous steps cannot be added. Execute any specified steps after deletion, poor flexibility
Also, existing UI automation tests do not support remote debugging of UI automation use cases

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
  • UI remote test method, client, remote server and system
  • UI remote test method, client, remote server and system
  • UI remote test method, client, remote server and system

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment ID

[0047] Step S2. According to the test case ID, the corresponding test case is obtained from the database and executed.

[0048] The remote server obtains the corresponding test case from the database according to the test case ID and executes it.

[0049] Step S3, if the information that the execution of the test case fails is obtained, the abnormal information is obtained, the test process is suspended, and the abnormal information is sent to the client through the back-end service.

[0050] If the remote server obtains the information that the execution of the test case fails, it will obtain the exception information, suspend the test process, and send the exception information to the client through the back-end service. The exception information may include the step where the error occurred and the specific command information executed by each step. When the remote server suspends the test process, the error steps can be intercepted through the decorator. After throwing an...

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 UI remote test method, a client, a remote server and a system, and the method comprises the steps of transmitting remote test information to the remote server through a back-end service, so that the remote server obtains a corresponding test case from a database and executes the test case, obtains abnormal information when the test case fails, and suspends a test process; receiving abnormal information sent by the remote server through the back-end service, modifying the test case, and updating database storage; and sending the test case step ID to the remote server through the back-end service, so that the remote server obtains the corresponding test case from the database, repackages the test case, and executes the test case from the step corresponding to the test case step ID. According to the UI remote test method, the client, the remote server and the system provided by the invention, the UI remote test is realized, the process is suspended after the exception occurs, and the test case is continuously executed based on the specified steps, so that the flexibility is improved, and the test cost is reduced.

Description

technical field [0001] The invention relates to the technical field of automated testing, in particular to a UI remote testing method, client, remote server and system. Background technique [0002] UI automation testing refers to an automated testing method that realizes automated operation and verification in code by simulating manual operation of the user UI interface. The biggest challenge for automated testing is the change of the UI interface. The change of the UI interface will lead to the failure of test case execution, so the UI automation script needs to be continuously debugged. [0003] In the existing UI automation testing platform, in the process of writing test cases, execution and debugging, the middle step reports an error and the use case process stops, and judges the cause of the error according to the abnormal information and screenshots returned by the backend, and modify the test case to run from the first step after submission and execution, and the de...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
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