CloudBrowser Object

Supported in UFT One version 23.4 and later.

Description

Represents the cloud browser available in the Web tab of the Record and Run Settings dialog box.

You must have a UFT One connection to Digital Lab before using this test object.

Public properties

OS

The device's operating system.

BrowserThe cloud browser to open.
BrowserVersionThe version of the cloud browser to open.
LocationThe location where the cloud browser to open is located.

Example

This example starts UFT One, opens a test, and configures it for running on a cloud browser.

Copy code
Dim qtApp 'As QuickTest.Application ' Declare the application object variable
Set qtApp = CreateObject("QuickTest.Application") ' Create the application object

ret = qtApp.SetActiveAddins(Array("Web"), errDesc) 'Load the Web Add-in

qtApp.Launch ' Start UFT One
App.Visible = True 'Make UFT One visible
qtApp.New ' Open a new test

' Configure the Web application to use with this test
App.Test.Settings.Launchers("Web").Active = True
App.Test.Settings.Launchers("Web").SetLab "CloudBrowser" 
App.Test.Settings.Launchers("Web").Address = "http://www.bing.com" 
App.Test.Settings.Launchers("Web").CloudBrowser.OS = "Windows server 2022"
App.Test.Settings.Launchers("Web").CloudBrowser.Browser = "Chrome"
App.Test.Settings.Launchers("Web").CloudBrowser.BrowserVersion = "latest"
App.Test.Settings.Launchers("Web").CloudBrowser.Location = "Europe(Frankfurt)"