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 difference between QTP 8.2 object repository and QTP 9.2 object repository Any body have an please give Answer Mail id: nagireddy.sn@gmail.com

5 Answers   IBM,


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

0 Answers   Value Labs,


what is bultin funtaion in QTP &tell me five examples?

5 Answers   Kanbay,


What is QTP testing process?

0 Answers  


What is your role and responsibilities in QTP with your current organization?

1 Answers   Oracle,






What is smart identification?

2 Answers   Ordain Solutions,


what is meant by Implicit and explicit requirements?

0 Answers  


• What type of testing questions will be asked for 2+ yrs exp people in interview?

0 Answers  


What is the use of Accessibility check point?

8 Answers   BirlaSoft,


Hi All, How to get repeated word in string . Thanks Balaji

0 Answers  


what we do after completion of functional and regression testing

2 Answers  


Is QTP Object Oriented language or Object Based language? What are the OOPS concepts it will support? Why it wont support all the OOPS concepts?

1 Answers   CTS,


Categories