Intercept User Events
This sample saves the total expense from "ExpenseIt" application in a file when the "Ok" button is clicked.
Steps to automate
- Open the Expenseit application.
- When the user presses the OK button inside the app scrape the amount text.
- Save the result in a text file.
- Open the app using Open application activity.
- Add an On click user event linked to the OK button.
- Inside the On Click sequence add the activity for scraping the result text
- Add an Append to file activity for writing the result to a text file.