Page automatic test method of abstract page object
A technology of automated testing and page objects, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as labor and duplication, and achieve the effect of improving the reuse rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0045] What the present invention wants to solve is to abstract a homogeneous way to solve the automated testing of different pages:
[0046] 1. Abstract page elements into JSON data (Java Script Object Notation, JS object tag, is a lightweight data exchange format);
[0047] 2. Abstract page operations into four forms: add, delete, modify, check;
[0048] 3. Parse the abstracted JSON data, locate page elements and perform addition, deletion, modification, and query operations by parsing the JSON data with JAVA code;
[0049] 4. Make a consistency assertion on the operation result.
[0050] Hereinafter, the present invention will be further described in conjunction with the drawings and embodiments.
[0051] 1. Abstract the elements of the page under test into JSON data (which can be understood as configuring the page), such as Figure 1-Figure 4 As shown, it can be abstracted as the following JSON data:
[0052] String menuBody={"data source management": ["data source man...
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