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?

Answers were Sorted based on User's Feedback



I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

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

I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

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

I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

Answer / venkat

Hi,

QTP has given a facility to store the check point results
in to a variable. i.e you can store checkpoint result into
a variable and use if condition inside the loop the write
the reporter event.

Is This Answer Correct ?    0 Yes 0 No

I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

Answer / bochha

what a question boccha bocha?.u better to go development.no
body has full knowledge on qtp any other tool.asking the
questins on qtp is foolishnes.no body help in testing as
compare to developement.

Is This Answer Correct ?    0 Yes 0 No

I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

Answer / vasukalyan

i faced same question.but nobody gave me reply.entering to
testing waste as compare to development.no body has
knowledge on tools.who r working on qtp are Idiots in
idia.they have never patient to give the reply.wste fellows
qtp testers.

Is This Answer Correct ?    0 Yes 0 No

I am executing a batchfile.In one script on one Button i have inserted a checkpoint.It is in a loo..

Answer / raheman

How to do DataBase Testing? Please mention with help of
Example

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Whether it is possible to test the adobe's controls like zoom, resize, save etc using QTP...If yes, how u can do the same?

1 Answers  


I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..

3 Answers  


Hi friends, In a particular test how many maximum call to new actions we can call?It reusable or normal actions what ever it is .

1 Answers   AppLabs,


It seems Interview questions from Ordain Solutions are almost BASIC LEVEL-Easy. I am asking one tough question..(I think.. May be easy for some people) In recorded script the - WebLink("cityinfo") In reality, the WebLink name is "generalinfo" How you can write function to click that changed web link. NOTE: This functin should work with any Dynamic text link. I will post the answer later.

8 Answers  


When do go for loop condition in test?

0 Answers  






How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


1.what is test automation life cycle?

1 Answers   IBM,


Is it a smart choice to use QTP for backend testing?

1 Answers   CTS,


Hello Friends, I am working with QTP 9.2 descriptive programming. Can you please let me know how to work with below. Browser is IE, for my site, it opens another page with different browser name, For example Parent Page is google.com and child page is inteview questions. How to work with this second page.

3 Answers  


How to remove associated function library?

0 Answers  


in login module login button chage regularly(means login button change to submit button).What is the code for it.

3 Answers  


HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.

2 Answers  


Categories