Task Description:
Record a script to perform a GUI testing of your application.
The following example records and test various menu options in the notepad application.
T21.atmn
Note: Save the .atmn file in My Documents->Automation Anywhere->Automation Anywhere->My Tasks
| Solution |
| 1. | Record new task |
Start recording a new task by clicking on 'Record' button |
| 2. | Test the UI of your application |
The following example is recorded in a notepad window to illustrate how you can use Automation Anywhere to test any other application.
- Open a notepad window
- Navigate to different menu items like File->Open, File->Save As, File->Page Setup, Edit->Find etc.
- Each menu item will open a new window for e.g. Edit->Replace will open a 'Replace' window. Record a click in the
'Replace' window by clicking on Cancel or OK button.
- Automation Anywhere intelligently records your activities in all the different windows. Now when you play the task
again, if any of the menu items is not working fine and does not open the expected window, Automation Anywhere will report an error.
(Screenshot 1) |
| |
When you run this task, it opens a notepad window and goes through various
menu items and clicks on Cancel/OK button of respective windows that open up. |
Screenshot 1:

|