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 |
I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can give script for this scenario?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
How will you test a keyboard?
how to export the result to notepad....for example i want to enter the user name and pass word and clicking on login button ......once you click on login button the corresponding page will open ...in that page you having one list box ...here you can get either success or failure ........friends here i want export the message what ever i got either success or failure .....how to export the result to note pad
What is the use of environment variables?
Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?
I have a library function , with that function 100 scripts are being called. The library function is changed(something is added) . how do i update all the scripts.
How you used DDT in QTP?
1. IS A VIRTUAL OBJECT USED WHEN THE LABEL IS NOT RECOGNIZED BY QTP
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
How many types of recording modes in qtp? Describe each type with an example where we use them?