Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Project Internal
#1
Solved: 10 Years, 9 Months ago
Hi Ankur and All,

Hi everyone as per my knowledge some guys have a very good idea of qtp.
So we can all together do a project for qtp which leads to the process of developing an applicaiton in qtp .
So if any one is itnerested you can post some ideas and links where we can get some qtp projects and do on that
It will be very useful for all of us i nthe form so that we can work on project
I will post some more links where we can get the qtp projects

Hi Ankur please help us so that we can all work together on a single project where we can form a group and explore more

I have placed some scripts to the databae connectivity .emails
so i hope this may be useful for learning

Inviting for open ideas
Reply
#2
Solved: 10 Years, 9 Months ago
Hi,
That's good idea and all can learn and help each other by sharing the knowledge.So post the links where we can get the projects..
What we can do is we can take couple of websites and start developing frameworks and functions.
Reply
#3
Solved: 10 Years, 9 Months ago
Hi Sridhar,

Automation through qtp
2. What framework will we follow
3.shall we implement Recovery Scenarios ? if yes, how ??
4. What about is error handling ? and how you handled in QTP ?
5. Features, advantages, and disadvantages of QTP ?
Reply
#4
Solved: 10 Years, 9 Months ago
Hi Sridhar ,

Please visit the below mentioned website
www.testingprojects.com/qtp.htm
QUICK TEST PROFESSIONAL

QuickTest Professional enables you to test standard Windows applications, Web objects, ActiveX controls, and Visual Basic applications.QuickTest Professional facilitates creating tests and business components by recording operations as you perform them on your application.

Test—A collection of steps organized into one or more actions, which are used to verify that your application performs as expected.





Business Component—A collection of steps representing a single task in your application. Business components (also known as components) are combined into specific scenarios to build business process tests in Mercury Quality Center with Business Process Testing.

Testing process in QTP
The quick Testing process consist of 7 main phases:
Preparing to record
Recording a session
Enhancing Your Test
Debugging your test
Running your test
Analyzing the Test Results
Reporting Defects

The Test pane contains two tabs to view your test or component—the Keyword View and the Expert View.
Keyword View
The Keyword View enables you to create and view the steps of your test or component in a keyword-driven, modular, table format. Each step in your
test or component is a row in the Keyword View, comprised of individual parts which you can easily modify. You create and modify tests or
components by selecting items and operations in the Keyword View and entering information as required.

Expert View
In the Expert View, QuickTest displays each operation performed on your application in the form of a script, comprised of VBScript statements. The
Expert View is a script editor with many script editing capabilities. For each object and method in an Expert View statement, a corresponding row exists
in the Keyword View.

Active Screen
The Active Screen provides a snapshot of your application as it appeared when you performed a certain step during a recording session. Additionally,
depending on the Active Screen capture options that you used while recording, the page displayed in the Active Screen can contain detailed
property information about each object displayed on the page.

Recording a Test or Component

You create a test or component by recording the typical processes that users perform. QuickTest records the operations you perform, displays them as steps in the Keyword View, and generates them in a script.

Recording Mode:

Analog Recording:
This enables to record the exact mouse and keyboard operations performed in relation to either the screen or the application window.

Low level recording:
This mode records at the object level and records all the run time objects as window or winobject test objects. This mode can be used if the co ordinate of the objects are important for the test or component.

Synchronization Test:

We can insert a synchronization point which instructs the quick test to pause the test untill an object property achieves the value you specify. When doing this Quick test generates a wait property statement in the Expert view.
We can also insert Exist or wait statements that instructs Quick test to wait untill an object exists or to wait a specified ammount of time before continuing the test or component.

CheckPoints:

Quick test provides many checkpoints to check if the application or the website function properly. A Checkpoint is a verification point that compares a current value for a specified property with the expected value for that property.

Types of Checkpoint:

Standard Checkpoint - Checks values of an object’s properties.

Image Checkpoint - Checks the property values of an image

TableCheckpoint - Checks information in a table

Page checkpoint - Checks the characteristics of a Web page

Text /Text Area Checkpoint - Checks that a text string is displayed in the appropriate place in a Web page or application window

Bitmap Checkpoint - Checks an area of a Web page or application after capturing it as a bitmap

Database Checkpoint - Checks the contents of databases accessed by an application or Web site

Accessibility - Checkpoint Identifies areas of a Web site to check for Section 508 compliancy

XML Checkpoint - Checks the data content of XML documents

Data Driver:

