UFT
Introduction 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 UFTLoading ini files in UFT
We can store the test variables in ini file as shown in below example.
[Environment]
URL=https://www.softpost.org
Id=LeanFT
browser=chrome
[Environment]
To load the ini file in UFT script, we can use below line of code.
Environment.LoadFromFile “myvariables.ini”
‘Below line will print value as chrome
Print Environment.Value(“browser”)
Complex problems, Simple Solutions