ISutLocale Interface
Description
Interface that allows to get the current date time and culture of the system under test.
You can access the SutLocale through the generated App class from your test case:
DateTime now = App.SutLocale.SutDateTime;
Or from a screen through the IAppBasics Interface:
DateTime now = AppBasics.SutLocale.SutDateTime;
ISutLocale Interface
Namespace: Progile.TRIO.BaseModel Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)
Methods
Name
Description
Allows to change the culture of the sut (SutCultureInfo property).
Initializes the SutDateTime by determining the delta from the VM to the host where the testcase is run.
Properties
Name
Description
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.)
Gets the current dateTime of the system under test (SUT). For an exact time you should call InitSutDateTime before using SutDateTime.
Last updated