WORKING WITH QTP

TestEveryThinG

Started New Blog on blogspot

Posted by rajivkumarnandvani on May 11, 2011

Hi ALL,

I have started my new blog about QTP  on google blog spot.

here is the link

http://testeverythingqtp.blogspot.com/

Posted in FAQ QTP | Leave a Comment »

QTP 11 Installation Issues/Errors

Posted by rajivkumarnandvani on April 15, 2011

Hi All ,

Most of time, we are facing the problem while running the QTP OR installation but some times these problems are unknown to us because we did not read the installation procedure or limitations or known issues, So please have a look :-

Notes and Limitations

This section includes the following:

  • Before You Install
  • Supplemental Information

Before You Install

This section includes information that is important for you to know before you install QuickTest.

  • You cannot install QuickTest when a McAfee Anti-Virus application is running.

Workaround: Disable the antivirus application during the QuickTest installation process.

  • QuickTest Professional supports the Sentinel RMS License Manager version 8.3.0 as its concurrent license server. Earlier versions of the concurrent license server are not supported.

  • QuickTest does not support Windows user names with non-English letters. If you log in to Windows using a user name (with administrative privileges) that contains non-English characters and then install QuickTest, the installation may complete successfully, but you may not be able to open QuickTest or it may not behave correctly.

  • The path in which installation files for QuickTest are located, and the path in which QuickTest is installed, can contain only English characters.

  • When upgrading to QuickTest 11.00 from a QuickTest 9.5 or 10.00 installation on which a Language Pack (localized version of QuickTest) was previously installed, you may get an error message when opening QuickTest after the upgrade.

Workaround: Repair the installation:

  • In the Control Panel, select Add/Remove Programs and select the HP QuickTest Professional entry.

  • Click the Change button.

  • In the installation wizard that opens, choose the Repair option and follow the on-screen instructions.

  • If you install QuickTest 11.00 while the QTPNET_00015 patch (a QuickTest 10.00 patch) is installed on your computer, QuickTest may behave unexpectedly.

Workaround:

  • Open the Add/Remove Programs dialog box from the Control Panel.

  • Display the installed patches by selecting the Show updates check box (or click the View Installed Updates button, depending on your operating system version.)

  • Locate HP QuickTest Professional in the list and check whether QTPNET_00015 for HP QuickTest Professional 10.00 QFE is listed as an installed update.

  • If it is installed, click Remove to uninstall this patch before you install QuickTest 11.00.

  • If you want to work with .NET 4.0, it is best to install it before you install QuickTest. If you install .NET 4.0 after you install QuickTest, you must manually register two .NET DLLs as follows:

In <QuickTest installation folder>\GlobalAssemblyCache\Net4, execute the following commands:

  • ..\..\bin\GACRegUtil4x86.exe -i Mercury.QTP.Agent.dll

  • ..\..\bin\GACRegUtil4x86.exe -i Mercury.QTP.WpfAgent.dll

  • In Windows XP and Windows 2003, if you install the Oracle Add-in, the Windows Remote Shell Service (rshsvc.exe) may fail and display an error message every time you restart the computer. This occurs only if the Remote Shell Service is configured to run automatically.

Supplemental Information

Use the information in this section as a supplement to the product documentation.

Additional troubleshooting information, guidelines, and feature-specific limitations are described in the relevant locations of the installation and product documentation. Make sure you are aware of those issues when working with the relevant features.

This section includes the following:

Installation

  • When you install a new QuickTest 11.00 installation and you specify a single concurrent license server in the License Wizard, QuickTest now automatically specifies the server in an LSFORCEHOST environment variable, to optimize performance. However if you perform an upgrade from QuickTest 10.00, and you already had an LSHOST variable defined, the upgrade installation does not change the setting to LSFORCEHOST.

Workaround: If desired, set the LSFORCEHOST variable manually, as described in the HP Functional Testing Concurrent License Server Installation Guide.

  • If you manually set an LSHOST environment variable to a particular server (or upgrade from a previous version of QuickTest where the LSHOST variable was set), QuickTest sometimes gets its license from another server, even when the specified server has the required licenses available.

Workaround: To ensure that a specific server will be used, specify an LSFORCEHOST environment variable instead.

Operating Systems

If you work with QuickTest on a Windows 7 operating system with User Account Control (UAC) turned on, and you open a test from a protected location (such as Program Files), it is opened in read-only mode and a message is displayed that you do not have permissions to open it in read-write mode.

General

  • When you save a test using the Save Test with Resources option, it also saves any tests containing called external actions. However, to preserve space, these called tests contain only the called actions, and not all of the actions from the original test. Therefore, you cannot open these called tests in QuickTest from the local copy.

Workaround: If you need to have full access to the called tests as well as the main test that you save using the Save Test with Resources option, then you must manually save all required tests locally and then manually edit all references to the relevant actions from the main test to the actions it calls.

