Call Toll Free: 1-888-484-3535    

  Automation Anywhere - The Automation Software

Automated Testing -> 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.

T55.atmn 

Note: Save the .atmn file in My Documents->Automation Anywhere->Automation Anywhere->My Tasks

 

Solution
1.Record new 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. Screenshot 1
  • Based on whether the condition is met or not, it logs the appropriate message to the log file.
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.

Screenshot 1:

 

Tags: automated software testing, load testing, web testing, automation software

E-Mail: Enter your email address to receive information about new products & offers from Tethys Solutions.


 PRODUCTS

 Automation Anywhere
   Standard & Premier
   Enterprise
   Integration Pack
 Workspace Macro Pro
 Workspace Macro
 Launch-n-Go
 Free Downloads
 Compare Products
 

 SERVICES

 Ask The Expert
 Consulting Service
 

 PURCHASE

 BUY NOW
 Pricing
 Upgrades
 Our Guarantee

 CUSTOMERS

 Customer List
 Case Studies
 Testimonies

 SUPPORT

 FAQ & Examples
 Have a Question?
 Open A Support Case
 Forums
 

 QUICK LINKS

 Productivity Essentials
 Developers
 

 GENERAL

 Partners
 Affiliates
 Articles: Macro &
 Automation

 Get RSS Feeds

 Press & News
 Contact Us
Home |Site Map |Privacy Policy |About Us |Contact Us

Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved. Trademarks