Test Automation Platform with Alternate Resource Locators

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing test automation frameworks require users to write distinct test scripts for both user interface (UI) and application programming interface (API) modes, leading to inefficiencies and increased resource usage, especially when network designs evolve rapidly, necessitating flexible and reliable testing solutions.

Innovation Solution

The development of a test automation platform that allows for multiple test execution modes, just-in-time provisioning of resources, mapping of UI templates to API schemas, specification and invocation of alternate resource locators, and a custom exception handling framework, enabling tests to run in both UI and API modes with reduced resource usage and enhanced flexibility.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If distinct test scripts are written for UI and API modes, then testing coverage is complete, but resource usage and development time increase

Engineering Contradiction:
Improvetesting coverageVSAvoidresource usage
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements a single test script that can operate in both UI mode and API mode through configurable execution modes. The test framework allows the same script to be executed differently based on mode selection, eliminating the need for separate scripts for each mode while maintaining complete testing coverage.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The test script includes dynamic configuration capabilities that allow switching between UI mode and API mode during execution. The framework dynamically adjusts its behavior based on the selected mode, enabling flexible resource provisioning and execution strategies without requiring separate static scripts.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If network designs evolve rapidly, then system adaptability is improved, but test script maintenance complexity increases

Engineering Contradiction:
Improvesystem adaptabilityVSAvoidtest script maintenance complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The framework provides dynamic configuration options that allow test scripts to adapt to changing network designs without requiring modifications to the core test logic. Execution mode switching and dynamic resource provisioning enable the same script to work across different network configurations.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The test script is segmented into configurable components that can be independently adjusted. The separation of test logic from configuration parameters allows rapid adaptation to network design changes while maintaining stable core testing functionality.

Inventive Principle:
Principle #1Segmentation

3Reliability

If multiple resource locators are implemented, then locating reliability is improved, but system complexity increases

Engineering Contradiction:
Improvelocating reliabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The framework pre-configures multiple resource locators and execution modes before test execution. When a locator fails, the system has already prepared alternative locators that can be activated, cushioning against location failures without requiring complex runtime decision logic.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS11734134B2Automatically locating resources using alternative locator expressions during heterogeneous component-based testing in a portable automation framework
Publication Date: 2023.08.22 SPIRENT COMM INC
  • US11734134B2 patent drawing
  • US11734134B2 patent drawing
  • US11734134B2 patent drawing

AI summary

The disclosed technology provides resource locators keyed to resource names with failover alternate resource locators keyed to resource positions on user interfaces in a test environment: providing a central repository for resource locators and storing a set of alternative locator expressions for a resource in the central repository. The set includes first resource locators keyed to resource names on UIs and respective second resource locators keyed to resource positions on UIs that can be evaluated when the resource name in the respective first resource locator is invalid. The method invokes a resource location navigator to locate a particular resource using a first resource locator keyed to a resource name on the user interface, automatically invoking the resource location navigator using the second resource locator keyed to the resource position after failure of locating the particular resource using the resource name, and accessing the particular resource using the second resource locator.