How to add check point?

Answers were Sorted based on User's Feedback



How to add check point?..

Answer / naren

We can add check points mainly 2 ways they r...
1.Right Click on any icon(step) for which v want to add chk
point in Tree view and select add check point.
2.Simply way is go 4 Active screen,select the object on
which u want to add check point and select add check point.

Is This Answer Correct ?    8 Yes 1 No

How to add check point?..

Answer / imran sheikh

Above posted answer is correct but I believe in going with
self created checkpoint because, che3ckpoint depend upon
previous and after value of particular test (Text
checkpoint). eg. My name is Imran. here, if you want to put
checkpoint on 'name'. So, it depend upon 'My' as Text
before and 'is Imran' as Text after. If next day line
changes to 'My name is Raj', then this checkpoint will fail
because 'Raj' is wrong test as Text after.
I faced this scenario so used self-made checkpoint. I ll
tell you if you find it useful.
1. Add the requied text 'name' in OR as webelement or any
object.
2. It has description property as innertext and html tag.
Remove innertext property and add any unique property by
clicking on + button, may be 'class' or so.
3. write code in expert view:
chkpt = Browser("myBrow").Page("myPage").WebElement
("name").GetROProperty("innertext")
If InStr(1,chkpt,"name")>0 Then
Reporter.ReportEvent micPass,"Check Name","CheckName Pass"
Else
Reporter.ReportEvent micPass,"Check Name","CheckName Fail"
End If

Thanks
Imran

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the disadvantage of smart identification?

3 Answers   Infosys, Sony,


How to run a test using quicktest professional?

0 Answers  


How to Analyze the Checpoint results by Checking Bitmaps?

1 Answers  


How many tabs are available in debug viewer pane?

0 Answers  


How does quicktest professional (qtp) identifies the object in the application?

0 Answers  






www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

0 Answers   TCS,


somebody please say me why we go for using regular expressions,actions.what is the main and exact use of this in real time applications.real time testers pls answer my question with example if u can

4 Answers  


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

0 Answers  


interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervier not happy with this also? can u post any other answer?

3 Answers   Accenture,


How the exception handling can be done using QTP

6 Answers  


Write script to fetch the data from global sheet where row number is 3 and parameter is "text"

3 Answers   Accenture, Thomson Reuters,


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, as i'm not in a possition to afford any 'Fee' to join in any institutions. Hence, if possible, kinldy mail PDF file to my mail-ID: chakri_avala@yahoo.co.in Regards, Chakradhar Yadav.

95 Answers   Cap Gemini, Citrix, CTS, IBM, Logistics, QA InfoTech,


Categories