Robot Framework
robot.result.model.While Class Reference
Inheritance diagram for robot.result.model.While:
robot.model.control.While robot.result.model.StatusMixin robot.result.modeldeprecation.DeprecatedAttributesMixin robot.model.body.BodyItem robot.model.modelobject.ModelObject metaclass

Public Member Functions

def __init__ (self, condition=None, limit=None, parent=None, status='FAIL', starttime=None, endtime=None, doc='')
 
def body (self, iterations)
 
- Public Member Functions inherited from robot.model.control.While
def __init__ (self, condition=None, limit=None, parent=None)
 
def __str__ (self)
 
def visit (self, visitor)
 
- Public Member Functions inherited from robot.model.modelobject.ModelObject
def __repr__ (self)
 
def config (self, **attributes)
 Configure model object with given attributes. More...
 
def copy (self, **attributes)
 Return shallow copy of this object. More...
 
def deepcopy (self, **attributes)
 Return deep copy of this object. More...
 

Public Attributes

 doc
 
 endtime
 
 starttime
 
 status
 
- Public Attributes inherited from robot.model.control.While
 body
 
 condition
 
 limit
 
 parent
 
- Public Attributes inherited from robot.result.model.StatusMixin
 status
 

Static Public Attributes

 iteration_class = WhileIteration
 
 iterations_class = Iterations
 
- Static Public Attributes inherited from robot.model.control.While
 body_class = Body
 
tuple repr_args = ('condition', 'limit')
 
 type = BodyItem.WHILE
 
- Static Public Attributes inherited from robot.model.body.BodyItem
string BREAK = 'BREAK'
 
string CONTINUE = 'CONTINUE'
 
string ELSE = 'ELSE'
 
string ELSE_IF = 'ELSE IF'
 
string EXCEPT = 'EXCEPT'
 
string FINALLY = 'FINALLY'
 
string FOR = 'FOR'
 
string IF = 'IF'
 
string IF_ELSE_ROOT = 'IF/ELSE ROOT'
 
string ITERATION = 'ITERATION'
 
string KEYWORD = 'KEYWORD'
 
string MESSAGE = 'MESSAGE'
 
string RETURN = 'RETURN'
 
string SETUP = 'SETUP'
 
string TEARDOWN = 'TEARDOWN'
 
string TRY = 'TRY'
 
string TRY_EXCEPT_ROOT = 'TRY/EXCEPT ROOT'
 
 type = None
 
string WHILE = 'WHILE'
 
- Static Public Attributes inherited from robot.model.modelobject.ModelObject
tuple repr_args = ()
 
- Static Public Attributes inherited from robot.result.model.StatusMixin
string FAIL = 'FAIL'
 
string NOT_RUN = 'NOT RUN'
 
string NOT_SET = 'NOT SET'
 
string PASS = 'PASS'
 
string SKIP = 'SKIP'
 

Properties

 name = property
 
- Properties inherited from robot.model.body.BodyItem
 has_setup = property
 
 has_teardown = property
 
 id = property
 Item id in format like s1-t3-k1. More...
 
- Properties inherited from robot.result.model.StatusMixin
 elapsedtime = property
 Total execution time in milliseconds. More...
 
 failed = property
 True when :attr:status is 'FAIL', False otherwise. More...
 
 not_run = property
 True when :attr:status is 'NOT RUN', False otherwise. More...
 
 passed = property
 True when :attr:status is 'PASS', False otherwise. More...
 
 skipped = property
 True when :attr:status is 'SKIP', False otherwise. More...
 
- Properties inherited from robot.result.modeldeprecation.DeprecatedAttributesMixin
 args = property
 
 assign = property
 
 kwname = property
 
 libname = property
 
 message = property
 
 name = property
 
 tags = property
 
 timeout = property
 

Private Member Functions

def name (self)
 

Static Private Attributes

list __slots__ = ['status', 'starttime', 'endtime', 'doc']
 

Detailed Description

Definition at line 240 of file model.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.result.model.While.__init__ (   self,
  condition = None,
  limit = None,
  parent = None,
  status = 'FAIL',
  starttime = None,
  endtime = None,
  doc = '' 
)

Definition at line 245 of file model.py.

Member Function Documentation

◆ body()

def robot.result.model.While.body (   self,
  iterations 
)

Reimplemented from robot.model.control.While.

Definition at line 254 of file model.py.

◆ name()

def robot.result.model.While.name (   self)
private

Reimplemented from robot.result.modeldeprecation.DeprecatedAttributesMixin.

Definition at line 261 of file model.py.

Member Data Documentation

◆ __slots__

list robot.result.model.While.__slots__ = ['status', 'starttime', 'endtime', 'doc']
staticprivate

Definition at line 243 of file model.py.

◆ doc

robot.result.model.While.doc

Definition at line 251 of file model.py.

◆ endtime

robot.result.model.While.endtime

Definition at line 250 of file model.py.

◆ iteration_class

robot.result.model.While.iteration_class = WhileIteration
static

Definition at line 242 of file model.py.

◆ iterations_class

robot.result.model.While.iterations_class = Iterations
static

Definition at line 241 of file model.py.

◆ starttime

robot.result.model.While.starttime

Definition at line 249 of file model.py.

◆ status

robot.result.model.While.status

Definition at line 248 of file model.py.

Property Documentation

◆ name

robot.result.model.While.name = property
static

Definition at line 259 of file model.py.


The documentation for this class was generated from the following file: