After running scripts how you report results ,there is
any specific report form
Answer Posted / sreeprasad
syntax is
report.reportevent event status,stepname,details
Argument-1 : event status are 4 types
1)micpass or 0
2)micfail or 1
3)micdone or 2
4)micwarning or 3
Argument-2 : The status of object we are going to report
Argument-3 : The details of the object.
reportstepname:
Name of the stepname in the report(object name)
details:
details of the object
Example:
Reporter.Reportevent 0,"custom step","step passed"
or
Reporter.Reportevent micpass,"custom step","step passed"
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is error and fault in terms of software quality?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
How does you pass optional arguments in qtp?
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
What are the different properties of an web object
Explain how Selenium is different from UFT?
Does QTP record on Objects created on XWindows Environment?
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
What is the difference between analog and low level recording?
Can the user toggle between using Local OR and shared OR for the same action?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
What are the ordinal identifiers in web page?
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
How many types of parameters are there?