Automatic test method, terminal, platform and system

A technology of automatic testing and testing schemes, which is applied in software testing/debugging, error detection/correction, instruments, etc. It can solve the problems of running automated testing scheme instability, lengthy testing steps, automated testing instability, and increased maintenance costs, etc. , to save time and labor costs, reduce configuration difficulty, and enhance stability

Inactive Publication Date: 2017-07-18
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the existing test scheme, for the Android (android) version of the same APP software and the same component control of the IOS version, the identified attribute elements are completely different, resulting in that when identifying the control, for the android version and the IOS version Versions need to be configured with different identifiers, and testers need to maintain two sets of test solutions, which increases maintenance costs and adds instability to running automated test solutions
[0004] In addition, in the testing process, sometimes it is only necessary to test the third-party business components, but the page of a specific component often needs to perform some necessary steps before reaching the page of the third-party component that needs to be tested. The lengthy test steps increase the complexity of running automated tests. Instability, may be broken before reaching the third-party component page

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 test method, terminal, platform and system
  • Automatic test method, terminal, platform and system
  • Automatic test method, terminal, platform and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0047] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0048] figure 1 It is a flowchart of an automatic testing method provided by an embodiment of the present invention.

[0049] Such as figure 1 As shown, in this embodiment, the present invention provides an automatic test method suitable for an automatic test terminal, the method comprising:

[0...

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 an automatic test method, terminal, platform and system. The method comprises the steps of obtaining test scheme information from the automatic test platform; analyzing the test scheme information to generate a test instruction sequence, wherein the test instruction sequence comprises a plurality of assertions for identifying document object model (dom) elements and the assertions for testing the dom elements; and performing the test instruction sequence to identify and test the dom elements in a user interface (UI) of to-be-tested software, and when the assertions are performed, generating feedback information and sending the feedback information to the automatic test platform, thereby generating a test report. According to the method, the terminal, the platform and the system, through utilization of a feature that the structures of the dom elements in an Android system and an IOS system are completely consistent, only the same set of test scheme is required for an Android version and an IOS version, so the test cost is reduced, the automatic test stability is enhanced, and moreover, the method, the terminal, the platform and the system have the advantages that the platform can adapt to various terminals wirelessly, multithread tests can be carried out at the same time, and the test report is generated automatically.

Description

technical field [0001] This application relates to the technical field of software testing, in particular to an automatic testing method, terminal, platform and system. Background technique [0002] The mobile app has developed from the early native architecture to the hybrid framework, and then to the current component architecture. The development technology is constantly innovating, and the test automation framework is emerging in an endless stream, such as Appium, Robotium, Calabash and EarlGrey and other frameworks . When the test team uses the existing automation tools to implement the automation test plan of their own products, it is often difficult to reduce the cost of manual testing, and they are troubled by the ease of use, learning cost and operation success rate of the automation tools to meet the new requirements. Test requirements. Especially now that components are usually developed for third parties, it will take a lot of time and labor to guide third-part...

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 BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products