You can use Microsoft Excel formulas in your Data Table of QTP. This enables you to create contextually relevant data during the test run session in QTP. You can also use formulas as part of a checkpoint to check that objects created on-the-fly (dynamically generated) or other variable objects in your Web page or application have the values you expect for a given context.
When you use formulas in a Data Table to compare values (generally in a checkpoint), the values you compare must be of …
Here are some important points to take care while using Siebel Add-in with QTP:
QTP supports testing on both standard-interactivity and high interactivity Siebel applications.
Standard-interactivity applications download data as it becomes necessary. This interface is designed for users accessing the application from outside the corporate network.
High-interactivity applications download the majority of the required data at one time, requiring fewer navigations. This interface is designed for heavy use, for example, by call centers.
QTP learns objects in Siebel 7.7.x and later applications in a different way than …
Object property can be used to retrieve internal properties and activate internal methods of any .NET Windows Forms object in your application.
For example, you can set the focus to a particular button and change its caption using statements similar to the following:
Set theButton = SwfWindow(“frmWin”).SwfButton(“OK”).Object
theButton.SetFocus
theButton.Caption = “Yes”
The Object property is also useful for verifying the value of properties that are not available using a standard checkpoint.
When you use the Object property to retrieve arrays of structures, the Object property returns the …
When QTP is connected to a Quality Center project, you can create new tests in QTP and save them directly to your project. To save a test, you give it a descriptive name and associate it with the relevant subject in the test plan tree. This helps you to keep track of the tests created for each subject and to quickly view the progress of test planning and creation.
To save a test to a Quality Center 10 project, you may need to follow the below mentioned steps:
Connect …
Components fail when QTP encounters a step it cannot perform or the results of a step indicate failure. In many cases this is due to the application being tested not functioning properly. QTP then provides you with test results that assist you in understanding how to fix your application.
Sometimes a component fails because the application being tested has changed from when the component was created and the QTP component needs to be updated to reflect those changes. Your object repository may also be missing some of the objects it needs …