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 Major difference between QTP ; LoadRunner? If u want to test an 1. erp module which automation tool you would prefer and why? and 2. for web application, which tool and why?
What is the default add-ins in qtp?
How to find duplicates in an array and remove them efficiently?
How would you parameterize the text field "Country" and the same "country" when it appears as combo field on other page with text field city and same with City combo field?
Explain the concept of Output values in Quick Test Professional?
How QTP recognize the object??how to add objcts into object repository??
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
What is object state in trigger events,in recovery scenario.write a script to handle this.
What are the various types of Actions in UFT?
Explain the concept of how QTP identifies object.
What is qtpro? What is quick test pro? What is a quick test professional?
What is the extension of script and object repositary files?