Web Add-in

  • The If Handler option in the Web Event Recording Configuration dialog box works on Mozilla Firefox browsers only if the handler is assigned as an attribute (for example, <A onclick = “some code”/>) and not if it is assigned as a property (for example, aObj.onclick = function() {some code})

Silverlight Add-in

  • When Silverlight applications are opened in two tabs sequentially (without QuickTest performing any operations on the first one before the second opens), QTP will use a custom server to support controls only in the first application with which you interact. The same is true when two tabs are refreshed sequentially.

Workaround: Perform an operation (for example, use the Object Spy) with the first tab opened/refreshed before opening/refreshing the second one.

  • If a Web page contains a Silverlight application that is windowless and is scrolled out of view when the page opens the first time, QuickTest will not be able to make this application visible. (For example, in this scenario, QuickTest will not be able to perform an SlvWindow.MakeVisible step).

Quality Center and Business Process Testing

  • When comparing two baselines, if the only change in a resource is its association to a test or component, the Asset Comparison Tool does not indicate any change in the resource even though HP ALM or Quality Center may indicate that the resource is Modified.

  • If an HP ALM or Quality Center user manually changes the status of a test instance run, HP ALM/Quality Center creates something called fast run results to record the change of the test status. The fast run results are not valid QuickTest run results files. However, when you try to select results to open or delete in the Run Results Viewer or Run Results Deletion tool, the fast run results are available in the list.

  • After you run a component locally in QuickTest, you cannot use the Jump to Step in QuickTest option from the Run Results Viewer.

  • You cannot perform a remote execution of a business process test on a Windows 2008 R2 QuickTest computer.

Documentation

  • The QuickTest Help Index tab contains only reference items, such as objects, methods, properties, and functions. It does not contain any entries from the user guides.

To search for information from all the documents in the QuickTest Documentation Library, use the Search tab.

  • On some operating systems or after installing certain Windows service packs or updates, you may not be able to view the content of some Help files.

Workaround:

  • Right-click the CHM file in <QTP installation folder)\help, and click Properties.

  • In the dialog box that opens, click Unblock.

For details, see http://support.microsoft.com/kb/902225

Internationalization

  • If you are working with a QuickTest User Interface Pack, install it before running QuickTest for the first time, if possible.

If you install a QuickTest User Interface Pack after running QuickTest, the following items may remain in English after installing the User Interface Pack:

  • Menus and toolbars in the Object Repository window (in QuickTest or in the Object Repository Manager)

  • The Find dialog box in the Expert View

Workaround: Close QuickTest and delete the folder: %APPDATA%\HP\QuickTest Professional
(For example, C:\Documents and Settings\<username>\Application Data\HP\QuickTest Professional).

  • When working on an operating system using a Spanish locale, you may get an assertion error message at the beginning of the QuickTest installation.

Workaround: Modify the sLanguage registry key value as follows:

  • In the Start > Run dialog box, type: regedit.

  • Go to the registry path: HKEY_CURRENT_USER\Control Panel\International

  • Change the sLanguage value from ES to ESN

  • If the above steps do not solve the problem, restart your computer and try again.

Run the QuickTest installation again.

  • Selecting the View Sample Snapshot option in the QuickTest Asset Comparison Tool opens a window containing a sample image of the selected element in QuickTest. The image displays the English user interface.

  • The Add-in Extensibility SDKs are not localized.

Posted in FAQ QTP, QTP | 8 Comments »

QTP 11 New Object Spy Functionality

Posted by rajivkumarnandvani on April 11, 2011

Hi All,

In QTP 11 Object Spy has been improved now with following features:

  • Add an object to a repository
  • Highlight an object in your application
  • Copy/paste object properties
    • Add an object to a repository. You can now add an object to the object repository directly from the Object Spy.
    • Highlight an object in your application. When you select a test object in the Object Spy Object hierarchy tree, you can then select to highlight the object in your application that corresponds to that test object.
    • Copy/paste object properties. You can copy the identification properties and values of a selected test object in the Object Spy and paste the details into any document. The details are formatted in programmatic description syntax. This option is especially useful if you want to compare the properties and values of two objects in your application or when creating programmatic descriptions.

Additionally, the Object Spy has a new, cleaner look and feel:

QTP 11 New Object Spy

QTP 11 New Object Spy

Posted in QTP | Tagged: , | Leave a Comment »

How to export data from database table to Excel sheet and Datatable

Posted by rajivkumarnandvani on March 25, 2011

Hi All
‘ REM  Adding NewDataSheet in Run Time
DataTable.AddSheet “MySheet”

‘ REM  Adding Column name in Run time
DataTable.GetSheet(“MySheet”).AddParameter “bname”,” ”

REM Create DataBase Connection
Set objCon = CreateObject(“ADODB.Connection”)
objCon.Open”Provider=SqlOledb.1;Server=sys;uid=sa;pwd=;database=db1″
REM (OR)  Open DataBase Connection

objCon.Open”Provider=Microsoft.Jet.Oledb.4.0;Data Source=D:\NewDB.mdb”

