A software testing method and system
A software testing method and software testing technology, applied in the field of communication, can solve problems such as inability to verify defect resolution, inability to test out defects, etc., and achieve the effect of improving the ability to find problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] This embodiment will be described from the perspective of a software testing system.
[0027] A software testing method, comprising: obtaining all controls in a test object, obtaining test cases from a basic test case library and / or an advanced test case library, using the test cases to test these controls, and recording the test process; if found If there is a defect in the test object, record the number of times the defect is found; move the test case into the corresponding advanced test case library according to the number of times the defect is found, wherein the order of the advanced test case library is proportional to the execution probability of the test case .
[0028] Such as figure 1 As shown, the specific process can be as follows:
[0029] 101. Obtain all controls in the test object;
[0030] Wherein, the test object may specifically be various software, such as client software, etc.; the controls may include button controls, static link controls, checkb...
Embodiment 2
[0052] According to the method described in Embodiment 1, an example will be given below for further detailed description.
[0053] In this embodiment, it will be explained by taking the order of the advanced test case library as "3" as an example, that is, the advanced test case library includes the advanced 1 test case library, the advanced 2 test case library and the advanced 3 test case library. Test case library. It should be understood that the order of the advanced test case library can also be other values, such as 4, 5, 6, ... or N, etc., where N can be customized by the test strategy, if the order For other numerical values, its implementation is also similar to this, and will not be repeated here.
[0054] Such as figure 2 As shown, a software testing method, the specific process can be as follows:
[0055] 201. The software testing system obtains all controls in the test object;
[0056] Wherein, the test object may specifically be various software, such as cl...
Embodiment 3
[0072] In order to better implement the above method, the embodiment of the present invention also provides a software testing system, such as image 3 As shown, the software testing system includes a control acquisition unit 301, a test case acquisition unit 302, a test unit 303, a recording unit 304 and a processing unit 305;
[0073] A control obtaining unit 301, configured to obtain all controls in the test object;
[0074] Wherein, the test object may specifically be various software, such as client software, etc.; the controls may include button controls, static link controls, checkbox controls, and / or list controls, etc., which will not be listed here.
[0075] A test case obtaining unit 302, configured to obtain test cases from the basic test case library and / or the advanced test case library;
[0076] Among them, the test cases in the basic test case library and the advanced test case library are test cases that were automatically saved during software testing before...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 