Quick test enables to expand the scope of the basic test or component by replacing fixed values with parameters. This process, known as parameterization, greatly increases the power and flexibility of your test or component. A parameter is a variable that is assigned a value from an external data source or generator. When testing the applications, we may want to check how it performs the same operations with multiple sets of data. This can be done in Quick test by the Data Driver.

Data Table parameters enable you to create a data-driven test (or action) that runs several times using the data you supply. In each repetition, or iteration, QuickTest uses a different value from the Data Table.When you parameterize a step in a test using the Data Table, you must decide whether you want to make it a global Data Table parameter or an action Data Table parameter.

Global Data Table parameters take data from the global sheet in the Data Table. The global sheet contains the data that replaces global parameters in each iteration of the test. By default, the test runs one iteration for each row in the global sheet of the Data Table.

Action Data Table parameters take data from the action’s sheet in the Data Table. The data in the action’s sheet replaces the action’s parameters in each iteration of the action. By default, actions run only one iteration.

Parameterizing the value of a checkpoint property enables you to check how an application or Web site performs the same operation based on different data.

Regular Expression Syntax

Regular expressions enable QuickTest to identify objects and text strings with varying values. You can use regular expressions when defining the properties of an object, the methods of an argument, when parameterizing a step, and when creating checkpoints with varying values. A regular expression is a string that specifies a complex search phrase. By using special characters such as a period (.), asterisk (*), caret (^), and brackets ([ ]), you define the conditions of the search.

Recovery Manager:

Unexpected events, errors, and application crashes during a run session can disrupt your run session and distort results. This is a problem particularly when running tests or components unattended—the test or component is suspended until you perform the operation needed to recover.

The Recovery Scenario Manager provides a wizard that guides you through the process of defining a recovery scenario—a definition of an unexpected event and the operation(s) necessary to recover the run session.

A recovery scenario consists of the following:

Trigger Event—The event that interrupts your run session.

Recovery Operation(s)—The operation(s) that need to be performed in order to continue running the test or component.

Post-Recovery Test Run Option—The instructions on how QuickTest should proceed once the recovery operations have been performed, and from which point in the test or component QuickTest should continue, if at all.

Online Link:

Primary Source: http://www8.hp.com/us/en/software-soluti...iA_xXKRZNw

You can login to the site i have provided so that you will find the testing projects online
Reply
#5
Solved: 10 Years, 9 Months ago
even i want to have same initiative
Reply
#6
Solved: 10 Years, 9 Months ago
Dear Siri,
Thanks for sharing the valuable information.
I will have alook at that web site..
Reply
#7
Solved: 10 Years, 9 Months ago
Hi Sridhar and All,

I got an idea as every one goes to do the performance testing through load Runner i beleive we can all start a project where we do the performance testing through QTP
PLease try to find the details and the coding part how we write
PLease take initiative and post the things
Its indeed a going to be a great projerct i believe
JUST THINK OF IT ALL OF THE FORUM MEMBERS
INTERESTED MEMBERS CAN START I WILL POSAT SOME INFO REGARDING THE SAME IN LATER PART
PERSONS HAVING KNOWLEDGE OF LOAD RUNNER CAN TAKE GOOD Oppurtunity i believe
Please shake hands with me for welcoming the new project to the forum
Hope this might be a good idea
Reply
#8
Solved: 10 Years, 9 Months ago
Dear Siri,
Why do you want to use QTP for perfomance testing.
As for i know no one uses QTP for Perfomance testing.
We have Loadrunner,Webload and so many other perfomance tools in which we can create as many as virtual users and then do the perfomance testing.
Reply
#9
Solved: 10 Years, 9 Months ago
Hi All,
I want to have an option i believe there is a way that QTP Script can run through Load run
Reply
#10
Solved: 10 Years, 9 Months ago
Hi Sridhar,

Instead of using QTP for load testing. Use "Click-n-Script" protocol in LR.
I believe it works on the UI level as well.

Correct me if I am wrong
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  500 SAP Internal Server Error Ansh123 4 10,067 05-07-2014, 05:59 PM
Last Post: Ansh123
  How to choose Framework for a project AshokReddy 1 2,574 01-15-2014, 03:41 PM
Last Post: madhavanr
  Run a created project at a determinate time sitoalar 2 2,484 12-12-2012, 07:39 PM
Last Post: sitoalar
  How to Update QC Textcases project ID etc., using QTP vlusa01 0 2,640 05-05-2011, 12:53 AM
Last Post: vlusa01
  Project implementation in QTP vaishali.chitale@gmail.com 0 2,725 08-16-2010, 11:11 PM
Last Post: vaishali.chitale@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)