Configure Record and Run Settings for an Oracle Application
Source code
'************************************************************************************************************************
'Description:
'
'This example starts the testing application, opens a new test, and configures it for recording
'and running on an Oracle application with AutoLogin feature active.
'
'Assumption:
'The testing applcation is not open.
'************************************************************************************************************************
Dim qtApp 'As QuickTest.Application ' Declare the Application object variable
Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object
qtApp.SetActiveAddins Array("Oracle") ' Activate the Oracle Add-in
qtApp.Launch ' Start the testing applcation
' Configure the Oracle application version to use with this test
qtApp.Test.Settings.Launchers("Oracle").Active = True
' Specify the URL and configure the browser settings to use with this test
qtApp.Test.Settings.Launchers("Oracle").Address = http://Oracle_application.url
qtApp.Test.Settings.Launchers("Oracle").LogoutOnExit = False
qtApp.Test.Settings.Launchers("Oracle").CloseOnExit = True
'' Configure the Auto-login parameters to use with this test
qtApp.Test.Settings.Launchers("Oracle").AutoLogin = True
qtApp.Test.Settings.Launchers("Oracle").User = "username"
qtApp.Test.Settings.Launchers("Oracle").Password = "mypassword"