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

Give the syntax to import/export xls into qtp.

588


Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)

1552


If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?

4697


How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6307


explain abt dyanamic changing object with example?

1903






how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1676


What are the different properties of an web object

1429


Have you used xml check point in your project? How?

550


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

2894


In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?

1493


Explain how qtp identifies objects?

569


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1641


What is Unicode Compatibility?

1454


Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

1514


What is the extension of the qtp local repository?

568