View Components for Reusable Web Test Scenarios
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing test environments face challenges in re-usability and maintainability of tests and test data, particularly in testing business processes where scenarios are diverse and complex, making it difficult to ensure system functionality across various scenarios.
Innovation Solution
The system and method involve creating view components that encapsulate web page parameters and configurations, allowing for the generation and execution of reusable test scenarios by combining these components with default components, and utilizing a test framework to record, store, and run tests, thereby enhancing re-usability and maintainability.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If test cases are implemented to cover various business process scenarios, then system functionality testing is improved, but test case maintainability deteriorates
Solution Approach 1:
The patent segments test cases into modular test case components that can be independently created, stored, and reused. Each component represents a discrete unit of testing logic that can be maintained separately, reducing the complexity of maintaining comprehensive business process tests while preserving system functionality coverage.
Solution Approach 2:
The patent implements copying mechanisms that allow test case components to be automatically replicated and reused across multiple test scenarios. When a component is modified, the changes can be propagated to all instances, maintaining consistency and reducing manual maintenance effort across diverse business process tests.
2Reliability
If test cases are created to cover diverse business process scenarios, then testing comprehensiveness is improved, but test case re-usability deteriorates
Solution Approach 1:
By dividing test cases into reusable components, the patent enables the same component to be applied across multiple diverse business process scenarios. This segmentation allows comprehensive testing coverage while maintaining high re-usability, as components can be selectively combined to address different testing needs.
Solution Approach 2:
The patent creates universal test case components that can serve multiple functions across different business processes. A single component can be reused in various test scenarios by parameterizing its behavior, thereby achieving both comprehensive testing coverage and high re-usability without requiring separate test cases for each scenario.
3Adaptability or versatility
If web page parameters and configurations are captured in view components, then test re-usability is improved, but device complexity increases
Solution Approach 1:
The patent extracts web page parameters and configurations from the actual web pages and encapsulates them in separate view component definitions. This extraction centralizes the complexity management in a dedicated repository, making the system more manageable while enabling widespread reuse of these parameters across multiple test cases without duplicating complexity throughout the testing infrastructure.
Data Source
AI summary
A system assembles a plurality of views into a plurality of view sets. A view set includes at least one view, and a view includes at least one configuration. The view configuration includes sets of fields and locations of the fields in the view. The system displays one of the plurality of view sets as a web page in a window, and the system generates a view component using a union of the fields belonging to the different configurations defined for the view. The view component includes a test element for the corresponding view, the view component includes a plurality of parameters wherein each parameter is linked to a single view field, and the view component includes no duplication of fields.


