How to add check point?
Answers were Sorted based on User's Feedback
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 |
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 |
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
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
what is bultin funtaion in QTP &tell me five examples?
What is QTP testing process?
What is your role and responsibilities in QTP with your current organization?
What is smart identification?
what is meant by Implicit and explicit requirements?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
What is the use of Accessibility check point?
Hi All, How to get repeated word in string . Thanks Balaji
what we do after completion of functional and regression testing
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?