UFT
Introduction 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 fileBuilt in Objects
SystemUtil Datatable CryptDotNetFactory Extern OptionalStep PathFinder MercuryTimer RandomNumber Recovery Reporter RepositoriesCollection TextUtil XmlUtil Err objectAdvanced
Description programmingRecovery ScenariosLaunching the UFT using ScriptAutomation FrameworkMisc
UFT Vs Selenium UFT Vs Appium UFT vs LeanFTLimitations and drawbacks of UFTInterview Questions and answersPathfinder object in UFT
PathFinder is used to find the absolute path of the files associated with the tests. UFT looks for the files in directories configured in Option dialog as shown in below image.Here is the sample script that shows how to use PathFinder object. Note that we are trying to locate the abc.qrs and Repository1.tsr files. UFT will look for these files in the directories specified in above setting. If PathFinder does not find a file, it will return empty string.
absolutePath = PathFinder.Locate("abc.qrs")
msgbox absolutePath
msgbox PathFinder.Locate("Repository1.tsr")
Web development and Automation testing
solutions delivered!!