REM  Creating Record set for DataSet
Set objRs=CreateObject(“adodb.recordset”)

REM Opening RecodSet form DataBase( storing the values in recordsetb )
objRs.open”select * from Emp”,objCon

REM Loop for Getting DataBase Column name
For intCount = 1 to objRs.Fields.Count-1
i = 1

REM column name in run time data sheet using add parameter method
DataTable.GetSheet(“MySheet”).AddParameter objRs.Fields(intCount).Name,” ”

REM Loop for Checking end of the Recod
While objRs.eof<>true
REM  Seting the current row
DataTable.SetCurrentRow(i)
REM   increments for data table row
i=i+1
REM  Assigning the DataBase Values into DataTable
DataTable.Value(objRs.Fields(intCount).Name,”MySheet”) = objRs.Fields(intCount).Value
REM’ ——->  moving the record  pointed to next record
objRs.MoveNext
Wend
REM  moving the record  pointed to First record
objRs.MoveFirst
Next 

REM Exporting the results in local
DataTable.ExportSheet”D:\MyTest.xls”,3

Posted in QTP | 1 Comment »

Running Automation Scripts on a Remote Computer

Posted by rajivkumarnandvani on February 19, 2011

 

Running Automation Scripts on a Remote Computer

By default, when you create an Application object in your automation script, it is created on your local computer (using your local copy of QuickTest Professional). You also have the option to run automation scripts on a remote QuickTest computer. To do so, you must:

     

  • Ensure that the Distributed COM (DCOM) Configuration Properties of the remote computer are set to allow you to run QuickTest Professional Automation from your computer.
  • Specify the remote computer in the automation script in the application creation script line, for example, using the optional location argument in the VBScript CreateObject function.

Setting DCOM Configuration Properties on the Remote Computer

QuickTest automation enables QuickTest to act as a COM automation server. Therefore, to run a QuickTest automation script on a remote computer, you must ensure that the DCOM configuration properties for that computer give you the proper permissions to launch and configure the QuickTest COM server.

The procedure below describes the steps you need to perform on the remote computer to enable your automation script to run on that computer. Note that the DCOM Configuration Property the appearance and names of the dialog boxes and options mentioned here may vary depending on the computer’s operating system.

To enable automation scripts to access a QuickTest computer remotely:

     

  1. On the computer where you want to run the automation script, choose Start > Run. The Run dialog box opens.
  2. Enter dcomcnfg and click OK. The Distributed COM Configuration Properties dialog box or the Component Services window opens (depending on your operating system) and displays the list of COM applications available on the computer.
  3. Select QuickTest Professional Automation from the list and open the Properties dialog box for the application. (Click the Properties button or right-click and choose Properties, depending on your operating system.)
  4. In the QuickTest Professional Automation Properties dialog box, click the Security tab.
  5. In the launch permissions section, choose the custom option and click Edit.
  6. Use the Add and Remove options to select the network users or groups for which you want to allow or deny permission to launch QuickTest Professional via an automation script. When you are finished, click OK to save your settings.
  7. Repeat steps 5 and 6 for the configuration permissions section to select the users or groups who can modify QuickTest Professional configuration options via an automation script.
  8. In the QuickTest Professional Automation Properties dialog box, click the Identity tab and select the interactive user option.
  9. Click OK to save the QuickTest Professional Automation Properties settings.
  10. Click OK to close the Distributed COM Configuration Properties dialog box or the Component Services window.

Creating an Application Object on a Remote Computer

Once you have set the necessary DCOM Configuration settings for a remote computer, you can specify that computer in your automation script.

In VBScript, you do this by specifying the computer name as the optional location argument of the CreateObject function. The computer name should be the same as the computer name portion of a share name. For example, to run an automation script on a computer called MyServer, you could write:

Dim qtApp

Set qtApp = CreateObject(“QuickTest.Application”, “MyServer”)

For information on the syntax for specifying the remote computer in another language you are using, refer to the documentation included with your development environment or to general documentation for the programming language.

Posted in QTP | 4 Comments »

Get cell data from webtable

Posted by rajivkumarnandvani on February 16, 2011

Hi all ,

I found a helpful example in QTP help file that can be use most of time while working with web table. I hope It will help you.

Description

Returns the text contained in the specified cell.

Syntax

object.GetCellData (Row, Column)

Argument Description
object A test object of type WebTable.
Row Required. A Variant value. The row number where the cell is located. The first row in the table is numbered 1.
Column Required. A Variant value. The column number where the cell is located. The first column in the table is numbered 1.

Return Value

A String value.  Returns the data contained in the specified cell.
If the specified cell is not valid, the method returns micCellDoesNotExist

Find All Employees That Live in the Same City
Sub GetCellData_GetRowWithCellText_Example()
‘The following example retrieves the names of all employees that live in
‘the same city as John Smith so that he can arrange rides home with them.
‘First, the example finds the table row containing
‘”John Smith”. Then it checks the value of the CityColumnn cell to determine
‘the city in which John lives. It searches the table cells to find all other
’employees that live in that city. Finally it uses the GetCellData method to
‘return those employees names and, using a function, generates a list
‘containing those names.

