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
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 |
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 |
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 |
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 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 |
Answer / raheman
How to do DataBase Testing? Please mention with help of
Example
| Is This Answer Correct ? | 0 Yes | 0 No |
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
In qtp, how you can exit for loop?
What is CMMP and CMMH?
what is reusable action and how the same can be implemented (process)?
How is a Step generator used in UFT?
How will you check a web application for broken links using qtp?
What are the details steps to connect a remote mysql database in QTP
What are the advantages of QTP over WinRunner?
pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?
How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
How do you perform testing on web based application using qtp 9.2?