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
Associating library files in UFTWe can associate library files with UFT test in 2 ways.
- Through test settings 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”
Web development and Automation testing