CityColumn = 4
NameColumn = 2
‘Get the row number for employee ‘John Smith’
RowNumber = Browser(“CorporateEmployees”).Page(“CorporateEmployees”).WebTable(“EmployeesTable”).GetRowWithCellText(“John Smith”)
Set AccommodationsCity = Browser(“CorporateEmployees”).Page(“CorporateEmployees”).WebTable(“EmployeesTable”).ChildItem(RowNumber, CityColumn, “WebEdit”, 0)
TableRows = Browser(“CorporateEmployees”).Page(“CorporateEmployees”).WebTable(“EmployeesTable”).RowCount
‘Search for all employees that live in the same city as ‘John Smith’ and add them to his ride home list
For i = 1 To TableRows
Set CurrentCity = Browser(“CorporateEmployees”).Page(“CorporateEmployees”).WebTable(“EmployeesTable”).ChildItem(i, CityColumn, “WebEdit”, 0)
If CurrentCity.GetROProperty(“value”) = AccommodationsCity.GetROProperty(“value”) Then
EmployeeName = Browser(“CorporateEmployees”).Page(“CorporateEmployees”).WebTable(“EmployeesTable”).GetCellData(i, NameColumn)
AddToJohnSmithRideHomeList (EmployeeName)
End If

Next

End Sub

Posted in QTP | 7 Comments »

Sorting of Array by using VB script

Posted by rajivkumarnandvani on December 31, 2010

HAPPY NEW YEAR 🙂

Hi All ,

Sometimes while doing scripting we required sorting of array number. Here I am posting the script that will sort the number of array.

arrSample = Array(4, 6, 2, 7, 3, 5, 1)

msgbox vbCrLf & “array before”

For Each intNumber In arrSample

msgbox intNumber

Next

Function SortArray (byval arrayname)

For i = LBound(arrayname)  to  UBound(arrayname)

For j = LBound(arrayname)  to  UBound(arrayname)

If j <> UBound(arrayname)  Then

If arrayname(j) > arrayname(j + 1)  Then

TempValue = arrayname(j + 1)

arrayname(j + 1) = arrayname(j)

arrayname(j) = TempValue

End If

End If

Next

Next

SortArray = arrayname

End Function

msgbox vbCrLf & “array after”

REM calling function SortArray()

Arrayaftersort  =  SortArray(arrSample)

For Each intNumber  In Arrayaftersort

msgbox intNumber

Next

Posted in QTP | Tagged: , | Leave a Comment »

Connect QC through API using VB script

Posted by rajivkumarnandvani on December 20, 2010

Hi All,
Here I am mentioning the script that will connect to Quality Center. For this,your system must have QC api dll/QC client installed.

REM Define the Domain name
DomainName =”DEFAULT”

REM ‘Define the ProjectName
ProjectName =”Automation”
REM ‘ login username
UserName =”Rajeev Nandwani”
REM ‘ login password
Password =”RNSystem00″
REM ‘ Server name with Port
ServerName =”QAserver:8080″

Rem Create QC Connection Object
Set objTDConnection = CreateObject(“TDApiOle80.TDConnection.1”)
Rem Connect with server
QCServerName =”http://”&amp; ServerName &”/qcbin”
objTDConnection.InitConnectionEx QCServerName
Rem Connect with Project
objTDConnection.ConnectProjectEx DomainName, ProjectName, UserName, Password

Rem Check login Success or not

If objTDConnection.loggedin Then

msgbox “Connect successfully ”
else
msgbox “not connect with Quality Center Check username /Password/Domain name /Project Name ”
End If

Set objTDConnection = nothing

Posted in QTP | Tagged: , , | 3 Comments »

QTP Environment details

Posted by rajivkumarnandvani on November 30, 2010

Note :- Source of data HP site

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

2000 No

XP SP2\SP3 (32-bit) Yes

XP SP2\SP3 (64-bit) Yes

2003 SP2 (32-bit) Yes

2003 R2 (32 & 64 bit) Yes

Vista SP2 (32-bit) Yes

Vista SP2 (64-bit) Yes

Server 2008 R2 (64-bit) Yes

Windows 7 (32-bit) Yes

Windows 7 (64-bit) Yes

Workstation 5.5 Yes

Workstation 6 Yes

ESX 3.0.1 Yes

ESX 3.5 Yes

ESX 4.0 Yes

VMM 2008 Yes

2004 Yes

2007 Yes

4 Yes

4.5 Yes

5 Yes

5 Y

VMware

HP QuickTest Professional 11.00 Product Availability Matrix

Yes

Server 2008 SP2 (32 & 64 bit) Yes

2003 SP2 642-bit)

Operating System Windows

Citrix Meta frame presentation server

Virtualization

Virtual PC

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 1 of 16

Yes

6 Yes

