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 connect to a database?
What are the views available in quicktest professional (qtp)?
How to use actions in qtp ?
How you can decide which type of object repository you have to use?
What is the difference between byref and byval in qtp?
give me an example where u used good judgement and logic in solving a problem
What test cases can you automate using QTP?
How to record application running on the Virtual machine?
Can we write winrunner language i.e TSL in QTP tool?
Give the syntax to load function at run time.
What is a programmatic description?
How to run a test using quicktest professional (qtp)?
What is action split and the purpose of using this in qtp?
What is Port testing. Whhen will you perform?
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))