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 / 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 |
Post New Answer View All Answers
How to attach a file to TD?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
How can you write the scripts that operate on different objects depending on run-time information?
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
Describe function procedure in vbscript.
How to define array in qtp?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
How many types of status are there?
How to add synchronisation points in qtp?
can test automation improve test effectiveness?
What is difference between run time object and test object?
What is system testing and what are the different types of tests you perform in system testing?
What is the file extension of the code file and object repository file in QTP?
after initiating one project for testing, when exacltly QTP tester role starts?
What test cases can you automate using QTP?