CloudBrowser Object
Supported in versions 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 connection set up to OpenText Functional Testing Lab / Digital Lab before using this test object.
Public properties
OS | The device's operating system. |
Browser | The cloud browser to open. |
BrowserVersion | The version of the cloud browser to open. |
Location | The location where the cloud browser to open is located. |
Example
This example starts the testing application, opens a test, and configures it for running on a cloud browser.
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 the testing application
App.Visible = True 'Make the application 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)"