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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


