Testing method and device, testing equipment and storage medium

A test method and test device technology, applied in software testing/debugging, error detection/correction, instruments, etc., to solve problems such as inability to apply end-to-end automated testing

Pending Publication Date: 2018-06-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the traditional end-to-end automated test solution needs to rely on the user interface of the device under test to be able to execute, and ...

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
  • Testing method and device, testing equipment and storage medium
  • Testing method and device, testing equipment and storage medium
  • Testing method and device, testing equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0117] Optionally, the test task can include multiple test cases arranged in sequence. When the current test sequence number is 2 (that is, the second test case is executed), the test task can be called from the test task according to the current test sequence number "2". Test case 2 corresponding to the current test sequence number "2";

[0118] As an example, the content of the test case 2 can be parsed, from the content of the test case 2, it can be determined that the test text instruction is "play the next song", and the current test condition is "playing a song", and the corresponding expected test response results.

[0119] Step S2, using the first thread to convert the test text instruction into corresponding test audio according to text-to-speech technology, and store the test audio in a specified directory.

[0120] Optionally, convert the test text instruction "play the next song" into an audio file of "play the next song", and store the audio file in a specified d...

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

An embodiment of the invention provides a testing method and device, testing equipment and a storage medium. The method includes: using a first thread to call a current testing case; using the first thread to determine a testing text instruction and an expected testing response result corresponding to the current testing case; using the first thread to determine a testing audio corresponding to the testing text instruction; using the first thread to play the testing audio for voice interaction equipment; using a second thread to call the testing response result of the voice interaction equipment to the testing audio from the operation log of the voice interaction equipment, and comparing the expected testing response result with the testing response result to determine the testing result of the current testing case. The method has the advantages that testing case execution and testing response result verification can be achieved without a user interface, and the method is applicable tothe end-to-end automatic testing of UI-free equipment.

Description

technical field [0001] The invention relates to the field of automatic testing, and more specifically, relates to a testing method, device, testing equipment and storage medium. Background technique [0002] End-to-end testing is similar to system testing, test-level "grand" endpoints, all tests involving the simulation of the entire application system environment in a real-world use. Examples include talking to a database, communicating over a network, or talking to external hardware, applications, or appropriate systems. [0003] The traditional end-to-end automated testing scheme mainly simulates the user's input operation through the automation component of the user interface (UI, UserInterface) of the device under test, and then triggers the execution of the test case, and checks whether the test response result is based on the user interface. In line with expectations. It can be seen that the traditional end-to-end automated test solution needs to rely on the user in...

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
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 邸立涛
Owner TENCENT TECH (SHENZHEN) 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