The information in this topic may be out of date. The current SDK reference guide has moved here.
setHostOS method
Use this method to set the name of the hosting operating system property.
The HostOS, along with the hosting app and viewport size, determines which baseline will be used as the basis for comparing checkpoint images. By default, the hosting OS is undefined. The Test Manager displays this value as the OS column.
Syntax
Configuration configval = config.setHostOS(hostOS);
Parameters
- hostOS
- Type:String
- The value to be used for the Host OS Property.
Return value
- Type: Configuration
-
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXX
methods of the Configuration class.