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 answersLaunching the applications in UFT
We can launch the application in UFT using 3 ways.- By using SystemUtil
- By using InvokeApplication
- By using wscript.shell object
- First argument is the path to application binary.
- Second argument is passed as argument to application itself.
- Third argument can be used to specify the path of the binary.
- Fifth argument can be used to specify the application window state.
SystemUtil.Run “iexplore.exe”, “www.softpost.org”
SystemUtil.Run “abc.txt”
SystemUtil.Run “iexplore.exe”, “”, “PathToIE”
open in maximize mode
SystemUtil.Run “notepad.exe”, “f1.txt”, “”, “”, 1
‘opens the window in minimized mode
SystemUtil.Run “notepad.exe”, “f2.txt”, “”, “”, 2
InvokeApplication – as the name indicates, it is used to launch the application It is as good as calling SystemUtil.Run
InvokeApplication “chrome.exe www.softpost.org”
Set o = createobject(“wscript.shell”)
o.Run “chrome.exe www.softpost.org”
o.Run “firefox.exe www.softpost.org”
Set o = nothing
Web development and Automation testing
solutions delivered!!