Automatic test method and device

A technology for automated testing and test steps, applied in the terminal field, can solve the problem of inconvenient writing test scripts, and achieve the effect of convenient automated testing

CN109857646AInactive Publication Date: 2019-06-07BEIJING YUNCE INFORMATION TECH CO LTD
5 Cites 2 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2019-06-07
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses an automatic test method, which comprises the following steps of: obtaining a test table of a to-be-tested object, and writing the test table based on a table language; analyzing at least one element in the test table, and determining an API corresponding to the at least one element based on a corresponding relationship between the element and an API; and automatically testing the to-be-tested object based on the API corresponding to the at least one element. By adopting the embodiment of the invention, the automatic test can be carried out through the test table written by the table language, so that the automatic test is more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of terminals, in particular to an automatic testing method and device. Background technique

[0002] With the development of communication technology, people hope that the operation quality of the communication terminal system can be improved, and the functions of the communication terminal system can be more diversified. The system conducts automated testing, and testers usually write test scripts, which are invoked and executed by applications to complete automated testing.

[0003] However, the writing of test scripts has certain technical requirements for testers, and when the functions of the communication terminal system change frequently, it will be very troublesome to modify or add or delete the test scripts accordingly, and cannot quickly respond to the function changes of the communication terminal system. Contents of the invention

[0004] An embodiment of the present invention provides an automated test...

Examples

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0023] figure 1 It is a schematic flow chart of an automated testing method provided by an embodiment of the present invention, see figure 1 , specifically may include the following steps:

[0024] Step 102. Obtain a test form of the object to be tested, and the test form is written based on a form language.

[0025] Wherein, the object to be tested can be a system or an application program; the test form can be an EXCEL form, and the form language i...