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

Automated interactive testing method and device

A technology for automated testing and interactive testing, applied in software testing/debugging, error detection/correction, and detection of faulty computer hardware, etc. It can solve problems such as wasting manpower, increasing testing costs, and single testing scenarios, and reducing use case design. Ability requirements, reducing test costs, saving manpower

Active Publication Date: 2021-02-23
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
  • Automated interactive testing method and device
  • Automated interactive testing method and device
  • Automated interactive testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

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

[0040] S1. Acquiring a user interface UI automation test script of an application to be tested, wherein the UI automation test script includes at least ...

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

Embodiments of the present invention provide a method and device for automated interactive testing. Firstly, the user interface UI automated test script of the application to be tested is obtained, and then according to the functional attribution of the UI automated test script, the number of test cases, and the priority of each test case, Determine system interaction events and / or inter-application interaction events associated with the UI automation test script; finally inject the system interaction event and / or application inter-interaction event into the UI automation test script, and treat the test based on the obtained target UI automation test script The application conducts automated interactive testing. By injecting system interaction events and / or inter-application interaction events into the UI automation test script, the interaction test between the application to be tested and the system where it resides and / or the interaction test with other applications in the system where the application is located is no longer necessary The test application independently develops the interactive test script with the system or the interactive test script with other applications.

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, such as Android (Android) UI automated testing, which has become increasingly mature. [0003] Commonly used automated testing frameworks for Android UI automated testing include: Robotium, UIAutomator, UIAutomator2, Espresso, and Appium. Based on the above automated test 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 assertion statements to determine whether the function meets the requirements. This test method It is suitable for test scenarios with high repetition rate, such as bvt test, Daily build test, etc. [0004] How...

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