Page model as well as user interface automated test method and device
A technology of automated testing and page models, applied in the field of testing, can solve problems such as difficult to accept by testers, unsuitable for application, and huge workload, and achieve the effects of improving efficiency and maintainability, reducing implementation costs, and simplifying the setting process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0018] Embodiment 1. An object-oriented page model for user interface automation testing. That is, the page model in this embodiment is set based on the object-oriented principle, and the page model in this embodiment is mainly applicable to the process of user interface automation testing.
[0019] The page model in this embodiment is provided with attributes and methods, wherein the attributes of the page model are the features of the abstracted page model, and the methods of the page model are operations performed by the abstracted page model. The page model in this embodiment is mainly used for that the instantiated page model can be called after it is instantiated, such as the instantiated page model is called by the user interface automation test program, and the user interface automation test program The method of the instantiated page model can be called according to the specific test requirements, and the called instantiated page model can complete the corresponding p...
Embodiment 2
[0041] Embodiment 2, user interface automation testing method.
[0042] figure 1 It is a flow chart of the user interface automation testing method of the present embodiment, figure 1 The shown method mainly includes: step S100 , step S110 , step S120 and step 130 . The method described in this embodiment is usually run on smart electronic devices. Preferably, the method described in this embodiment can be run on user devices such as desktop computers, notebook computers, tablet computers, and smart mobile phones. next to figure 1 Each step in is explained separately.
[0043] S100. Determine a predetermined business process corresponding to the tested business.
[0044] Specifically, the reservation business process in this embodiment can usually be a general business process for a specific business function. The business process of the ticket booking business is basically the same, therefore, the reservation business process in this embodiment can be a general business ...
Embodiment 3
[0052] Embodiment 3, user interface automatic testing device.
[0053] figure 2 It is a schematic diagram of the user interface automation testing device of the present embodiment, figure 2 The shown device mainly includes: a first determination module 200 , a second determination module 210 , an instantiation module 220 and a test module 230 . The device described in this embodiment can usually be set in an intelligent electronic device, preferably, the device can be set in a user device such as a desktop computer, a notebook computer, a tablet computer, and a smart mobile phone. next to figure 2 Each module in is explained separately.
[0054] The first determination module 200 is mainly adapted to determine a predetermined business process corresponding to the tested business.
[0055] Specifically, the predetermined business process determined by the first determination module 200 can usually be a general business process for a specific business function, such as wh...
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