CPC G06F 11/3688 (2013.01) [G06F 9/451 (2018.02); G06F 11/3414 (2013.01); G06F 11/368 (2013.01); G06F 11/3684 (2013.01); G06F 11/3692 (2013.01)] | 18 Claims |
1. A method of efficient testing by selective user interface (UI) interaction, through test script sections including setup, execution and verification, applied to an application under test (AUT) that operates in both an application programming interface (API) mode and a UI mode, including:
providing a test environment that, when using a test script written in a scripting language to test the UI mode of the AUT as directed by a user, defaults to ignoring the UI mode during setup even though the UI interaction is possible and to supplying setup values stored in a file directly to an API without rendering or interacting with UI elements in the setup section of the test script;
executing a scripting language statement of the test script in API mode;
encountering an override directive, that is an executable scripting language statement, in the setup section, which mandates interaction with a specified UI element in the setup section; and
responsive to the override directive, overriding of the default of ignoring the specified UI element in the setup section by executing the test script in UI mode including rendering the specified UI element and applying a bot to programmatically imitate user interactions with the AUT by interacting with and supplying setup values from the file to the specified UI element.
|