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

Automated testing method and system

An automated test and to-be-tested technology, applied in the field of Internet testing, can solve problems such as the inability to efficiently search for page controls, and achieve the effect of simplifying the process and improving efficiency

Active Publication Date: 2016-07-06
WUHAN UNITED IMAGING HEALTHCARE CO LTD
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide an automated testing method and system to solve the problem that existing automated testing cannot efficiently search for page controls

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
  • Automated testing method and system
  • Automated testing method and system
  • Automated testing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] figure 1 is a flowchart of the automated testing method. like figure 1 As shown, the specific steps of the automated testing method are as follows:

[0052] S1: Start the test program package; the test program package is a self-developed code that can drive the test object to run automatically according to the test requirements. Using the test program package for testing is common knowledge of those skilled in the art, and will not be repeated here.

[0053] S2: Load configuration data; wherein, the configuration data includes the operating system object library on which the test object depends, the browser program, the connection character of the database, and some options that the test object must configure.

[0054] S3: Start the test object; the test object is usually a software system, such as breast post-processing software or a remote diagnosis system.

[0055] S4: Use the control ID to search for a plurality of controls to be tested included in the test objec...

example

[0069] / *Use case ID

[0070] 455194

[0071] title

[0072] SSIT_Patient Exams_Exam List_Show Columns_Burn Status Icons

[0073] Steps

[0074] 0: Precondition: there is patient A that has been recorded and patient B that has not been recorded in the system;

[0075] 1: The diagnostician logs into the breast image post-processing workstation and enters the patient examination interface;

[0076] 2: Check the recording status column of patient A and patient B in the check list;

[0077] 3: Click the "burning status" column header to filter.

[0078] describe

[0079] Verify Burn Status corresponds to Check Export CD / DVD Burn Functionality

[0080]

[0081]

[0082] Since JQuery is used in S5 to first mark the control to be tested that cannot be normally located by using the control ID, the principle of the first mark is the property of the control, and there will be cases where multiple test controls have the same property after the first mark , therefore, when t...

Embodiment 2

[0113] figure 2 It is a structural block diagram of the automatic testing system of the present invention. like figure 2 As shown, the automated testing system includes: a first search control module 10, a second search control module 11, a third search control module 12, a fourth search control module 13 and a test module 14; wherein, the first search control module shown in Module 10 is used to search for a plurality of controls to be tested contained in the test object by using the control ID; the second search control module 11 is used to first identify the controls to be tested that cannot be normally located by using the control ID, and based on the The first identification searches for the control to be tested that cannot be normally located by using the control ID; the third search control module 12 is used to perform a second identification on the control to be tested that cannot be normally located after the first identification, and based on the The second ident...

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 automated testing method and system. The method comprises the following steps: finding a plurality of controls to be tested of a test object by using control IDs, performing first identification on the controls to be tested which cannot be positioned normally with the control IDs, and finding the controls to be tested which cannot be positioned with the control IDs based on the first identification; performing second identification on the controls to be tested which still cannot be positioned normally after the first identification, and finding the controls to be tested which still cannot be positioned normally after the first identification based on the second identification; and finally, performing automated testing on the test object based on found controls to be tested. The controls to be tested are identified gradually in order that each control to be tested has a unique identifier, so that the problems that the control IDs of the controls do not exist in a page, the control IDs are all the same or the controls cannot be found since the page is too complicated are solved; a process of finding a target control is simplified; and the control finding efficiency is increased.

Description

technical field [0001] The invention relates to the technical field of Internet testing, in particular to an automatic testing method and system. Background technique [0002] In the field of automated testing, traditionally, there are two methods for developing automated test scripts for automated testing. The first method is to manually run a test, and use the recording function of the automated test tool to record the operations performed and generate a test script. The playback success rate of scripts generated by this technology is relatively low, and later maintenance is also difficult. The second method is to write a test framework, which provides an interface for calling the basic operations required by the test. Testers manually write automated test scripts for calling the interface according to the operation requirements of the use case. This method requires a high level of code for the tester. [0003] During automated testing, the control is usually located by ...

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): H04L12/26H04L29/08
CPCH04L43/0817H04L43/50H04L67/34
Inventor 叶桂玲陈艳松曲杰
Owner WUHAN UNITED IMAGING HEALTHCARE CO LTD