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

User interface testing method and device

A user interface and testing method technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as consumption of human resources, omission of operation steps, omission of test operations, etc., to save human resources and ensure reliability Effect

Inactive Publication Date: 2017-06-27
BEIJING QIHOO TECH CO LTD +1
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that the existing method of completely relying on testers to manually test the user interface will not only consume a lot of human resources, but also, because regression testing is also performed manually by testers, a certain set of tests may be missed during regression testing. Operation, or the omission of a certain operation step, affects the reliability of the regression test results

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
  • User interface testing method and device
  • User interface testing method and device
  • User interface testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] refer to figure 1 , shows a flow chart of steps of a user interface testing method according to Embodiment 1 of the present invention.

[0033] The user interface testing method of the embodiment of the present invention comprises the following steps:

[0034] Step 101: Receive a selection operation of a test case corresponding to the user interface.

[0035] Wherein, all test cases corresponding to the user interface are stored in the database, and when testing the user interface, all test cases corresponding to the user interface to be tested can be selected, or only some test cases can be selected for testing.

[0036] Therefore, a test case selection interface can be provided on the test tool client, and testers can select test cases according to requirements. Correspondingly, the test tool client only needs to receive the tester's selection operation of test cases.

[0037] In the embodiment of the present invention, the user interface is tested by a test tool, a...

Embodiment 2

[0049] refer to figure 2 , shows a flow chart of steps of a user interface testing method according to Embodiment 2 of the present invention.

[0050] The user interface testing method of the embodiment of the present invention comprises the following steps:

[0051] Step 201: The browser receives a test case entry start instruction.

[0052] After logging in the corresponding test case generation interface in the browser, click the start command, and the user can start to enter the corresponding operations of the test case to be generated in the user interface. Wherein, the operation includes but not limited to: click, drag, and input operations.

[0053] In the embodiment of the present invention, the embodiment of the present invention is described by taking the test tool installed in the browser as a plug-in as an example. After the installation is completed, the browser and the test tool are integrated. The browser after installing the test tool includes two parts: th...

Embodiment 3

[0088] refer to image 3 , shows a structural block diagram of a user interface testing device according to Embodiment 3 of the present invention.

[0089] The user interface testing device in the embodiment of the present invention includes: a receiving module 301, configured to receive a selection operation of a test case corresponding to the user interface; a first calling module 302, configured to call the middleware from Invoking the test case corresponding to the selection operation in the database, wherein the middleware is used to manage the distributed server set; the second calling module 303 sends the test case to the distributed server cluster through the middleware A server in the middleware is used to test the user interface, and the test result is sent to the database by the middleware; the obtaining module 304 is used to obtain the test result from the database; the display module 305 is used to display the test result in the database. The test result is displ...

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 a user interface testing method and device. The method comprises the steps that selection operation on a test case corresponding to a user interface is received; when test trigger conditions are met, middleware is called to call the test case corresponding to the selection operation from a database, wherein the middleware is used for managing a distributed server cluster; the test case is sent to one server in the distributed server cluster through the middleware to test the user interface, and the test result is sent to the database through the middleware; the test result is acquired from the database; and the test result is displayed on the user interface. Through the user interface testing method in the embodiment, manpower resources can be saved, and the reliability of the regression test result is high.

Description

technical field [0001] The invention relates to the technical field of user page testing, in particular to a user interface testing method and device. Background technique [0002] For a user interface that is not online, multiple repeated tests need to be carried out in the early stage of launch, so that testers can find out the abnormalities in the user interface, and then repair the abnormalities in the user interface. Even after all the anomalies in the user interface have been fixed, it is necessary to perform a regression test on the user interface again. [0003] In the prior art, when testing a certain user interface, the tester needs to manually perform a series of operations (such as clicking a button, dragging a page element, inputting text), and then the corresponding device generates a user interface according to the above series of operations. A test case, and the generation of each test case is actually testing the user interface according to the test case. ...

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/3688G06F11/3692
Inventor 崔岳阳魏丕东刘佳奇
Owner BEIJING QIHOO TECH CO LTD