SutLocale Methods
Last updated
Was this helpful?
Last updated
Was this helpful?
Allows to change the culture of the sut ( property).
Syntax:
Parameter
Description
cultureString
Returns the currently configured time zone Id of the system under test.
Syntax:
The currently configured time zone
Initializes the SutDateTime by determining the delta from the VM to the host where the testcase is run.
Syntax:
Exception
Condition
The VM local time could not have been parsed. Execution aborted.
Resets the SutDateTime using the current time of the host and considering the current time zone of the system under test.
Syntax:
Sets the SutDateTime to the provided
Syntax:
Parameter
Description
dateTime
The dateTime you want to set your system to
Example for time zone ids:
W. Europe Standard Time
GMT Standard Time
Pacific Standard Time
Syntax:
Parameter
Description
timeZone
The time zone id to set.
Type: The culture string (e.g en-US, de-CH etc) of the system under test. (for Windows: see Additional date, time, & regional settings in Region & language settings.)
Type:
Sets the time zone on the system under test to the provided time zone id. The '' command is used to set the time zone. Consider to evaluate available time zone ids by running the command 'tzutil /l'
Type: