Dear All,
How to generate Pass or Fail Report in QTP without using
Reporter.Report Event Method ?
Thanks
Balaji
Answer / Chhaya Rani
In QTP, you can generate a pass/fail report without using the Reporter.ReportEvent method by implementing custom reporting mechanisms such as writing test results to a text file or an Excel spreadsheet. You can also use third-party tools like TestComplete and Ranorex that offer built-in reporting features.
| Is This Answer Correct ? | 0 Yes | 0 No |
I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next
What is the Difference Between Quick Test Pro and Quick test professional?
Once the Actions are splitted , is there any way to merge them
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
does QTP provides any tools for parametrisation?
how can we retrieve ten rows from the data table using loop concept?
What is the extension of script and object repository files?
What is test automation framework?which framework does QTP follow?Need some practical explanation as to how u will start ur testing process following a particular framework?
Hi Guys, In one of my interviews, I was asked to Write a paragaraph explaining how much scripting I did in QTP? I don't know where to start and what to write. So I need your help in writing that.
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
can u tell me website address of VBscript with examples.