I am executing a batchfile.In one script on one Button i
have inserted a checkpoint.It is in a loop,my checkpoint is
going to fail sometimes.That failed results only I have to
log in a file.How it's possible...pls give the solution for
this?
Answers were Sorted based on User's Feedback
Answer / sowmya
Well for this use [Reporter.ReportEvent status1/0 to
indicate pass/ fail micfail options:related message]
The above i gave is the syntax
u cd write as:
Reporter.ReportEvent 0 micfail checkpoint fail
If the case fails and you use reporter.reportevent, it would
get reported in the Test Results.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / pramod mallick
Dim currentStatus
currentStatus = Reporter.Filter
Reporter.Filter = rfEnableErrorsOnly
'2 0 - all , 1 - warning & fail, 2 - failed only, 3 -
'disable all (no status)
--- Here goes the checkpoint
Browser(b).Page(p).Check checkpoint chk1
'Restore the current
Reporter.Filter = currentStatus
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / venkat
Hi,
QTP has given a facility to store the check point results
in to a variable. i.e you can store checkpoint result into
a variable and use if condition inside the loop the write
the reporter event.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / bochha
what a question boccha bocha?.u better to go development.no
body has full knowledge on qtp any other tool.asking the
questins on qtp is foolishnes.no body help in testing as
compare to developement.
Is This Answer Correct ? | 0 Yes | 0 No |
i faced same question.but nobody gave me reply.entering to
testing waste as compare to development.no body has
knowledge on tools.who r working on qtp are Idiots in
idia.they have never patient to give the reply.wste fellows
qtp testers.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / raheman
How to do DataBase Testing? Please mention with help of
Example
Is This Answer Correct ? | 0 Yes | 0 No |
can a Function return more than one value..??? if so please give me the code for that.
5 Answers DST Global Solutions,
is it possible to operate(on/off)the capslock using qtp
what are the disadvantages in QTP 9.2?
How can I replace all the text from the QTP script with some other text.
How to Import data from a ".xls" file to Data table during Runtime.
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?
What are the 3 main stages involved in testing with qtp?
Explain advantages and disadvantages of ddf?
If the object property is changing very frequently, what was your approach?
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
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)