Apex True OLE DB Grid 6 Yes

Component One VSFlexGrid Pro 7.x No

DevExpress Quantum Grid 4.x No

2.5 Yes

3 Yes

3.5 Yes

6 Yes

3 Yes

3.5 Yes

6 Yes

7 Yes

7.0 (UNICODE) Yes

Microsoft DataBound Grid 5 Yes

Microsoft Flex Grid 6 Yes

Microsoft Grid 1 Yes

Sheridan Data Grid 2 Yes

Sheridan Data Grid 3.1 Yes

Tidestone FormulaOne Grid 6.x Yes

FarPoint InputPro 3 No

FarPoint ListPro 3 No

FarPoint Spreadsheet

Apex True DataBound Grid

ActiveX Controls

FarPoint Spreadsheet (OLEDB)

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Microsoft Date & Time Picker Control 6 (SP4) Yes

Microsoft MonthView Control 6.0 (SP4) Yes

Microsoft Viewlink/HTC Yes

5 Yes

6 Yes

Microsoft Viewlink/HTC DevExpress ASPxGrid 1.2.0.1 Yes

European (ISO-Latin-1) Yes

Simplified Chinese (GB) Yes

Traditional Chinese (Big5) Yes

Japanese Yes

Korean Yes

2 Yes

2.1 Yes

3 Yes

4 Yes

6 No

7 No

8 No

9 No

RealPlayer Controls 6.x No

Macromedia Flash All Versions No

2000 No

XP(2002) Yes

2003 Yes

2007 Yes (not XLSX)

2000 Yes

XP(2002) Yes

Character Sets

Unicode (UTF8/UTF16)

Other Presentation Technologies

Multimedia

Microsoft Windows MediaPlayer controls

Microsoft

Excel (Not For Automation)

Visual Basic

Windows Controls

Word

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 2 of 16

2003 Yes

2007 Yes

2000 No

XP(2002) Yes

2003 Yes

2007 Yes

Log4j 1.2.9 Yes

Log4net 1.2.10 Yes

Query

Logging frameworks (feature)

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

5.5 SP2 No

6 Yes

7 Yes

8 Yes

6.1 No

6.22 No

6.23 No

7.01 No

7.02 No

7.1 No

8 No

8.1 No

8.1.3 No

9 No

AOL 9 No

1.5 No

2 No

3.0 .X Yes

3.5 Yes

3.6 No

2 Yes

3.2 Yes

4 Yes

XML 1 Yes

Dojo 1.2.3 Yes

HTML

Firefox

Browser Technologies

QuickTest Professional Web Add-in

Browser

Internet Explorer

Netscape

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 3 of 16

j

GWT 1.5.3 Yes

ASP.net Ajax 3.0.30512, 3.5.30729.1 Yes

YUI 2.7.0 Yes

1.1 Yes

2 Yes

Layer Product / Standard Version Support Information

6 Yes

7 Yes

2005 Yes

2007 Yes

Win32 VCL library Yes

CLX No

TwwDBEdit Yes

TwwDBSpinEdit Yes

TwwDBRichEdit Yes

TwwDBGrid Yes

InfoPower Controls

InfoPower Studio 2007

InfoPower Studio Std for

Delphi 7

InfoPower Studio Std for

Delphi 6

Extensiblity Accelerator

Toolkits

QuickTest Professional Delphi Add-in

Delphi controls

Delphi

Delphi IDE versions

Exensibility Application

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

1.1.8_x No

1.2.0 – 1.2.2_x No

1.3.0_x No

1.3.1_x No

1.4.0_x No

1.4.1_x No

1.4.2_x No

1.5 (aka Java 5.0 Update) Yes

1.6 Yes

1.7 No

1.4.x Yes

1.5.x Yes

1.6.x Yes

1.2.2 Yes

1.3.0_x No

1.3.1_x No

1.4.0_x No

1.4.1_x No

1.4.2_x Yes

1.5 update x Yes

1.6 Yes

3158 Yes

3810 Yes

Netscape 4.x No

Oracle Jinitiator(see oracle Add-In) Any version Yes

A i N

Java Runtime Engines

Sun Java Web Start

IBM

Microsoft Internet Explorer JVM

Sun JDK

QuickTest Professional Java Add-in

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 4 of 16

BEA JRockit Any version No

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

1.1.x No

1.2.x No

1.3.x No

1.4 No

1.4.1 No

1.4.2 No

1.5 Yes

1.6 Yes

1.0.x No

1.1 (Swing from JDK >1.2) Yes

3.1.2 Yes

3.2 Yes

3.3 Yes

3.4 Yes

3.5 Yes

3.x

Yes (Field, BWT, & Table

Objects)

4.5 (LiveTable) No

5.0 (LiveTable) No

6.0 (LiveTable) Yes

3 No

4 No

4.5 Yes

5 Yes

6 Yes

3.1.2 Yes

JFC (Swing)

Sun AWT (Abstract Window Toolkit)

KL Group, aka Sitraka, aka Quest

