How to insert a check point to a image to check enable property in QTP?



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

Post New Answer

More QTP Interview Questions

Hi,How to write regular expression for inbox(10) {here 10 is changing while playback}.tell me the pettern.

6 Answers  


Hi All, I need Code For how to export Pass\Fail status to excell sheet without using QC. Thanks Balaji

3 Answers  


What are they Advantages and Disadvantages in QTP 9.2?

1 Answers   Infotech,


In Test Director , You can store Test cases or vb Script . Why we need VSS?

2 Answers  


how u conduct GUI testing and PERFORMANCE testing on MS- WORD? and What r the GUI Test Cases and performance Test Cases?

3 Answers   Accenture, Civil Service, ICICI, Jintek, Satyam, Singularity, Syntel, TCS, Wipro,


hi friends can anyone tell me where can i find descriptive programming material please send me the link also,from which i can download the material

1 Answers  


In my script there is a link(e.g. 'My Page') when I execute the script sometimes(not every time) QTP throws an error that "My Page(as link)" not found. Pleaase tell me where I need to update

3 Answers  


How we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec..

3 Answers   IBM,


How to check bitmap output value?

1 Answers  


HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people

3 Answers   GE,


Does QTP record on Objects created on XWindows Environment?

1 Answers   Infotech,


What is keyword view?

1 Answers  


Categories