UFTIntroduction to UFT Installation of UFT UFT GUI Recording the application Directory structure and file extension of UFT test VBScript 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 Launching applications Loading ini fileDifference between QFL and VBS file Automating web applications automating Windows applications Handling Databases Mathematical operations Create new Excel workbook file Read and Edit Excel workbook Delete excel workbook file
Built in ObjectsSystemUtil Datatable CryptDotNetFactory Extern OptionalStep PathFinder MercuryTimer RandomNumber Recovery Reporter RepositoriesCollection TextUtil XmlUtil Err object
AdvancedDescription programmingRecovery ScenariosLaunching the UFT using ScriptAutomation Framework
MiscUFT Vs Selenium UFT Vs Appium UFT vs LeanFTLimitations and drawbacks of UFTInterview Questions and answers
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
Web development and Automation testing