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



I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

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

I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

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

I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

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

I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

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 am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

Answer / vasukalyan

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

I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

Answer / raheman

How to do DataBase Testing? Please mention with help of
Example

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

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..

0 Answers  


what is standalone database

1 Answers   Wipro,


how to invoke the web application through script in qtp

8 Answers   Synechron,


w is output value

3 Answers   MBT,


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?

1 Answers  






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?

6 Answers   IBM,


Please can you give where can we get good QTP Training at Hi-Tech city Hyderabad?

10 Answers  


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

4 Answers   Kanbay,


How to Practice QTP Scripts?

1 Answers  


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.

1 Answers  


For which type of project the iterative model is suitable?

0 Answers  


what is mean by soi in object identification

1 Answers  


Categories