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 |
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
I want to learn QTP Online, where can I get quality training?
what questions i have to pripare for project manager round interview ? plz give Ans.(Chandana)
what is meant by source control?
HOW MANY WAYS ARE THERE TO CPY TEST IN TEST LAB
Please explain the role of Regular expression in QTP
How to find Operating system information using QTP script?
What kind of errors can b handled in QTP in real time scenario?
Have you done batch testing in qtp? If yes how you are doing?
what are the files created after executing QTP script file, please specify the file names with extensions
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
Tel me what was the automation testing process you followed?