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
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
Connect to QC using AOM.
1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins
What is the XML file architecture ?
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
What are the main differences of qtp and win runner?
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
What are the ways you can synchronize?
Where to use function or action?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
What are the general steps involved in the data driven framework?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
What is the difference between the keyword view and expert view?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
How to export quicktest professional (qtp) results to an .xls file?