Sometimes we will face a strange problem while installing QTP 9.5 / 10, Microsoft script debugger will fail during installation. In this case we are not able debug either actions or function libraries.
How to fix this issue.
1. You can run the Additional Installation Requirements utility at any time by choosing Start > Programs > QuickTest Professional > Tools > Additional Installation Requirements.
2. Install the same i.e. "scd10en.exe" from any internet site or http://www.microsoft.com/downloads/details.aspx?FamilyID=2f465be0-94fd-4569-b3c4-dffdf19ccd99&DisplayLang=en
Latest update on QTP / UFT. Knowledge is Guaranteed.
Wednesday, August 19, 2009
Wednesday, August 5, 2009
How to work with Silverlight based applications
HP QTP 10 directly does not support Silverlight based applications. If we try to automate QTP will record like the following:
We have to download patch, QTPNET_00018 is available for download from HP SSO: http://support.openview.hp.com/selfsolve/document/KM742931?searchIdentifier=16a3ba4f%3a1220cafa517%3a-20fd&resultType=document&documentURL=KM742931&resultsURL=%2fselfsolve%2fpatches&allowReturn=true
Now we will see QTP Add-in Manager as follows:
Now with Silverlight Add-in the recorded one looks as follows:
Wednesday, February 25, 2009
What is Local System Monitoring in HP QTP 10.00?
This new feature enables you to monitor the local (client-side) computer resources used by the application instance while we are testing during a run session.
We can monitor a number of different system counters i.e. Memory Usage (in MB), GDI Objects, Handle Count etc., 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.
We could invoke this feature from File > Settings > Local System MonitorMonday, February 23, 2009
Enhanced ReportEvent Method in HP QTP 10.00
ReporterEvent is extended so that we can specify an image file as the fourth argument. (which was not useful in earlier versions)
Syntax
Reporter.ReportEvent EventStatus, ReportStepName, Details [, ImageFilePath]
ImageFilePath
Path and filename of the image to be displayed in the Results Details tab of the Test Results window. Images in the following formats can be displayed: BMP, PNG, JPEG, and GIF.
Example:
Reporter.ReportEvent micDone, "Sample Logo", "This is a sample logo", "Logo.bmp"
Product Enhancements in HP QTP 10.00
Improved IntelliSense Functionality
QuickTest now provides full IntelliSense for the following types of objects:
* Objects created by a step or function (for example, by calling the CreateObject method)
* Variables to which an object is assigned
* Reserved objects
* COM objects
* Properties that return objects
QuickTest now provides full IntelliSense for the following types of objects:
* Objects created by a step or function (for example, by calling the CreateObject method)
* Variables to which an object is assigned
* Reserved objects
* COM objects
* Properties that return objects
Subscribe to:
Posts (Atom)