QTP Testing - Features and options
QTP allows you to determine when to save images to the database test results. Choose Tools > Options and select the Run tab. In the Save step screen capture to test results option, select Always then click the OK button to close the Options dialog box. Then automatically all the images will save in the test results.
It is widely recommended for every individual to consider using the right process because it play a vital role to bring up the accurate result. Most of the people prefer using QTP testing process because it comes with a whole lot of features without compromising on the quality. The below offered process offers a whole lot of advantages for people to complete the task in a quick span of time.
How to Save recorded or written script using QTP?
Select File > and click the Save or another way is to click the Save button on tool toolbar then Save dialog box opens to the Tests folder.Now create a folder to save the script then type your test name in the File name field and click Save. After successfully script saved test name should display in the title bar of the main QuickTest window.
How many types of Object Repositories in QTP?
QTP have two types of Object Repositories
1. Shared Object Repository
2. Action Object Repository
The object repository per-action mode is the default setting. and during the test script creation we can choose eassly which object repository is the default one. If we modify values in an action object repository, the changes do not have any effect on other actions.But , if the same test object exists in more than one action and we modify an object’s property values in one action then we may need to make the same change in every action containing the object.
How to insert an Image Checkpoint to check enable property in QTP?
All images are as push button than we can check the property enabled or disabled. After verifying not able to find the image property then have to go object repository for specific image object and click on add/Remove button to add the available properties to the image object.
And if we take it as image then we have to check visible or invisible property that will help to know enable or disable properties for the image object.
The Image Checkpoint does not have any property to verify the enable/disable property.Here one thing we have to check that is first find out from the Developer if developer is showing different images for activating/deactivating for example grayed out image.
That is the only way a developer can show deactivate/activate if developer is using an “image” else developer might be using a button having a heads up with an image.If it is a button used to display with the heads up as an image have to use the object Properties as a checkpoint.