UFTIntroduction to UFT Installation of UFT UFT GUI Recording the application Directory structure and file extension of UFT test Basic UFT concepts Object Spy Test Settings Properties Test Run Settings Environment Recovery Associating library files Object Identification mechanism Object repository Object repository Manager Associating repositories with UFT tests Description programming SystemUtil Datatable CryptDotNetFactory Extern OptionalStep PathFinder MercuryTimer RandomNumber Recovery Reporter RepositoriesCollection TextUtil XmlUtil Launching applications Loading ini fileDifference between QFL and VBS file Automating web applications automating Windows applications Err object Recovery Scenarios Handling Databases Mathematical operations Create new Excel workbook file Read and Edit Excel workbook Delete excel workbook file Launching the UFT using Script UFT Vs Selenium UFT Vs Appium UFT vs LeanFT Limitations and drawbacks of UFT
Reporter object in UFTReporter Object is used to log the messages in UFT test result (report). Reporter object has one method – ReportEvent that can be used to log the messages in results. Here is the syntax of this method.
EventStatus can take any of the below values
Reporter.ReportEvent EventStatus, ReportStepName, Details [, ImageFilePath]
- 0 or micPass:
- 1 or micFail:
- 2 or micDone:
- 3 or micWarning:
Reporter object has below Properties. Filter – allows you to filter the messages displayed in report. By default all types of report events are displayed. But you can restrict which events to be displayed using this property. Reporter.Filter can take any of the below values.
Reporter.ReportEvent micFail, "step","Description" Reporter.ReportHtmlEvent micDone, "html step", "<b>This will be printed in bold</b>"
- 0 or rfEnableAll
- 1 or rfEnableErrorsAndWarnings
- 2 or rfEnableErrorsOnly
- 3 or rfDisableAll
Complex problems, Simple Solutions