I'm having a problem to get the status(pass or fail) during
runtime for every iteration ran, and must get the results
stored to an excel sheet if possible.
Answer Posted / kaps
Reporter.ReportEvent is used to report custom test steps in QTP's test results tree
Syntax -Reporter.ReportEventEventStatus, ReportStepName, Details [, ImageFilePath]
Event Status can have values
0 or micPass - a pass status
1 or micFail - a fail status
2 or micDone - a message Done
3 or micWarning - a warning message to the result window
Result can be export to an excel sheet.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the views in the QTP GUI?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
Brief the process of testing with UFT?
How to use transactions in qtp?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
What are the methods used in UFT to handle exceptions or run-time errors?
What is difference between Recording time object identification and Run time (Execution) time.
What is the purpose of loading qtp add-ins?
hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u
Explain the concept of object repository and how QTP recognizes objects?
When to use shared and local object repository?
How to check feasibility of the appliction?in automation testing?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
why you have standardized functions? plzzz guys with real time exp. do answer