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 |
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
what is standalone database
how to invoke the web application through script in qtp
w is output value
is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?
how can we merge the object repositories?is ther any option in qtp to merge the object repositories if we have two or three object repositories?
Please can you give where can we get good QTP Training at Hi-Tech city Hyderabad?
If we are record a same web page for 2 times.1st time it is showing 6 objects in the Object Repository and for the 2nd time it is showing like 7 Objects in the Object Repository why it is happening
How to Practice QTP Scripts?
Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.
For which type of project the iterative model is suitable?
what is mean by soi in object identification