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 do know the number of browsers opened?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
How to use Environment parameterization? Explain with an example.
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
What is object repository in qtp?
In qtp, how you can exit for loop?
Explain different type of event trigger option.
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
Did QTP prove efficient for your project? Yes or No, explain?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
What are the types of environment variables in qtp?
What is regular expression?
what function you write to do database testing with the help of qtp?
how can i call function (which has link with excell sheet at a remote location) within another function