Monday, February 17, 2014

How to download HP QTP 11.5/ HPUFT 11.5?

What is HP UFT and how it is different from the traditional QTP?

 

HP Unified Functional Testing (HP UFT) tool is previously known as Quick Test Professional (QTP) and HP Quick Test Professional (HPQTP), it’s combination of HP Quick Test Professional and HP Service Test into a single software package.

 

HP released the latest version of QTP 11.5 (Unified Functional Testing – UFT 11.5) and Now question is how to download HP UFT/QTP 11.5 from HP site!!!

 

we can download and use this tool for evaluation or licensed purpose.

 

Steps to Download:

1.       Step by Step process to download QTP/UFT 11.5

2.       Click on the link http://www8.hp.com/us/en/software-solutions/software.html?compURI=1172122#tab=TAB3

3.       Click on “Trials and Demos” down arrow

4.       Select “HP Unified Functional Testing 11.50 CC English SW E-Media Evaluation“ and click

5.       Enter your personal details and click Next button.

 

6.       Click on Agree button to accept Software Terms of Use.

7.       Select “Using Standard Download” from the drop down.

8.       Now Click on “Download” links to download the QTP/UFT 11.5 Software and PDF letter from HP.

9.       As the software download file is approximately 1.7 GB and it may take more than ***2 hours’ time depends up on your internet correction speed

10.   Make sure your download is not corrupted before installation

11.   Once zip “Software_HP_UFT_11.50_English_T6510-15080” file Downloaded then extract using the unzipping software’s available in your system

12.   Now you are ready to install the HP Unified Functional Testing or Quick Test Professional 11.5 tool.

Saturday, July 6, 2013

What's New in the HP Functional Testing 11.5 Suite

What's New in the HP Functional Testing 11.5 Suite

HP Unified Functional Testing(UFT) = HP QuickTest Pro(HPQTP) + HP Service Test(HPST)
Quick Test Professional (QTP) is functional automation testing tool and Service Test (ST) will available in single package to serve the Automation testing needs prominently.
HP UFT 11.5 features are defined by its advanced accessibility of the tools which incorporated in the hp uft 11.5 interface

Click here to view the Presentation from HP.

Friday, September 2, 2011

How to connect to Quality Center form Quick Test Professional

Quality Center: We can use Quality Center to create a project (central repository) of manual and automated tests and components, build test cycles, run tests and components, and report and track defects. You can also create reports and graphs to help you review the progress of test planning, runs, and defect tracking before a software release. When you work in QuickTest, you can create and save tests and components directly to your Quality Center project. You can run QuickTest tests or components from Quality Center and then use Quality Center to review and manage the results. You can also use Quality Center with Business Process Testing support to create business process tests, comprised of the components you create in either QuickTest or Quality Center with Business Process Testing support.

Advantages of Quality Center:

Quality Center is a single application for complete Test Management Starts with Requirements, goes through Test Planning and Test Execution, and on through Defects. Each of these items can be linked or associated with each other.

How to connect to QC form QTP:
with the below simple steps and pictures you will be able to see how we can connect to QC from QTP
1. Open file menu and click on to QC connection and give the QC server url.
 2. Give the user credentials, select the domain, project and close the window

 3. Now your QTP is connected to QC successfully.

now we will see How to upload QTP scripts to QC

1. Open automation script witch you already developed and click on save as.

2. Select the folder name and click on Ok button

Now we will see How to save resource files in QC

1.Open the Resource file from file menu and click on save as..
2. select the folder and click on ok.
Now all are ready in the QC from QTP, we will see how we will Execute Automation script from QC

1. Open QC and go to Test Lab.
2. Create a test set and select the Automation scripts.
3. Click on Run
4. Give Host IP/Name in the Run On Host field or Select Run All Tests Locally check box to run on local host
5.Click on the Launch report to see the QTP report.
Now we will see Batch Run of automation scripts from QC

1. Open QC and go to Test Lab.
2. Create a test set and select the Automation scripts.
3. Click On Run Test Set in QC
4. Give Host IP/Name in the Run On Host field or Select Run All Tests Locally check box to run on local host

All about QTP Descriptive Programming

What is Descriptive Programming?
In QTP if we want to do some actions/operation on an object that is not there in the object repository then we can use or go for Descriptive programming.
With out using QTP OR we can store properties of Test objects in the QTP Script by defining the Object properties.
Advantages of Descriptive Programming:
1. We will be able to work on writing QTP scripts even before the application is NOT available. It will help to increase the utilization of the Automation scripts as it will be immediately available once the application get released.
2.We can define the properties of an object without considering the parent objects in the hierarchy. i-e Object identification will not depend on its parent object.

there are 2 ways to describe your Test Objects.
One is description in form of the string arguments.
For Ex:  text box having html code as < input type=”text” name=”txtUserSiva” > can be accessed as below.
Browser(“Browser”).Page(“Page”).WebEdit(“Name:=txtUserSiva”,”html tag:=INPUT”).set “AutomationTestingwithQTP”.
The 2nd way is using Decription.create as below.
Set objDesc = Description.Create
objDesc(“html tag”).value= “INPUT”
objDesc(“name”).value= “txtUser”
Browser(“Browser”).Page(“Page”).WebEdit(objDesc).set “AutomationTestingwithQTP”.

