New Features of QTP 10.0
QuickTest 10.00 now offers the following new features
• Centrally Manage and Share Testing Assets, Dependencies, and Versions in Quality Center 10.00
• Perform Single-User Local System Monitoring While Running Your Tests
• Improve Portability by Saving Copies of Tests Together with Their Resource Files
• Call Actions Dynamically During the Test Run
• Develop Your Own Bitmap Checkpoint Comparison Algorithm
• Centrally Manage Your Work Items and ToDo Tasks in the To Do Pane
• Improve Test Results Analysis with New Reporting Functionality
• Test Standard and Custom Delphi Objects Using the Delphi Add-in and Delphi Add-in Extensibility
1. Centrally Manage and Share Testing Assets, Dependencies, and Versions in Quality Center 10.00
QuickTest Professional 10.00 has a powerful set of new Quality Center 10.00 integration capabilities for QuickTest assets.*
These integration capabilities include:
• New resources and dependencies model for storing and managing shared assets
• Support for asset versioning and baselines
• Asset Comparison Tool for comparing versions of individual QuickTest assets and Asset Viewer for viewing an earlier version of a QuickTest asset
• A special tool for Quality Center administrators that upgrades all QuickTest assets to use these new features.
* QuickTest assets include tests, components, application areas, and the resources associated with them, such as shared object repositories, function libraries, recovery scenarios, and external data tables.
2. Perform Single-User Local System Monitoring While Running Your Tests
The new local system monitoring feature (File > Settings > Local System Monitor) enables you to monitor the local (client-side) computer resources used by the application instance you are testing during a run session.
You can monitor a number of different system counters to view the effects your application has on the system. You can also define upper limits for the counters. If any of the specified counters exceed these limits, the test run will fail.
Additionally, you can export the data from the System Monitor tab to a variety of file types.
The results generated for the counters you monitor are displayed as a line chart in a special System Monitor tab in the Test Results window.
The System Monitor tab in the Test Results window
The points in the chart are synchronized with the steps in the Run Results tree. When you select a step in the tree, the (red) Current Step line jumps to the corresponding location in the chart.
You can also export the data from the chart so it can be further analyzed in other programs.
Migrating QTP 9.5 version to QTP 10.00 Version
1. If the scripts are in QC we can follow below method
A. If all scripts are in Quality Center then you can simply use the "Asset Upgrade Tool for QC". There is a folder with that name on the QuickTest installation DVD.
2. If the upgrade tool doesn't work on any version earlier than v10.
There is another way to upgrade those scripts from QTP 9.5 to QTP 10?
A. you have to open the script in QTP 10 and save the same which is the suggested process of HP. request HP to provide a tool for this.
--------------------------------------------------------------------------------
From QTP help ("Convert a Set of Tests from an Older QuickTest Version to the Current Version" example in Open Method of Application object):
'***********************************
'Description:
'
'This example specifies a folder in which tests from an older QuickTest version are
'stored and then loops through each test in the folder (and its subfolders) to open
'each one and save it in the current version format.
'
'*********************************************
Dim qtApp 'As QuickTest.Application ' Declare the Application object variable
Dim filesys
Dim maindir
Dim testCol
Dim checkfolder
' Create the QuickTest Professional object
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
' Get the collection of test scripts
Set filesys = CreateObject("Scripting.FileSystemObject")
' TO DO: Sepecify the test script directory....
Set maindir = filesys.GetFolder("C:\temp")
Set testCol = maindir.SubFolders
' Loop through each test in the collection
For Each fl In testCol
' Verify the folder is a QTP test
checkfolder = fl.Path & "\Action0"
If (filesys.FolderExists(checkfolder)) Then ' The folder is a QTP test folder
' Convert test
qtApp.Open fl.Path, False, False
' wscript.sleep 1000
' Save converted test
qtApp.Test.Save
End If
Next
qtApp.Quit
' Release the File System Objects
Set testCol = Nothing
Set maindir = Nothing
Set filesys = Nothing
' Release the QuickTest Professional application object
Set qtApp = Nothing
Supposedly, this should do it if you run it on a machine with QTP 10 installed - though you would have to tweak it a bit for tests stored in QC. The idea is to open each test in edit mode, then save it.
No comments:
Post a Comment