Exercise - Use the recorder to automate web applications
To become familiar with automating tasks using the recorder, let's try it on a web page. Follow the presented instructions to develop a recorded flow. The flow will convert a set amount of USA Dollars to Japanese Yen using the MSN currency converter tool.
To record the flow:
Create a new desktop flow and select Recorder in the flow designer.
When the recorder dialog launches, select Record and then select Next.
Select the Record button. The recorder is now live and will note any inputs that you make while it's live.
Open a new browser by selecting a linked button from your desktop, such as a tray icon for your web browser. (In our example, we've selected the tray icon for Microsoft Edge.) The recorder will record this step.
Type in the following URL to go to the MSN currency converter page:
https://www.msn.com/en-us/money/tools/currencyconverter
, and select Return on your keyboard.(Here is the link to the MSN currency converter page.)
Set the drop-down menus of the converter to United States Dollar and Japanese Yen, respectively.
Select the field with the converted Yen, right-click on it, and extract its value by selecting the Get text("") option. After you've done this, notice how Recorder creates a variable called AttributeValue. Once you have this value in the flow, you can use it in subsequent steps.
Finally, press Done in the Recorder to add all the automatically generated actions to the flow. These actions are no different from any others: they can be moved, edited, or deleted.
Notice how once you start Recorder, it records actions on your desktop (such as selecting the tray Microsoft Edge button from Windows in the first step of our example) as well as web browser actions. It makes no difference to Recorder!