Browser Plug-In POM Extraction for Leaner Test Automation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing web scraping tools often capture unnecessary elements from web pages, leading to inflated Page Object Model (POM) sizes, increased complexity, and performance issues, while lacking the ability to record elements based on user interactions.
Innovation Solution
A plug-in tool for web browsers that automatically extracts relevant POM data from webpages based on user-defined or application-provided parameters, allowing customization and seamless integration with user interactions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If existing web scraping tools capture all elements from web pages, then completeness of POM data is improved, but POM size and complexity increase
Solution Approach 1:
The patent applies the extraction principle by selectively capturing only the necessary POM data elements that are relevant to user interactions, rather than capturing all elements from the web page. This is achieved through intelligent filtering mechanisms that identify and extract only the essential elements needed for test automation, thereby maintaining data completeness for testing purposes while reducing overall POM size and complexity.
2Loss of information
If existing web scraping tools capture all elements from web pages, then completeness of POM data is improved, but test execution performance deteriorates
Solution Approach 1:
The patent extracts only the necessary POM elements required for test execution, removing unnecessary data that would otherwise slow down test performance. By selectively capturing elements based on their relevance to user interactions and test requirements, the system maintains adequate data completeness while significantly improving test execution speed and performance.
3Loss of information
If web scraping tools capture unnecessary elements, then POM data completeness is improved, but maintenance difficulty increases
Solution Approach 1:
The patent removes unnecessary elements from the POM data structure, extracting only those elements that are essential for test automation and user interactions. This selective extraction approach maintains sufficient data completeness for testing while creating a more manageable and easier-to-maintain POM structure with fewer irrelevant elements.
4Extent of automation
If web scraping tools lack user interaction-based recording capability, then automation capability is improved, but relevance accuracy deteriorates
Solution Approach 1:
The patent incorporates feedback mechanisms that track and record user interactions with the POM object for the currently loaded page. This feedback loop allows the system to automatically identify and capture elements that are actually interacted with by users, thereby improving the relevance accuracy of the captured POM data while maintaining high automation capability through programmatic interaction tracking.
Data Source
AI summary
As described herein, a system, method, and computer program are provided for scraping POM data from webpages. A plug-in tool of a web browser receives input defining one or more parameters for extracting page object model (POM) data from a webpage. The plug-in tool automatically extracts the POM data from the webpage based on the one or more parameters defined in the input.


