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 answersDotnetFactory Object in UFT
DotNetFactory object is another important utility object that can be used to use .Net API library. VBScript can be used to perform most of the operations. But .Net API is convenient and more powerful. Some of the useful code snippets of DotNetFactory object are given below. In below example, we have used below classes from .Net library.- System.IO.File
- System.Environment
- System.DateTime
- System.Collections.ArrayList
Set file=Dotnetfactory.CreateInstance("System.IO.File")
file.writealltext "myfile.txt","This will be put in file"
Set env = Dotnetfactory.CreateInstance("System.Environment")
msgbox env.MachineName
msgbox env.OSVersion
Set dateTimeObject = Dotnetfactory.CreateInstance("System.DateTime")
Set myDate = dateTimeObject.Parse("09 Jan 1986")
msgbox myDate.Day & "/" & myDate.Month & "/" & myDate.Year
Set arrayList = DotnetFactory.CreateInstance("System.Collections.ArrayList")
arrayList.Add("Brisbane")
arrayList.Add("Mumbai ")
arrayList.Sort
msgbox arrayList.Count
msgbox arrayList.Item(1)
Web development and Automation testing
solutions delivered!!