Unlock instant, AI-driven research and patent intelligence for your innovation.

Automatic interaction test method and device

A technology of automated testing and interactive testing, applied in software testing/debugging, error detection/correction, detection of faulty computer hardware, etc., can solve the problems of increasing testing costs, wasting manpower, and single testing scenarios, and reducing testing costs. , Reduce the requirements for use case design capabilities, and save manpower

Active Publication Date: 2020-12-25
ZHIDAO NETWORK TECH (BEIJING) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the automated testing for an application usually has a single test scenario and cannot cover the interaction testing between the application and the system and the interaction testing between the application and other applications. Interactive test scripts or interactive test scripts with other applications not only test the use case design ability of testers, but also waste a lot of manpower and increase test costs

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
  • Automatic interaction test method and device
  • Automatic interaction test method and device
  • Automatic interaction test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038]In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0039]figure 1 It is a schematic flow diagram of an automated interactive testing method provided in an embodiment of the present invention, such asfigure 1 As shown, the method includes:

[0040]S1. Obtain a user interface UI automation test script of the application to be tested, where the UI automation test script includes at least one test ...

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 embodiment of the invention provides an automatic interaction test method and device, and the method comprises the steps: firstly obtaining a UI automatic test script of a to-be-tested application, and then testing the UI automatic test script according to the function affiliation of the UI automatic test script, the number of test cases and the priority of each test case; determining a systeminteraction event and / or an inter-application interaction event associated with the UI automation test script; and finally, injecting the system interaction event and / or the inter-application interaction event into the UI automatic test script, and performing an automatic interaction test on the to-be-tested application based on the obtained target UI automatic test script. By injecting the system interaction event and / or the inter-application interaction event into the UI automatic test script, the interaction test between the to-be-tested application and the system and / or the interaction test between the to-be-tested application and other applications in the system can be realized; and an interaction test script between the to-be-tested application and the system or an interaction testscript between the to-be-tested application and other applications does not need to be developed independently for the to-be-tested application.

Description

Technical field[0001]The invention relates to the technical field of mobile application testing, in particular to an automated interactive testing method and device.Background technique[0002]Currently, User Interface (UI) automated testing is a relatively mainstream automated test generation technology. For example, Android UI automated testing has become increasingly mature.[0003]The automated testing frameworks commonly used in Android UI automated testing can include: Robotium, UIAutomator, UIAutomator2, Espresso, Appium, etc. Based on the above automated testing framework, testers can manually write automated test scripts, write or record test steps for certain specific scenarios of an application, perform automated execution, and write corresponding assertions to determine whether the function meets the requirements. This testing method Suitable for test scenarios with high repetition rate, such as bvt test, daily build test, etc.[0004]However, the automated test for an applica...

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/36G06F11/22
CPCG06F11/221G06F11/3684G06F11/3688
Inventor 宣龙华
Owner ZHIDAO NETWORK TECH (BEIJING) CO LTD