Test data acquisition method, client and server
A technology of test data and acquisition method, which is applied in the computer field, can solve problems such as the inability to achieve test data acquisition simply and effectively, and the WEB automation test is not intelligent enough, so as to achieve the effect of preparation
- 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 test data acquisition method according to Embodiment 1 of the present invention.
[0033] The test data acquisition method of the present embodiment includes the following steps:
[0034] Step S102: When the test data acquisition condition is met, the browser sends a first test data acquisition request to the server.
[0035] Wherein, the first test data acquisition request is used to request test data that can be prepared in the page to be tested of the client in the WEB test.
[0036] The determination of whether the test data acquisition conditions are satisfied is related to the trigger conditions for obtaining test data in actual implementation. For example, if the button or control for obtaining test data is displayed when the page to be tested is opened, when the user clicks the button or control, the test data acquisition condition That is, it is satisfied; if a corresponding navigation bar for obtaining tes...
Embodiment 2
[0050] refer to figure 2 , shows a flow chart of steps of a test data acquisition method according to Embodiment 2 of the present invention.
[0051] In this embodiment, the test data acquisition method of the present invention is implemented through the browser plug-in installed in the client browser, and the test data acquisition is completed through the browser plug-in, so that the user can complete the test without leaving the page to be tested. Data preparation (acquisition). But not limited to this, those skilled in the art should understand that other appropriate implementation methods, such as through a browser interface, or through a browser program, or through a function or interface call, can realize the test data acquisition solution of this embodiment .
[0052] The test data acquisition method of the present embodiment includes the following steps:
[0053] Step S202: When the test data acquisition condition is satisfied, the browser plug-in of the client bro...
Embodiment 3
[0083] refer to image 3 , shows a flow chart of steps of a test data acquisition method according to Embodiment 3 of the present invention.
[0084] In this embodiment, a Chrome browser plug-in is used to obtain test data, and the whole solution includes two parts: the Chrome browser plug-in of the client browser and the Webapp service of the background server. Certainly, those skilled in the art should understand that the Chrome browser plug-in and the Webapp service are only exemplary illustrations, and browser plug-ins based on other browser kernels such as IE browser plug-ins and other appropriate services in the server are equally applicable.
[0085] In the test data acquisition scheme of this embodiment, the Chrome browser plug-in first requests the Webapp service of the background server to obtain the source code of the Chrome browser plug-in function display page and render it (that is, obtain the test data form and render it into a data preparation subpage). Operat...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com