| T55 - Automate Testing & Validation |
| Task Description |
As part of your testing, you often need to validate the test results. This example demonstrates how you can perform automated testing & validations.
|
| Solutions |
 |
Record a task
The following example is recorded on Tethys Support page http://www.tethyssolutions.com/support_form.htm to illustrate how you can use Automation Anywhere to automate your test validations.
- Start recording a new task by clicking on 'Record' button
- Go to the website you want to test
- Fill out various parts of the form using keystrokes and mouse clicks.
- When you go to the next page (in this case when you submit the support request), select the entire content of the next page using Ctrl + A and copy it to the clipboard using Ctrl + C.
- Stop recording.
- Open the task in Editor.
- Towards the end of the task add the conditional statements to check the content of the clipboard.
- Based on whether the condition is met or not, it logs the appropriate message to the log file.
|

Screenshot 1
|
|
| This example illustrates how you can use $Clipboard$ variable to perform your validations in a web workflow. Similarly you can automate testing & validations in any applications as well. |
| |
| When you run this task, it performs the recorded actions and performs the validations specified towards the end of task to verify the test. |
|
 |
| We started using this product to copy data from legacy system to new system. Now we use it just to do about anything automated. Countless hours saved. Thank you guys. |
- Jack Greenberg
|
| Read Customer Testimonies >> |
|