How to use custom checkpoints in QuickTest Professional?

Answer Posted / anupam mishra

Custom check points ara user specifice Check points,if we
want to check particular object/or its any property then we
make custome check points

Example
Function VerifyObjectExists(AppObject )
If AppObject.Exist Then
'Print "Object Exist"
VerifyObjectExists= "True"
Else
;Print "Object does not exist"
VerifyObjectExists="False"
End If
End Function
set Obj=dialog("Login").WinButton("OK")
VerifyObjectExists(Obj)

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1465


What is the use of running the scripts in Hidden-mode in UFT?

692


what are the challenges you have faced while testing web based application using the automation tools ?

602


If I change the object name in one action will it be updated in all the actions? Or not?

606


What are the different types of recovery operation?

557






how will you check how many members visited the website www.infosys.com?

1490


what are the limitations of smart identification in qtp 9.0

1934


How many add-ins comes by default with qtp?

551


Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.

1382


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

1512


Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........

1449


UFT 12.02 which ALM version will support

987


hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com

3707


How to run a test using quicktest professional?

538


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1501