Modifying Recorded Code to Accept Input Data

The key ingredient to modifying your recorded code/script is understanding what to modify in order to utilize the external file data in place of what was typed in during your recording session.

Typically the code that will interact with objects and data input controls of the AUT's windows/tabs is placed in the Perform_Action script or in scripts that are called from within the Perform_Action script. Refer to Chapter 7 for the high-level program flow and description.

Let's assume for a moment that we want to input data to a window and that the window has already been selected and enabled, and is in focus. Let's also assume for discussion's sake that this window/tab has only three input fields where ...

Get Just Enough Software Test Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.