SWT

Standard Widget Toolkit

Sitraka LiveTable

Symantec Visual Café

Java Packages

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 5 of 16

3.2 Yes

3.3 Yes

3.4 Yes

3.5 Yes

QuickTest Java Add-in Extensibility Eclipse

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

1 No

1.1 No

2 Yes

3 Yes

3.5 SP1 Yes

4 Yes

Windows Presentation Forms WPF Addin

1.1 (SP1+) Yes

2 Yes

3 Yes

3.5 Yes

4 Yes

Windows Forms All Yes

Web Forms All Yes

1.2x Yes

1.3x Yes

2 Yes

1.1x Yes

2 Yes

2.5 Yes

1.5 Yes

2 Yes

Farpoint Any Yes

2.0x Yes

3.2.X Yes

Extensibility API

Infragistics UltraWinGrid

Microsoft .NET Framework

ComponentOne FlexGrid for .Net

DevExpress XtraGrid

Microsoft .NET Framework

QuickTest Professional .NET Add-in

Microsoft .Net Controls

Third Party .Net Controls

ComponentOne TrueDB for .Net

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 6 of 16

1 Yes

2 Yes

3.1 Yes

DevExpress ASPxGrid 1.2.0.1 Yes

2003 Yes

2005 Yes

2008 Yes

QuickTest .Net Add-in Extensibility

Third Party .Net Web Controls

Infragistics UltraWebGrid

Visual Studio

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

6 Yes

7 Yes

6.1

Only with JInitiator or Sun

Plug-in

6.22

Only with JInitiator or Sun

Plug-in

6.23

Only with JInitiator or Sun

Plug-in

7.02

Only with JInitiator or Sun

Plug-in

7.1

Only with JInitiator or Sun

Plug-in

5 No

6 No

7 No

8 No

9 No

1.1.7 No

1.1.8.x Yes

1.3.1.x Yes

1.4 No

1.5 Yes

1.6 Yes

1.4.1.x No

1.5.x Yes (with Java Add-in)

1.6.x Yes (with Java Add-in)

1 4 Y ( ith J Add i )

Sun AWT (Abstract Window Toolkit)

Oracle JInitiator

QuickTest Professional Oracle Add-in

Sun Plug-In

Java Runtime Engines

Internet Explorer

Netscape

AOL

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 7 of 16

1.4 Yes with Java Add-in)

1.5 Yes (with Java Add-in)

1.6 Yes (with Java Add-in)

4.5 No

5 No

6i Yes

9i Yes

10g (releases 1 and 2), Yes

11.5.7 Yes

11.5.8 No

11.5.9 Yes

11.5.10 Yes

12 Yes

Oracle Applications 11i E-business Suite

Development Tool Oracle Forms (Java)

JFC (Swing)

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

Controls Stingray controls Any

Yes (with Stingray Add-In)

8.4 Yes

8.41 Yes

8.42 Yes

8.43 Yes

8.46 Yes

8.47 Yes

8.48 Yes

8.49 Yes

8 Yes

8.3 Yes

8.4 Yes

8.8 Yes

8.9 Yes

9 Yes

Layer Product / Standard Version Support Information

9 Yes

10 Yes

11 Yes

11.5 Yes

PeopleSoft

PeopleTools

Client Modules

Power Builder

QuickTest Professional Power Builder Add-in

QuickTest Professional PeopleSoft Add-in

PB Application

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 8 of 16

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

6.1 No

Yes (client patch level 48)

Yes

Yes (client patch level 2)

Yes (client patch level 2)

7.10 Yes

7.20 Yes

4.6DC2 Yes

4.6DC3 Yes

4.6DC4 Yes

6.10 Yes

6.20

Yes (patch level 12 or 13)

6.2.0 Yes

6.4.0 Yes

5 Yes

6.0 SP3 Yes

7 Yes

2.11 No

3 No

4 No

CRM 4.0 Yes

CRM 5.0 Yes

Interactive Center WebClient (ICWC) 2.0 CRM 2007 Yes

Business By Design (A1S) Yes

Web Client (Internet Transaction Server)

6.20

6.20 Unicode

Interactive Center WebClient (ICWC) 1.0

Workplace

GUI Client

QuickTest Professional Add-in for SAP Solutions

6.40

6.40 Unicode

ECATT

SAP

Portals

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 9 of 16

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

7.0.3.x No

7.0.4.303 No

7.0.4.305 Yes

7.5.2.211 No

7.5.2.214 Yes

7.5.3 Yes

7.7 Yes

7.8 Yes

8 Yes

7.0.3.x No

7.0.4.303 No

7.0.4.305 Yes

7.5.2.211 No

7.5.2.214 Yes

7.5.3 Yes

7.7 Yes

7.8 Yes

8 Yes

8.1.1 Yes

Layer Product / Standard Version Support Information

OG9.02-OT8.02

OG9 03 OT8 03

Siebel

QuickTest Professional Stingray Add-in

Standard Interactivity (SI)

