How to insert a check point to a image to check enable property in QTP?
Answer Posted / 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 |
Post New Answer View All Answers
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
What is a recovery scenario?
How to customize checkpoints with parameters?
What ate the Technologies supported by QTP?
What is parameter in qtp?
How QTP identify the system time that's changes every seconds?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
What are the types of object repositories? Which one is you using?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
For which type of projects the iterative model is not suitable?
Have you used xml check point in your project?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
What is QTP and the use of QTP in TD?
Give the syntax to import/export xls into qtp.