A desktop automatic test development method and system
A technology of automated testing and elements, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as poor positioning efficiency, and achieve the effects of short positioning time, accurate identification, and improved search algorithms
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] A desktop automation test development system disclosed in this embodiment includes: a locator developed in C++ language, used to locate the element object to obtain the necessary information of the parent window of the element object and the Automation Id of the element object (AutomationId: uniquely automate the UI Attributes that an element identifies from its siblings. More information about attribute identifiers related to control identification), name Name, class name Class, ControlType information; dynamics developed in C and C++ that expose the C language interface The link library dll is used to search for the IUIAutomationElement element pointer of the precisely positioned element object according to the parameter passed in by the locator to obtain the coordinates of the clickable point of the element object and call WindowsAPI to simulate the mouse click on the element object; and use C++ Language development is used to generate the kernel of the exe file, and ...
Embodiment 2
[0050]A desktop automation test development system disclosed in this embodiment includes: a locator developed in C++ language, used to locate the element object to obtain the necessary information of the parent window of the element object and the Automation Id, name Name, class name Class, and so on of the element object. ControlType information; a dynamic link library dll that exposes a C language interface developed in C language and C++ language, and is used to obtain the IUIAutomationElement element pointer of the precisely positioned element object searched according to the parameters passed in by the locator to obtain the element object. The coordinates of the point clicked and call the Windows API to simulate the mouse to click on the element object; and the kernel for generating the exe file developed by C++ language, the exe file includes the positioning function findElement and the sendkeys function, and the positioning function findElement and the sendkeys function a...
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