QuickTest Professional Siebel Add-in

High Interactivity (HI)

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 10 of 16

MFC71

OG9.03-OT8.03

MFC80

OG10.0-OT9.0

OG11.0-OT10.0

OG12.0-OT11.0

OG12.0.1- OT11.0.1

MFC90 Yes

WinTreeView Yes

WinTab Yes

WinToolbar Yes

Stingray Grid Yes

MFC Stingray Objective Grid / Objective Toolkit version

combinations

Stingray Controls

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

2000 No

6.4 No

6.5 No

6.7 Yes

7 Yes

7.1 Yes

8 Yes

9 Yes

3.1 Yes

Compatible with Extra 9 No

Exceed No

6.1 Yes (3270)

6.2 Yes (3270)

7 No

7.1.1 No

8 Yes (3270)

9 Yes (3270)

10 Yes

2007 (12) Yes

3.2 Yes

5.1 Yes

4.1 No

4.2 No

5 Yes

5.6 Yes

5 7 Y

IBM Personal Communicator (PCOM)

Hummingbird HostExplorer

IBM Client Access

Attachmate Extra

Terminal Emulators

Attachmate Extra Terminal Viewer

QuickTest Professional Terminal Emulator Add-in

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 11 of 16

5.7 Yes

5.8 No

5.9 Yes

8 Yes

9 No

10 Yes

Jacada Any No

Jolly Giant Any No

IBM WebSphere Host on Demand

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

5.2 No

2000 No

7 Yes

7.1.1 Yes

7.2 Yes

7.5 Yes

5 Yes

5.0 SP1 Yes

5.3 Yes

3.11 No

3.12 No

2004 Yes

2007 Yes

2004 Yes

2007 Yes

3.2 Yes (3270)

4 Yes (3270)

6.1 No

6.2 No

7 No

8 Yes

9 Yes

10 Yes

11 Yes

12 Yes

13 No

14 Yes

2007 Y (SP1 )

NetManage Web-to-Host

Zephyr Passport WEB TO HOST

Zephyr Passport PC TO HOST

Terminal Emulators

Seagull BlueZone

WRQ Reflections

NetSoft Elite

NetManage Rumba

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 12 of 16

Yes SP1+)

12 Yes (text only)

14 Yes (text only)

WRQ Reflections for the Web Any No

Putty Any Yes

AttachmateWRQ Reflection for UNIX and OpenVMS

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

VisualAge Smalltalk versions 4.2 Any Yes

EwIconArea Any Yes

EwFlowedIconList Any Yes

EwIconTree Any Yes

EwIconList Any Yes

EwTableList Any Yes

EwTableTree Any Yes

EwWINNotebook Any Yes

EwPMNotebook Any Yes

CwPushButton Any Yes

CwRadioButton Any Yes

CwCheckButton Any Yes

EwSlider Any Yes

CwText Any Yes

EwBasePage

Any

Yes

CwArrowButton Any Yes

EwSpinButton Any Yes

EwSplitBar Any Yes

CwScale Any Yes

CwComboBox Any Yes

VisualAge Smalltalk versions 7 5 Any Yes

VisualAge Smalltalk 6.0.2

QuickTest Professional VisualAge Add-in

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 13 of 16

7.5

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

Microsoft .NET Framework 1.1 WSE 2.0 SP3 Yes

Microsoft .NET Framework 2.0 WSE 3 Yes

Apache Axis 1.X Yes

WebSphere No

1.4.x

Yes (when using Apache

Axis)

1.5.x-

Yes (when using Apache

Axis)

WS-I Interoperability Testing Tools

1.1

Yes (for validating WSDL

interoperability)

MIME Yes (When using Apache

Axis)

DIME Yes

WSDL WSDL Yes

HTTP Yes

XML File Yes

X.509 Certificate Yes (when using .NET

toolkit)

Other

QuickTest Professional Web Services Add-in

Sun JDK or JRE

Toolkits

WSDL Resource

Attachments

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 14 of 16

SSL3.0/PCT1 Protocol Yes (when using .NET

toolkit)

User Name & Password Credential Yes (when using .NET

toolkit)

Network Credential

Yes(when using .NET toolkit)

Security

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

Windows Presentation forms controls 3.0 Yes

Windows Presentation forms controls 3.5 Yes

Windows Presentation forms 4.0 Yes

Silverlight 2 Yes

Silverlight 3 Yes

2005 No

2008 Yes

Layer Product / Standard Version Support Information

8.2 No

9 No

9.2 No

9 No

9.2 Yes

10 Yes

11 Yes

9 No

9.2 No

10 Yes

11 Yes

8.1 No

9 No

9 1 Yes

HP Quality Center

HP LoadRunner

Silverlight

QuickTest Professional Integration with HP Products

HP Business Process Testing

HP Products

HP WinRunner

QuickTest Professional WPF Add-in

QuickTest WPF and Silverlight Addin

Extensibility Visual Studio

Windows Presentation Forms

