A defect location method for web page automation testing based on depth learning
A technology of automated testing and deep learning, applied in the field of defect location, to achieve accurate test results, precise location, and the effect of reducing semantic and grammatical errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] The invention discloses a method for locating defects in web page automation testing based on deep learning, see figure 1 , the method includes the following steps:
[0034] 101: Use Chinese punctuation marks and Chinese conjunctions to analyze the test case, decompose it into the smallest operation unit, and store it in the database with the attribute structure of "test case-test step-segmentation method-operation unit" as the operation unit ;
[0035] 102: Extract test operation information from the smallest operation unit based on deep learning (that is, neural network), obtain a keyword sequence, and define the keyword sequence as a triplet sequence;
[0036] 103: Crawling the webpage, parsing the webpage into an HTML DOM tree and traversing the HTML DOM tree, and locating the target page element set through the Target element in the triple sequence;
[0037] 104: Call the operation interface through the triple sequence, pass in the operation information, and auto...
Embodiment 2
[0042] The following is combined with specific calculation formulas, examples, figure 2 and image 3 The scheme in Example 1 is further introduced, see the following description for details:
[0043] 201: Analyze test requirements and obtain operating units;
[0044] Definition 1 (set of test requirements):
[0045] T={t 1 , t 2 ,...,t m} indicates the test case set of the system under test written by the tester, which is used to describe the instruction operation in the functional test. These test cases are relatively independent and have no dependencies. The target element of the user interface of the test application, where t iIndicates the ith test case of the test case set.
[0046] Firstly, test cases are extracted from the test requirement set, and each test step is segmented according to Chinese punctuation and conjunctions, and the segments are sorted to form an operation unit sequence with an operation sequence.
[0047] Definition 2 (operating unit set):
...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


