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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is accessibility check point?

655


How many types of status are there?

584


what is stepin & stepout?

1418


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

1684


What is qtp window?

562






Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1515


what you mean by artifact,milestone...

1494


What is the process of synchronizing qtp and aut?

566


Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

1529


Explain more about the Test Fusion Report of QTP?

603


what is the difference between the modular framework and datadriven frame work

1909


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1443


what testplan contents and what test strategy contents,what is the diff b/w them

1645


In qtp, how you can use xpath to identify objects?

610


Explain calling sub procedure.

619