US 11,734,134 B2
Automatically locating resources using alternative locator expressions during heterogeneous component-based testing in a portable automation framework
Andrea Holt, Ijamsville, MD (US); Saif Ahmed, Fairfax, VA (US); and Alireza Akbari McQuee, Centreville, VA (US)
Assigned to Spirent Communications, Inc., San Jose, CA (US)
Filed by Spirent Communications, Inc., San Jose, CA (US)
Filed on Jan. 4, 2022, as Appl. No. 17/568,635.
Application 17/568,635 is a continuation of application No. 17/003,962, filed on Aug. 26, 2020, granted, now 11,216,347.
Prior Publication US 2022/0214949 A1, Jul. 7, 2022
Int. Cl. G06F 11/36 (2006.01); G06F 11/20 (2006.01); G06F 9/451 (2018.01); G06F 11/32 (2006.01)
CPC G06F 11/2023 (2013.01) [G06F 9/451 (2018.02); G06F 11/321 (2013.01); G06F 11/3688 (2013.01); G06F 11/3692 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method of testing with a test parameter data structure, applied to an application under test (AUT) that operates tests in both an application programming interface (API) mode and a user interface (UI) mode, including:
having a test parameter data structure including named elements that is used by a test script, wherein the test script is configured to selectably perform tests in both the API mode and in the UI mode;
causing display, in the UI mode, of modifiable test parameters values from the test script with formatting of fields in the display;
receiving updated test parameters values responsive to the formatted fields in the display;
applying a data mapping that maps between the fields in the display receiving the updated test parameters and the named elements in the test parameter data structure, to update the test parameter data structure based on the names; and
conducting a test by the test script in the API mode using the updated test parameters, previously updated in the UI mode display, from the test parameter data structure.