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 and running uft tests using vbs in UFT
Below script can be used to launch and run the UFT tests. This is useful when you want to schedule your scripts at specific time of the day.
'Create the UFT application object
Set uftApp = CreateObject("QuickTest.Application")
'Launch UFT
uftApp.Launch
'Maximize and Make UFT visible
uftApp.Visible = True
uftApp.WindowState = "Maximized"
'Open the UFT test
uftApp.Open "C:UsersSagarDocumentsBooksUFTGUITest1", True
'Set run settings for the test
Set uftTest = uftApp.Test
'Continue test even though error occurs
uftTest.Settings.Run.OnError = "NextStep"
'Run the UFT test
uftTest.Run
'Close the test and Quit UFT
uftTest.Close
uftApp.quit
'Release the resources
Set uftTest = Nothing
Set uftApp = Nothing
Web development and Automation testing
solutions delivered!!