HP QuickTest Professional 10.00 Release Update
The QuickTest Professional 10.00 Release Update (Patch QTP_00626) is a cumulative patch that updates your QuickTest installation with the latest files from a set of patches and hotfixes that have been released over QuickTest Professional 10.00.
You can install the Release Update even if you have already installed one or more of the individual patches or hotfixes it contains. It is not necessary to install any of these individual patches or hotfixes after you have installed the update.
This document provides detailed information about the Release Update.
It includes the following information:
- Ensure that you have administrative permissions on the QuickTest computer.
- Double-click the self-extracting executable file and follow the on-screen instructions.
- Update the mic.ini file:
- Restart your computer.
- You may also need to set registry settings or make other manual changes to enable or modify the functionality provided by the patches and hotfixes listed in Registry Settings and Other Manual Changes.
Cumulative Patch Details
This section provides a detailed description of the fixes or changes provided by each patch or hotfix contained in this Release Update.
Core Patches and Hotfixes
The following patches and hotfixes apply to the QuickTest core application:
- QTP_00588 - Enable Running WinMenu.Select Steps on Context Menus in Windows with an Invisible Parent
- QTP_00602 - Support the Quality Center Resources Folder for the Application.Folder.Add Automation Method
- QTP_00610 - Prevent Incorrect Deletion of Folder Paths when Running an Application.Folder.Add Automation Method
- QTP_00613 - Ensure that Steps can Run on Returned Child Objects after an Exist Step Runs on that Object
- QTP_00617 - Prevent QuickTest from Crashing When an ExecuteFile Statement calls Function Library with Syntax or Logical Errors
QTP_00579 - Add Recovery Scenario-Function Library Dependency
Prior to this patch, when a recovery scenario stored in Quality Center referenced a function library file stored in Quality Center, no dependency was created between the resources. Therefore, if the function library was later renamed or moved to another folder, the recovery scenario would fail during a run session.
After installing this patch, when you specify a function library for a recovery scenario, a dependency relationship is automatically created between the recovery scenario resource and the called function library resource.
QTP_00584 - Improve Performance of Loading Multiple Function Libraries Using QuickTest
This hotfix improves the performance of loading multiple function libraries using the QuickTest automation object model by allowing you to specify multiple file names in a single string using the TestLibraries.Add method. In the TestLibraries.Add input string, you separate the file names using a pipeline symbol (|).
Example: C:\Library1.qfl | C:\Library2.qfl
file1 = "C:\Library1.qfl"
file2 = "C:\Library2.qfl"
Use the following:
files = "C:\Library1.qfl | C:\Library2.qfl"
QTP_00588 - Enable Running WinMenu.Select Steps on Context Menus in Windows with an Invisible Parent
This hotfix enables you to run WinMenu.Select steps on context menus located in windows that have an invisible parent.
Prior to this hotfix, the above scenario sometimes failed with an "Object not visible" error.
QTP_00589 - Ensure DataTable.ImportSheet Returns Correct Error Code
Prior to this hotfix, when running a step such as: DataTable.ImportSheet("filename1")
and the file "filename1" did not exist, no error was returned.
This hotfix ensures that an appropriate error is returned.
QTP_00594 - Prevent Loss of Environment Variables that were Loaded in an Automation Script
This hotfix addresses the problem that occurs in the following scenario:
- Run an automation script that launches QuickTest and loads a QuickTest environment variable XML file using the LoadFromFile method (qtApp.Test.Environment.LoadFromFile).
- Begin working on the test in QuickTest
- Open the File > Settings > Environment pane, with or without making modifications to the variables in the dialog box, and exit the dialog box (click OK or Cancel).
When you exit the dialog box, the variables that were loaded from the XML file via the automation script (in step 1 above) are unloaded.
To address this problem, this hotfix adds a new, optional KeepLoaded argument to the LoadFromFile automation method.
For backward compatibility reasons, the default value of this argument is False. To ensure that parameters from the XML file remain loaded even after accessing them in the QuickTest Settings dialog box, set the argument value to True.
'Load environment variables from a file
qtApp.Test.Environment.LoadFromFile "C:\MyEnvVars\MyVars.xml", True
QTP_00596 - Prevent Unexpected Icons from Appearing in Expert View of Large Tests with Breakpoints
This patch fixes a problem that occurred when you added a breakpoint after (approximately) line 1400 in the Expert View while editing or running a test. When you added the breakpoint, additional random icons appeared in the left margin.
QTP_00599 - Improve Performance of Running Function Library Functions
This patch addresses an issue in which functions from function libraries run slowly, especially when they contain loops with many iterations.
After installing this patch, function library functions will always run in Fast run mode, even if the rest of the test runs in Normal run mode (as was the case in QuickTest 9.5 and earlier).
As a result, the Jump to Step option in the Test Results window (which is supported only for Normal run mode) will not be available for steps performed inside function libraries.
You can re-enable the Jump to Step option for function libraries using the EnableQTPRunModeInFLs registry value shown below. Setting this value disables the function library performance improvement for tests run in Normal run mode. The function library performance improvement for tests run in Fast run mode will persist even after setting the registry value.
Key: HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest Professional\MicTest
Value name: "EnableQTPRunModeInFLs"
Data: 00000001 (DWORD)
QTP_00600 - Performance and Stability Fixes for the QuickTest Debug Viewer
This patch fixes several problems in which QuickTest:
These problems were encountered when PDM 9.x (Process Debug Manager) is installed.
However, they may also be relevant for other versions.
If you have PDM 9.x (or later) installed on your QuickTest computer, then after you install this patch,
the following limitations apply:
- If you try to view or work with Action automation objects (Application.Test.Actions.xxx) in the Debug Viewer then the referenced action(s) might become temporarily corrupted (only for the current QuickTest session).
In this scenario, you can successfully work with the test while it is open, but if you close and reopen the test during the same QuickTest session (with or without saving changes), the actions that were referenced cannot load successfully.
Workaround: restart QuickTest and open your test. The test opens successfully and no data is lost.
- When you use debug commands (e.g. "Step Over", "Step Into"), the evaluation of expressions in the Watch or Variables tabs of the Debug Viewer might exceed internal evaluation limits.
In this case, the following message is displayed in the Debug Viewer: "Unable to evaluate the expression. The debugger evaluation timeout was exceeded."
Workaround A: Try to remove some expressions from the Watch list or simplify complex expressions and proceed with debugging.
Workaround B: Try to increase the evaluation timeout by adding the 'DbgEvalTime' registry key value. For example:
[HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest Professional\MicTest\MicDebugView]
The example above sets the evaluation timeout to 15 seconds.
The DbgEvalTime registry setting supports values of 7 to 63 seconds. - The new timeout takes effect only after you restart QuickTest.
Workaround C: Try to use the Command tab of the Debug Viewer to obtain the required debug information.
QTP_00602 - Support the Quality Center Resources Folder for the Application.Folder.Add Automation Method
This hotfix enables you to specify the Quality Center Resources folder ([QualityCenter\Resources] ) when using the Application.Folder.Add automation method. For example:
qtApp.qtApp.Folders.Add("[QualityCenter\Resources] Resources\BPT Resources\Libraries"
QTP_00603 - Do Not Filter Invisible Windows
This patch fixes a backward compatibility issue that occurred when running certain tests in QuickTest 10.00 that were created on earlier versions of QuickTest.
In version 10.00, QuickTest filtered out (did not identify) window controls that were not visible in the application you are testing, which improved run-time performance.
However, earlier versions of QuickTest learned these windows, and thus running such a step that was created in an earlier version, failed in QuickTest 10.00.
This patch disables the filtering on these invisible windows, so that the relevant steps can pass.
If you want to re-enable the filtering (for performance reasons), set the `SkipWndMovedOut' registry key value as follows:
[HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest Professional\MicTest\Packages\StdPackage\Settings]
QTP_00604 - Prevent QuickTest Crash Due to Corruption of Internal Configuration File
This patch fixes (and prevents) a corruption in an internal configuration file that would cause QuickTest to crash unexpectedly.
QTP_00606 - Support Relative Paths for the ObjectRepositories.Find Automation Method
This hotfix fixes a problem in which ObjectRepositories.Find statements in an automation script did not find object repositories that were specified using a relative path. (It returned -1 indicating that the repository was not found in the collection.)
After installing this hotfix, the ObjectRepositories.Find method returns the index position of the specified object repository file, even when it is specified with a relative path.
QTP_00607 - Improve Performance of Browsing Network Folders using QuickTest Dialog Boxes
This patch improves the performance of browsing file system folders using QuickTest dialog boxes, especially for network folders.
QTP_00608 - Save the Correct Version of Resources When Using the 'Save Test With Resources' Feature
This patch fixes a problem in which the Save Test with Resources option saved the latest version of the resources for a QuickTest test instead of downloading the relevant baseline version of the resources corresponding to the currently open test in QuickTest.
QTP_00610 - Prevent Incorrect Deletion of Folder Paths when Running an Application.Folder.Add Automation Method
Prior to this hotfix, if the Folders pane in the Options dialog box contained one or more paths, and then you ran an automation script containing an Application.Folders.Add statement where the Add method was the first method performed on the Folders collection in that script, then the existing paths from the Options dialog box were deleted before the new path was added.
After installing this hotfix, the Add method adds the new path to the specified location in the Folders collection as expected, without removing existing paths.
QTP_00611 - Prevent QuickTest Crash/Freeze After Rapidly Performed User Operations
This hotfix solves a problem in which QuickTest sometimes crashed or stopped responding after several operations were performed in quick succession during a QuickTest session.
QTP_00613 - Ensure that Steps can Run on Returned Child Objects after an Exist Step Runs on that Object
Prior to this patch, when you ran an Exist step on an object returned from a ChildObjects statement, such as:
set objects = Window("Calculator").ChildObjects
obj_exists = objects(0).Exist
Then steps performed on that child object after the Exist step, such as:
obj_x = objects(0).GetROProperty("x")
resulted in a General Run Error.
This patch changes the behavior of the Exist method when run on objects returned by the ChildObjects method, such that steps performed after the Exist step can run successfully on child objects.
The return value of the Exist step on a returned child object will always return True.
If you want to explicitly check whether an object returned by a ChildObjects step exists in the application, use the GetROProperty method instead.
For example, to check the existence of a standard Windows object, you can use obj.GetROProperty("hwnd"). If the GetROProperty step returns a numeric value and not an empty string, the object exists.
This patch applies only to test objects from the following add-in environments: standard Windows, ActiveX, Visual Basic, Java and .NET Windows Forms. The problem described above does not apply for Web-based add-ins.
QTP_00616 - Languages supplement for text recognition
This hotfix fixes a problem of the ABBYY (third-party) Optical Character Recognition (OCR) mechanism.
Prior to this patch, an error occurred when you created text checkpoints, text area checkpoints, text output values, text area output values for the following languages: Bulgarian, Czech, Estonian, Greek, Hungarian, Latvian, Lithuanian, Polish, Turkish, Croatian.
The hotfix fixes the problem by installing the missing dictionary files in the QuickTest Professional\bin\FREngine folder.
QTP_00617 - Prevent QuickTest from Crashing When an ExecuteFile Statement calls Function Library with Syntax or Logical Errors
This hotfix prevents QuickTest from crashing when running an ExecuteFile statement that loads a function library, and the loaded function library include syntax or logical errors.
QTP_00621 - Enable Relative Paths for Function Calls in Recovery Operations
This hotfix enables entering a relative path for a function call in a Recovery Scenario operation. This hotfix is relevant only for function libraries stored in a local folder, not in a Quality Center resource folder.
QTP_00625 - Increase Value Length Limitation When Storing Function Libraries in QuickTest
This hotfix fixes a problem in which after associating a large function library list with a QuickTest test and setting the function library list as default, the next time that QuickTest opened, the Settings object could retrieve the function library list, and QuickTest behaved unexpectedly.
QTP_00629 - Ensure that QuickTest Tests Run from Quality Center Do Not Fail When a Single Step Takes a Long Time
This hotfix addresses a problem that occurred when running a QuickTest test from Quality Center and a single step took a long time (such as generating a report in the tested application).
In these cases, even though QuickTest continued to run the test, the Quality Center run sometimes failed and reported a catastrophic failure error.
To apply this fix, you must make the following change after you install the patch:
QTPJV_00008 - Java Add-in Memory Leak and Support Next-Generation Browser Plug-in for Windows XP
- Fixes a memory leak that occurred when running steps on Java objects
- Adds support for the next-generation Java Plug-in (supported only for Windows XP with Java 6, update 12 or later)
Note: By default, QTPJV_logical_location.reg is registered only for the user installing the release update. If QuickTest is installed for more than one user in the system, the other user(s) must merge QTPJV_logical_location.reg into the registry (from <QTP installation>\dat\QTPJV_logical_location.reg).
This hotfix also includes QTPJV_00005 - Fixes for Testing SWT Objects.
.NET Patches and Hotfixes
The following patches and hotfixes apply to the QuickTest .NET Add-in:
QTPNET_00014 - Prevent Internet Explorer Crash On GridView with Text-Only Cells
This hotfix fixes a problem that caused Internet Explorer to crash when running steps on .NET Web Forms Grid View cells that contain only text.
QTPNET_00024 - Prevent Application or QuickTest Crash when .NET Add-in Extensibility is Used
This hotfix fixes the following issues related to .NET Add-in Extensibility:
- When closing QuickTest after running a test containing steps on controls that are supported using .NET Add-in Extensibility, the application being tested may crash. This hotfix prevents this crash.
- When a custom replay server has a method with optional parameters and a test calls that method with a truncated parameter list, QuickTest may crash after reopening this test a few times.
- Makes .NET Add-in Windows Forms test object methods (including methods provided by .NET Add-in Extensibility) case-insensitive.
QTPORACLE_00005 - Enable Neutralizing Menu Listeners To Improve Performance Opening E-Business Suite Forms
This hotfix addresses a problem that is caused when an Oracle form has a large number of menu items and takes a long time to open while QuickTest is open.
The hotfix enables you to neutralize QuickTest menu listeners (except when recording) to improve performance.
To enable this option, add a new DWORD value called DontConnectMenus to the registry key: HKEY_LOCAL_MACHINE\Software\Mercury Interactive\QuickTest Professional\MicTest\Packages\OraclePackage\Settings. The default data for the DontConnectMenus value should be 0. To neutralize the menu listeners as described above, change the data to 1.
Note: This registry key should be used only in the case described above.
PowerBuilder Patches and Hotfixes
The following patches and hotfixes apply to the QuickTest PowerBuilder Add-in:
QTPPB_00006 - QuickTest Testing Support for PowerBuilder 11.5
This patch enables you to create and run steps on applications created with PowerBuilder 11.5.
QTPPB_00007 - Enable PBDataWindow.GetCellData While Object is Disabled
This hotfix provides the ability to retrieve data from a PbDataWindow object (using PBDataWindow.GetCellData), even while the object is disabled.
QTPPB_00008 - Increase String Length Maximum in DataWindow.GetCelldata() Method
This hotfix increases the length of the string that can be retrieved from a DataWindow.GetCellData() step.
The previous maximum was 1,024 bytes. The new maximum is 32K bytes.
QTPPB_00009 - Remove Obsolete DataWindow.ButtonClick Method
This hotfix removes recording support for the obsolete DataWindow.ButtonClick().
QTPSBL_00002 - Improve Performance on Siebel Apps
This patch fixes a performance degradation that was identified when running steps on Siebel applications using QuickTest 10.00 (compared to QuickTest 9.5).
Terminal Emulator Hotfix
QTPTE_00008 - Ensure TeTextScreen.GetText Method Captures All Text For Emulators in Text Mode
Prior to this hotfix, when you ran a TeTextScreen.GetText step for a terminal emulator in text mode, and the screen (or specified area) contained at least one empty line, QuickTest retrieved only the text prior to the empty line.
This hotfix ensures that all text in the specified area is retrieved.
Visual Basic Hotfix
QTPVB_00002 - Prevent QuickTest from Crashing when Working with Windows Containing Many VbLabel Objects
This hotfix solves a problem in which QuickTest sometimes stopped responding or closed unexpectedly while recording, using the Object Spy, or learning test objects on a Window that has many (more than 26) VbLabel objects.
Web Patches and Hotfixes
The following patches and hotfixes apply to the QuickTest Web Add-in:
QTPWEB_00020 - Performance Improvement for Running Initial Steps on Modal Dialog Boxes
This hotfix improves the performance of the first step that QuickTest performs on a Web browser modal dialog box during a run session.
QTPWEB_00026 - Resolve Conflict between QuickTest and McAfee Host Intrusion Prevention
This hotfix fixes a problem in which Internet Explorer 6 fails to open if McAfee Host Intrusion Prevention is active and QuickTest is open with the ActiveX and/or Siebel Add-in loaded.
QTPWEB_00028 - Cumulative Hotfix For Web Extensibility Performance
This hotfix provides the following performance-related fixes and enhancements for working with custom controls supported by Web Add-in extensibility:
- Significantly improves the QuickTest run session performance working with large sets of custom controls that are supported using Web Add-in Extensibility.
- Enables you to improve the performance of running steps on custom controls supported by Web Add-in extensibility.
This is done by limiting the identification process of custom controls to HTML elements with HTML tags you specify.
In your toolkit configuration files, under the Control\Identification elements, add a list of HTML tags in the following format:
<Tag name=" "/>
This instructs QuickTest to continue the identification process according to the definitions in the Identification element, only for HTML elements with the HTML tags you listed. Adding this list of HTML tags is optional. However, if you add a list of HTML tags, make sure to include all HTML tags that can be relevant for your custom control.
QTPWEB_00030 - Solve Problem with Active Screen Capture for Some Web Pages
This hotfix fixes a problem in which certain Web pages (or frames in the Web page) were blank in the Active Screen.
Note: After installing this hotfix, these problematic Web pages will be captured based on their original HTML source (before changes were made by scripts or CSS). Therefore, although the Active Screen will no longer be blank, it may look different than the Web page in the application.
QTPWEB_00031 - Prevent Internet Explorer from Crashing When Secondary Browser Windows Close
This hotfix fixes a problem in which Internet Explorer sometimes crashed when browser windows opened by Internet Explorer were closed while QuickTest was interacting with the application (recording, running, spying, etc.).
QTPWEB_00037 - Support for Internet Explorer 8
This patch provides official support for testing Web applications in Internet Explorer 8.
It includes support for working with Internet Explorer 8 on all operating systems that QuickTest Professional supports.
(For the complete list, see the QuickTest Professional 10.00 Readme.)
It also resolves the following problems:
- If both Mozilla Firefox and Internet Explorer 8 are installed on a computer and the Web tab of the QuickTest Record and Run Settings dialog box was set to open a specific URL in Mozilla Firefox, then when the record or run session began, the Firefox browser was opened with its default home page instead of the URL specified in the Record and Run Settings dialog box.
- Running a WebList.Select step using mouse replay type for Internet Explorer 8 and all Mozilla Firefox versions failed.
- Running a WebFile.Set step on Internet Explorer 8 or Mozilla Firefox 3 failed without notification and the "Choose File" dialog sometimes remained open.
- When Recording on a WebFile object in Internet Explorer 8, the WebFile object was not recognized and multiple lines were recorded. For example:
Browser("B").Dialog("Choose a File to Upload").Edit("E").Set "file path"
Browser("B").Dialog("Choose a File to Upload").Button("OK")
(Instead of the expected: Browser("B").Page("P").WebFile("WF").Set "file path")
Note: This is fixed only for the English version of Internet Explorer 8.
Registry Settings and Other Manual Changes
After installing this release update, you may also need to add or modify a registry setting or make other manual fixes to enable or modify the functionality provided in the following patches and hotfixes:
The following files will be added or modified in the following folders under the QuickTest Professional installation folder:
acx_trap.dll 10.0.1088.0 AcxCmnObjs.dll 10.0.2428.0 AcxPackage.dll 10.0.2428.0 AQTRmtAgent.exe 10.0.1370.0 AsmHook.dll 10.0.569.0 C1NetSrv.dll 10.0.268.0 CompStrgHelper.dll 10.0.4799.0 CustomBridge.dll 10.0.401.0 ExportTestWithResourcesU.dll 10.0.4799.0 InfraGist.dll 10.0.268.0 JavaPackage.dll 10.0.2065.0 LLPackage.dll 10.0.2587.0 MicAction.dll 10.0.4799.0 MicDebugWatch.ocx 10.0.805.0 MicFlow.dll 10.0.4799.0 MicParam.dll 10.0.4799.0 MicScript.dll 10.0.2391 MngLoaderU.dll 10.0.268.0 NetIfsU.dll 10.0.268.0 ParamObjects.dll 10.0.1046.0 ParamObjectsLib.dll 10.0.1046.0 pb_apiU.dll 10.0.92.0 PbPackage.dll 10.0.120.0 QTApplicationObj.dll 10.0.4799.0 QTExecutionEngine.dll 10.0.4799.0 QTFileDialogs.dll 10.0.882.0 QTOTAWrapper.dll 10.0.1368.0 QTPDiffTool.dll 10.0.131.0 QTPro.exe 10.0.4864.0 RecoveryUI.dll 10.0.893.0 ReplayRecovery.dll 10.0.891.0 StdPackage.dll 10.0.2587.0 SwfCustomCtl.dll 10.0.268.0 SwfPackage.dll 10.0.268.0 TestStorageHelperLib.dll 10.0.4799.0 ToDoPaneLib.dll 10.0.4864.0 ToDoTask.dll 10.0.4799.0 ToolkitInterfaces.dll 10.0.143.0 ToolkitManager.dll 10.0.143.0 TrpTxt32W.dll 10.0.694.0 TulipOptions.dll 10.0.2103.0 VbPackage.dll 10.0.1018.0 vsapi.dll 188.8.131.52 WebExtKitIE.dll 10.0.241.0 WebFormsKitIE.dll 10.0.371.0 WIAgentIE.dll 10.0.3372.0 WIPackage.dll 10.0.3372.0 WWWPackage.dll 10.03311.0 XtraGridSrv.dll 10.0.268.0
Czech.amd Czech.amm Czech.amt Eston.amd Eston.amm Eston.amt Greek.amd Greek.amm Greek.amt Bulgar.amd Bulgar.amm Bulgar.amt Croatian.amd Croatian.amm Croatian.amt Lithuan.amm Lithuan.amt Lithuan.amd Polish.amd Polish.amm Polish.amt Turkish.amd Turkish.amm Turkish.amt Hungar.amd Hungar.amm Hungar.amt Latvian.amd Latvian.amm Latvian.amt
|© Copyright 2009 Hewlett-Packard Development Company, L.P.|