Let's now map the screen input fields to the column data that we need to populate with. We will use the HTML Tagindex property to locate the input fields and map them to their respective columns:
- To capture the tag index for a field, let's add the Capture action and indicate the label name for the Last Name field. In the Capture properties, choose Rpa Challenge - Internet Explorer for Window. Click on Capture and point to the Last Name label (note that we are indicating the label, not the input box):
- Within the Recorder properties, let's generalize the automation to work with the current column by setting HTML InnerText as currentColumName. Let's also create a variable to store the HTML Tagindex value for the field. Let's call it htmlTagindex with an Any type. Finally, select the Get Property action for HTML TagIndex...