Making changes to Settings of UFT – User friendly Tech help

How we can change the “Browser navigation timeout” in UFT?

n

Solution1:-

n

In first solution we can change by following steps:-

nStep1:-File->Settings->Web->BrowserNavigationTimeout
n
nn

Step2:-Select “Apply” and “OK”

n

Solution2:-

n

We can change it dynamically using coding at Runtime

n

Step1:- Copy the following script in any Editor(Notepad) and save with extension .vbs

n‘Decalring the object variable for UFT
nDim objUft
n‘Creating object of UFT
nSet objUft= CreateObject(“QuickTest.Application”)
n‘Launching the Apllication and making it visibleobjUft.Launchn

objUft.Visible = True

n
n‘Setting the Browser Navigation Timeout value 
nobjUft.Test.Settings.Web.BrowserNavigationTimeout = 80000
n‘Destroing the object
nset objUft= Nothingn

Step2:-Double click the saved file

n

Step3:-Check the “BrowserNavigationTimeout”

Was this article helpful?
YesNo

Similar Posts