Disadvantage of Descriptive Programing:
First disadvantage of Descriptive programming is Maintenance will be difficult.
Since Object repository will be stored in centralized place, property definition for any Object can be easily changed at any time if the application developer changes the property of the actual object/control.
But, in descriptive programming (DP) it is difficult to change the object property as each QTP developer will be defining object property in many places using DP.
For example, assume that you and team member are developing automation test scripts for testing gmail application.
Gmail login script will be used in many test scenarios.
Assume that you are automating some scenarios and your team member is automating some other scenarios.
In case of Object Repository, you and your team member will be forced to use same object description for login page controls/Objects (e.g username, password, login button).
So in future if Google changes any property (e.g change the button name from “login” to “get into gmail”), all the scenarios can be easily updated just by updating this change in Object repository.
But in case of DP, there is a possibility of defining the login button in multiple places. One definition by you and another by your team. (Anyway proper Team Coordination will avoid this issue, but practically it is very difficult to achieve this coordination.).
So, comparatively updating DP style coding is bit difficult if the application properties got changed.

Thursday, September 1, 2011

Understanding QTP License Types

Quick Test Professional has 2 types of licenses:

1. Seat License
2. Concurrent License

A trial version of the software is also available for 14 days

Seat License: A seat license is specific to the computer on which it is installed. This license includes a 14-day demo period.

Concurrent License: A concurrent license regulates the number of concurrent HP QTP users and requires installation of a license server from a separate CD-ROM found in the HP QTP package. Concurrent license is purchased seperately from HP and installed on the HP Functional testing Concurent License Server.

Tuesday, August 30, 2011

How to find DataType of a Variable with VBScript?

When you are validating application using our tool QTP, there will be scenarios to check the displayed value in the field is numeric/text/date etc,.The data type of a variable can be identified in two vbscript built-in functions.

1. Vartype
2. Typename

Vartype returns a numeric value indicating the sub datatype of a variable.

The below table contains return values that indicate respective subtypes.
Return Value
SubDatatype
Description
0
vbEmpty
Empty (uninitialized)
1
vbNull
Null (no valid data)
2
vbInteger
Integer
3
vbLong
Long integer
4
vbSingle
Single-precision floating-point number
5
vbDouble
Double-precision floating-point number
6
vbCurrency
Currency
7
vbDate
Date
8
vbString
String
9
vbObject
Automation object
10
vbError
Error
11
vbBoolean
Boolean
12
vbVariant
Variant (used only with arrays of Variants)
13
vbDataObject
A data-access object
17
vbByte
Byte
8192
vbArray
Array

Ex:
Dim x
x=10
msgbox vartype(x) 'Returns 2
In the above table 2 indicates vbInteger datatype.So x is an integer type.

Typename directly returns the name of the Sub Datatype of a variable.
SubDatatype
Description
Byte
Byte value
Integer
Integer value
Long
Long integer value
Single
Single-precision floating-point value
Double
Double-precision floating-point value
Currency
Currency value
Decimal
Decimal value
Date
Date or time value
String
Character string value
Boolean
Boolean value; True or False
Empty
Unitialized
Null
No valid data
< object type >
Actual type name of an object
Object
Generic object
Unknown
Unknown object type
Nothing
Object variable that doesn't yet refer to an object instance
Error
Error


Ex:
Dim x
x=10
msgbox typename(x)  'Returns “Integer”

There are some more VBScript Built-in functions to find whether a variable datatype is specific datatype or not.

IsArray -- Returns a Boolean value indicating whether a variable is an array or not.
IsDate -- Returns a Boolean value indicating whether an expression can be converted to a date.
IsEmpty -- Returns a Boolean value indicating whether a variable has been initialized.
IsNull -- Returns a Boolean value that indicates whether an expression contains no valid data (Null).
IsNumeric -- Returns a Boolean value indicating whether an expression can be evaluated as a number.
IsObject -- Returns a Boolean value indicating whether an expression references a valid Automation object.

Built in functions are available for only these datatypes. You can write built function for every datatype like below…
'@@@@@@@@@@@@@@@@@@@@@@
Function IsString(oValue)
  If vartype(oValue)=8 then
    IsString=true
  Else
    IsString=False
  End If
End Function
'@@@@@@@@@@@@@@@@@@@@@@

Monday, August 29, 2011

How do I sort arrays items using vbscript?

we will be able to sort in alphabetically an array items using the vbscript.

' declaring the array
Dim arrSortOut(10)
' assigning data to the array
arrSortOut(0)="Ammu"
arrSortOut(1)="Siva"
arrSortOut(2)="Madhu"
arrSortOut(3)="Ranga"
arrSortOut(4)="Jagadesh"
arrSortOut(5)="Kumar"
arrSortOut(6)="Praveen"
arrSortOut(7)="Martha"
arrSortOut(8)="Zeebra"
arrSortOut(9)="123Zeebra"
arrSortOut(10)="!123Zeebra"

for i = UBound(arrSortOut) - 1 To 0 Step -1
  for j= 0 to i
    if arrSortOut(j)>arrSortOut(j+1) then
      temp=arrSortOut(j+1)
      arrSortOut(j+1)=arrSortOut(j)
      arrSortOut(j)=temp
   end if
  next
next


for x=0 to 8 UBound(arrSortOut)
 msgbox arrSortOut(x)' to check the items
next