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 |
how will you check how many members visited the website www.infosys.com?
can we test an windows application using qtp
what is the difference btn risks & Therads in the Test plan documentation?
How do u do batch testing in WR & is it possible to do in QTP, if so explain?
How to access values from Unix OS and how to write..
Hi, I will provide perticular age,it needs to enter date in text box (MM/DD/YYYY) compare to system date. or already exist data in the text box.
Explain how qtp identifies object?
How to modify the text checkpoint?
Hello Everyone, In QTP we have one option Data Driver wizard that comes in Tools -> Data Driver. so, please tell me abtout the use of Add Value and Parameterize options available in Data Driver wizard. And also the concept of value, constants, Parameterized displayed in the wizard. Please explain by giving the example. Thanks in advance, Gaytri
How to add a page checkpoint to your test?
what is exit and entry criteria of automation testing. any body wants a real time script,please mail to me. contactno;9986435766
Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?