1 Requires QuickTest patch

© Copyright 2010 Hewlett-Packard Development Company, L.P. Page 15 of 16

9.1 9.5 Yes

9.5.x No

10 No

11 Yes

10 No

11 Yes

BAC 6 Yes

HP Functional Testing Concurrent License Server

HP Service Test

HP QuickTest Professional 11.00 Product Availability Matrix Date: 1 October 2010

Layer Product / Standard Version Support Information

2000 Yes

XP (32bit) Yes

XP (64bit) Yes

2003 (32bit) Yes

2003 (64bit) Yes

2003 R2 (32 & 64 Bit) Yes

Vista (32Bit) Yes

Vista (64bit) Yes

Windows 7 (32Bit) Yes

Windows 7 (64bit) Yes

Server 2008 R2 (32 bit) No

Server 2008 R2 (64 Bit) Yes

Workstation

5.5

6

ESX 3.0.1

ESX 3.5

2004

2007

4

4.5 No

Virtualization

VMware

Operating System Windows

No

Virtual PC

Citrix Meta frame presentation server

No

No

No

Posted in QTP | Leave a Comment »

Date Time Functions In Visual Basic

Posted by rajivkumarnandvani on September 28, 2010

The following functions isolate the date portion and time portion, respectively, of a Date/Time value:

Function

Description

DateValue Returns the date portion of a Date/Time value, with the time portion “zeroed out”. (Note: When the time portion of a date/time variable is “zeroed out”, the time would be interpreted as 12:00 AM.)

Example:

Dim dtmTest As Date

dtmTest = DateValue(Now)

At this point, the date portion of dtmTest is 8/31/2001, with a time portion of 0 (12:00 AM midnight).

TimeValue Returns the time portion of a Date/Time value, with the date portion “zeroed out”. (Note: When a date/time variable is “zeroed out”, the date will actually be interpreted as December 30, 1899.)

Example:

Dim dtmTest As Date

dtmTest = TimeValue(Now)

At this point, the time portion of dtmTest is 9:15:20 PM, with a date portion of 0 (12/30/1899).

The following functions are used to isolate a particular part of a date:

Function

Description

Weekday Returns a number from 1 to 7 indicating the day of the week for a given date, where 1 is Sunday and 7 is Saturday.

Example:

intDOW = Weekday(Now) ‘ intDOW = 6

Note:

When necessary to refer to a day of the week in code, VB has a set of built-in constants that can be used instead of the hard-coded values 1 thru 7:

Constant Value

vbSunday 1

vbMonday 2

vbTuesday 3

vbWednesday 4

vbThursday 5

vbFriday 6

vbSaturday 7

Function

Description

WeekdayName Returns a string containing the weekday name (“Sunday” thru “Saturday”), given a numeric argument with the value 1 through 7.

Example:

strDOW = WeekdayName(6) ‘ strDOW = “Friday”

The WeekdayName function takes an optional, second argument (Boolean) indicating whether or not to abbreviate the weekday name. By default, the second argument is False, meaning do not abbreviate and return the full name. If True, the first three letters of the weekday name will be returned:

Example:

strDOW = WeekdayName(6, True) ‘ strDOW = “Fri”

You can nest the Weekday function within the WeekdayName function to get the weekday name for a given date:

Example:

strDOW = WeekdayName(Weekday(Now)) ‘ strDOW = “Friday”

Month Returns a number from 1 to 12 indicating the month portion of a given date.

Example:

intMonth = Month(Now) ‘ intMonth = 8

MonthName Returns a string containing the month name (“January” thru “December”), given a numeric argument with the value 1 through 12.

Example:

strMoName = MonthName(8) ‘ strMoName = “August”

The MonthName function takes an optional, second argument (Boolean) indicating whether or not to abbreviate the month name. By default, the second argument is False, meaning do not abbreviate and return the full name. If True, the first three letters of the month name will be returned:

Example:

strMoName = MonthName(8, True) ‘ strMoName = “Aug”

You can nest the Month function within the MonthName function to get the month name for a given date:

Example:

strMoName = MonthName(Month(Now)) ‘ strMoName = “August”

Day Returns a number from 1 to 31 indicating the day portion of a given date.

Example:

intDay = Day(Now) ‘ intDay = 31

Year Returns a number from 100 to 9999 indicating the year portion of a given date.

Example:

intYear = Year(Now) ‘ intYear = 2001

The following functions are used to isolate a particular part of a time:

Function

Description

Hour Returns an integer specifying a whole number between 0 and 23 representing the hour of the day.

Example:

intHour = Hour(Now) ‘ intHour = 21 (for 9 PM)

Minute Returns an integer specifying a whole number between 0 and 59 representing the minute of the hour.

Example:

intMinute = Minute(Now) ‘ intMinute = 15

Second Returns an integer specifying a whole number between 0 and 59 representing the second of the minute.

Example:

intSecond = Second(Now) ‘ intSecond = 20

Posted in QTP | 2 Comments »