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
Associating library files in UFTWe can associate library files with UFT test in 2 ways.
- Through test testings dialog
- by using code
If you want to add library file at run time, you can use below line of code.
Set objQTP = CreateObject(“QuickTest.Application”) objQTP.Launch objQTP.Visible = True objQTP.Open “MyTest”, False, False Set objLib = objQTP.Test.Settings.Resources.Libraries If objLib.Find(“libraryfile1.vbs”) = -1 Then objLib.Add “libraryfile1.vbs”, 1 End
LoadFunctionLibrary “xyz.vbs” LoadFunctionLibrary “f1.vbs”, “f2.qfl”, “f3.txt”
Complex problems, Simple Solutions