Practical tasks for qtp basics

1,326 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,326
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Practical tasks for qtp basics

  1. 1. QTP Basics - Training Tasks1. Understanding QTP record and playback processCreate record and playback script for notepad application. This script must execute notepad application,enter some text into the text field, save the file and quit notepad. Check object repository for createdobjects.2. Working with QTPAdd start and end transactions to created script 1.3. Introduction to ParameterizationAdd parameterization to created script 1. Application name and entering text string must be loaded fromdata-table.4. ActionsCreate test script for calculator application by the next structure:1) action – execute calculator2) action – press buttons (input parameter: buttons)3) action – close calculatorUse this actions in the Main action of the script, input data must be loaded from data-table.5. Adding Validations to Script1. Creating datatable with 3 or 4 accounts in http://newtours.mercuryinteractive.com/ system, whereonly 1 account is valid (registered in system)2. Create 4 base reusable actions (login, check login, logout, check logout) which called from MainAction. Login and pass must be as parameters input. Result login and logout must be as outputparameters. All result must be wrote in Output DataTable.3. All verifying objects (image, text objects, present of editboxes – login and pass) should be donethrough checkpoints.7. Reporting Functions1. Creating datatable with 3 or 4 accounts in http://newtours.mercuryinteractive.com/ system, whereonly 1 account is valid (registered in system)2. Create 4 base reusable actions (login, check login, logout, check logout) which called from MainAction. Login and pass must be as parameters input. Result login and logout must be as outputparameters. All result must be wrote in Output DataTable.3. All verifying objects (image, text objects, present of editboxes – login and pass) should be donethrough script (by Reporter Object) .4. Filter only failed results in Results Report.

×