QTP 11 IDE enhancements are described in this section.
You can now comment and uncomment select blocks of code. This can be done using one of the following ways:
QTP 11 has improved IntelliSense as compared to its previous versions. Now, IntelliSense also works « hen creating tests using Descriptive Programming (which was not the case with QTP 8.x). QTP 11 a^so provides IntelliSense for COM objects created using CreateObject as shown in Figure.
Run to Step, Debug from Step and Run from Step
QTP 11 provides the following 3 features during debugging a test case:
QTP 11 allows you to disable and later enable existing breakpoints. In QTP 8.x you had to clear all Checkpoints to disable them but in 11 after disabling the Checkpoint the CheckPoint are still present but remain inactive until re-enabled.
QTP 11 allows renaming Checkpoints which was not allowed in QTP 8.x. This feature allows teams to easily alter their code once its created without recreating the Checkpoint.A few pointers to note from the Figure and the result after accepting the changes made to the Function Definition Generator:
@Description Copies File to Specified Folder
'@Documentation Copy File - <File> to Folder - <Folder>
Public Function CopyFileTo(ByRef Folder, File)
'TODO: add function body here End Function
Library Support Enhancements
QTP 11 allows editing multiple libraries at the same time. It also allows debugging any library added to the Test Settings Resource tab. However, debugging of libraries loaded using the ExecuteFilestatement is still not supported. To overcome this limitation, QTP 11 provides a new method called LoadFunctionLibrary to load a library at run-time while providing debugging support.
Using Qtp Help
Qtp Environment Variables
Descriptive Programming (dp)
Debugging In Qtp
Working With Apis
Qtp Automation Object Model
Working With Xml
Working With Databases
Working With Microsoft Excel
Working With Microsoft Outlook
Working With Microsoft Word
Working With Microsoft Internet Explorer
Working With Hp Quality Center
Working With .net Classes
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.