Saturday, 22 February 2014

Change the QTP settings by using AOM script

Browser Navigation Timeout:

1) This setting makes QTP wait for the web page to load completely for the specified amount of time.

2)By default the maximum wait time specified by QTP is 60 seconds.

3) This setting can further be modified bythe user based on his requirement. This setting is found in File>settings>Web>Browser navigation timeout.

4) This setting is applicable only for web applications.

Ex: App.test.settings.web.BrowserNavigationTimeout



Object synchronization timeout:

1) This setting makes QTP wait for the specified amount of time for the objects to appear.

2) By default the time setting is 20 seconds which can be modified by the user.

3) these settings can be found in File>Setting>Run>Object synchronization timeout.

Ex: App.test.settings.run.objectssynctimeout



TimeToActivateWinAfterPoint Property

The number of milliseconds after which to activate a window when pointing to it.

Ex : App.Options.TimeToActivateWinAfterPoint = 600


AddToPageLoadTime Property

App.Options.Web.AddToPageLoadTime = 30

The number of seconds to add to the page load time that is specified in each page checkpoint.

No comments:

Post a Comment