| T03 - Create Interactive Test Scripts |
| Test Description |
Create interactive test for web form filling where in the values that needs to be filled are prompted at run time and simultaneously checking the existence of particular field or web control.
T03.tamn
Note: Save the .tamn file in My Documents -> Testing Anywhere -> Testing Anywhere -> My Projects
The following example is recorded on Automation Anywhere Support page http://www.automationanywhere.com/support/askTheExpert.htm to illustrate how you can use Testing Anywhere to create interactive test
|
| Solutions |
 |
Record a new test using web recording
- Start recording a new test by clicking on 'Web Recorder' link
- Fill out various parts of the form.
- Click on Submit button.
- Extract the contents of page navigate after submitting the form.
- To insert the checkpoint to check the contents of the web page check the Insert checkpoint check box of Extract Data form to know whether the form is successfully submitted or not. Screenshot1
|
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
|
 |
Make the test interactive
- Insert Prompt command to take user input in at variable ‘Prompt-Assignment’. Screenshot2
- Edit the Set Text command. In Advance View specify ‘Prompt-Assignment’ variable in this place of actual value. Screenshot3
- To insert checkpoint Web object exists right click on each Manage Web Object command->Insert Checkpoint->Web Object Exists to check the object exists or not before entering values in the object.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
| When you run this task it plays back your recorded actions. Whenever it comes across a prompt command, it will prompt the user for the input and will insert the values provided by the user into the target application. |
|
 |
| We are currently using the software to do functional and performance testing of our customized version of Microsoft CRM. In addition, we are also using it for functional testing of a custom, in-house, financial application, and to do quality assurance on a CD that contains encrypted Adobe .pdf files, that are distributed for us by a third-party vendor. It allows us to do repeatable, reliable performance and functional testing, load test data with only “one-click”, and verify third-party vendors work. It saves us time and money, because after the initial “ramp-up” time learning it, we can quickly write tests that perform hours of work in only minutes. A great test tool, that we highly recommend! Thank you !!! |
- David Abrahams,
Manager - Quality Assurance, Commonwealth Financial Network
|
| Read Customer Testimonies >> |
|