How to insert a check point to a image to check enable property in QTP?
Answer / ankit srivastav
Method 1:
AS you are saying that the all images are as push button than you can check the property enabled or disabled. If you are not able to find that property than go to object repository for that objecct and click on add remove to add the available properties to that object. Let me know if that works. And if you take it as image than you need to check visible or invisible property tht also might help you are there are no enable or disable properties for the image object.
Method 2:
The Image Checkpoint does not have any property to verify the enable/disable property.
One thing you need to check is:
* Find out form the Developer if he is showing different images for activating/deactiving i.e greyed out image. That is the only way a developer can show deactivate/activate if he is using an "image". Else he might be using a button having a headsup with an image.
* If it is a button used to display with the headsup as an image you woudl need to use the object Properties as a checkpoint.
| Is This Answer Correct ? | 0 Yes | 0 No |
how to explain a claims and insurance project?
Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
What are the views available in qtp?
What is the use of Accessibility check point?
WHAT IS ENVIRONMENT VARIABLES?
7 Answers AZTEC, CTS, Ready Test Go,
How you can write contexts to text file in qtp?
How to save your test using quicktest professional (qtp)?
how to do regression testing in qtp? plz give ans with examples
how do you invoke the application through QTP?
What are the recording modes in qtp?
what function you write to do database testing with the help of qtp?