Let's input the data into the PO application form within the If control, as follows:
- In the Then block of the If control, we are ready to input the data. We will start by inputting the Supplier data. For that, we'll add a Type Into activity and indicate the Supplier input box and update the value as strSupplier. To confirm the input, add a Send HotKey activity, indicate the Supplier input box and set enter under Key, as shown in the following screenshot:Â
- Next, we will fill in the supplier's address information. Since this is the next section in the form, we will use a page-down keypress to get to those fields. Add a Send Hot Key activity, indicate the PO label at the top-left section of the page, and send a pgdn Key.
- To give the automation some context to identify our address fields faster, let's use a mouse Click Image activity and indicate the Address Line 1 label by dragging to it...