BaseScreen
Description
The BaseScreen is an abstract class that represents a section of the UI that contains other UI elements (such as buttons, textboxes etc). The class offers a ScreenSelect property that can be used to limit the search of the contained UI elements to this UI section. Since it inherits from OnScreenElement itself, we can WaitFor on the BaseScreen to ensure the corresponding UI page is shown.
Since the constructor is part of the generated class and should not be changed by the user, the partial void ConfigureElementProperties()
method allows to set properties of the screen or generated elements or instantitate additional elements. The method will be executed as part of the constructor.
Through the IAppBasics interface the BaseScreen has access to important properties of the App itself. Therefore the App or another AppBasics property needs to be passed to the constructor when instantiating a BaseScreen.
BaseScreen Class (abstract)
Namespace: Progile.TRIO.BaseModel Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)
Inheritance Hierarchy:
Object Progile.TRIO.BaseModel.OnScreenElement Progile.TRIO.BaseModel.BaseScreen
Constructors
Syntax:
Parameter
Description
appBasics
displayName
screenOpenImage
Methods
Name
Description
Properties
Name
Description
Protected Properties
Name
Description
AppBasics
The AppBasics that offers access to the ITester, the rectangle of the containing Window and an implementation.
Last updated