'Testsettings
'--------------------------------
'===================================================
'' Function Name : Testsettings
'' Created By : Jay
'' Description : Configuring the Test settings
' Parameters :--
'' Created : 08 July 2008
'===================================================
Dim App 'As Application
Set App = CreateObject("QuickTest.Application")
App.Launch
App.Visible = True
App.Test.Settings.Launchers("Web").Active = False
App.Test.Settings.Launchers("Web").Browser = "IE"
App.Test.Settings.Launchers("Web").Address = "http://newtours.mercury.com "
App.Test.Settings.Launchers("Web").CloseOnExit = True
App.Test.Settings.Launchers("Windows Applications").Active = True
App.Test.Settings.Launchers("Windows Applications").Applications.RemoveAll
App.Test.Settings.Launchers("Windows Applications").RecordOnQTDescendants = True
App.Test.Settings.Launchers("Windows Applications").RecordOnExplorerDescendants = False
App.Test.Settings.Launchers("Windows Applications").RecordOnSpecifiedApplications = True
App.Test.Settings.Run.IterationMode = "rngIterations"
App.Test.Settings.Run.StartIteration = 1
App.Test.Settings.Run.EndIteration = 1
App.Test.Settings.Run.ObjectSyncTimeOut = 0000
App.Test.Settings.Run.DisableSmartIdentification = False
App.Test.Settings.Run.OnError = "Dialog"
'App.Test.Settings.Resources.DataTablePath = "C:\Documents and Settings\jayakrishnay\Desktop\Dump\mercury sites.xls"
'App.Test.Settings.Resources.Libraries.RemoveAll
'App.Test.Settings.Resources.Libraries.Add("C:\Documents and Settings\jayakrishnay\Desktop\123.qfl")
App.Test.Settings.Web.BrowserNavigationTimeout = 60000
App.Test.Settings.Web.ActiveScreenAccess.UserName = ""
App.Test.Settings.Web.ActiveScreenAccess.Password = ""
'App.Test.Environment.LoadFromFile("C:\Documents and Settings\jayakrishnay\Desktop\New.xml")
'--------------------------------
'===================================================
'' Function Name : Testsettings
'' Created By : Jay
'' Description : Configuring the Test settings
' Parameters :--
'' Created : 08 July 2008
'===================================================
Dim App 'As Application
Set App = CreateObject("QuickTest.Application")
App.Launch
App.Visible = True
App.Test.Settings.Launchers("Web").Active = False
App.Test.Settings.Launchers("Web").Browser = "IE"
App.Test.Settings.Launchers("Web").Address = "http://newtours.mercury.com "
App.Test.Settings.Launchers("Web").CloseOnExit = True
App.Test.Settings.Launchers("Windows Applications").Active = True
App.Test.Settings.Launchers("Windows Applications").Applications.RemoveAll
App.Test.Settings.Launchers("Windows Applications").RecordOnQTDescendants = True
App.Test.Settings.Launchers("Windows Applications").RecordOnExplorerDescendants = False
App.Test.Settings.Launchers("Windows Applications").RecordOnSpecifiedApplications = True
App.Test.Settings.Run.IterationMode = "rngIterations"
App.Test.Settings.Run.StartIteration = 1
App.Test.Settings.Run.EndIteration = 1
App.Test.Settings.Run.ObjectSyncTimeOut = 0000
App.Test.Settings.Run.DisableSmartIdentification = False
App.Test.Settings.Run.OnError = "Dialog"
'App.Test.Settings.Resources.DataTablePath = "C:\Documents and Settings\jayakrishnay\Desktop\Dump\mercury sites.xls"
'App.Test.Settings.Resources.Libraries.RemoveAll
'App.Test.Settings.Resources.Libraries.Add("C:\Documents and Settings\jayakrishnay\Desktop\123.qfl")
App.Test.Settings.Web.BrowserNavigationTimeout = 60000
App.Test.Settings.Web.ActiveScreenAccess.UserName = ""
App.Test.Settings.Web.ActiveScreenAccess.Password = ""
'App.Test.Environment.LoadFromFile("C:\Documents and Settings\jayakrishnay\Desktop\New.xml")
Comments