Robot Framework
robot.result.model.ForIteration Class Reference

Represents one FOR loop iteration. More...

Inheritance diagram for robot.result.model.ForIteration:
robot.model.body.BodyItem robot.result.model.StatusMixin robot.result.modeldeprecation.DeprecatedAttributesMixin robot.model.modelobject.ModelObject metaclass

Public Member Functions

def __init__ (self, variables=None, status='FAIL', starttime=None, endtime=None, doc='', parent=None)
 
def body (self, body)
 
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

 body
 
 doc
 
 endtime
 
 parent
 
 starttime
 
 status
 
 variables
 
- Public Attributes inherited from robot.result.model.StatusMixin
 status
 

Static Public Attributes

 body_class = Body
 
tuple repr_args = ('variables',)
 
 type = BodyItem.ITERATION
 
- 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__ = ['variables', 'status', 'starttime', 'endtime', 'doc']
 

Detailed Description

Represents one FOR loop iteration.

Definition at line 151 of file model.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.result.model.ForIteration.__init__ (   self,
  variables = None,
  status = 'FAIL',
  starttime = None,
  endtime = None,
  doc = '',
  parent = None 
)

Definition at line 157 of file model.py.

Member Function Documentation

◆ body()

def robot.result.model.ForIteration.body (   self,
  body 
)

Definition at line 168 of file model.py.

◆ name()

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

Reimplemented from robot.result.modeldeprecation.DeprecatedAttributesMixin.

Definition at line 178 of file model.py.

◆ visit()

def robot.result.model.ForIteration.visit (   self,
  visitor 
)

Definition at line 171 of file model.py.

Member Data Documentation

◆ __slots__

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

Definition at line 155 of file model.py.

◆ body

robot.result.model.ForIteration.body

Definition at line 165 of file model.py.

◆ body_class

robot.result.model.ForIteration.body_class = Body
static

Definition at line 153 of file model.py.

◆ doc

robot.result.model.ForIteration.doc

Definition at line 164 of file model.py.

◆ endtime

robot.result.model.ForIteration.endtime

Definition at line 163 of file model.py.

◆ parent

robot.result.model.ForIteration.parent

Definition at line 160 of file model.py.

◆ repr_args

tuple robot.result.model.ForIteration.repr_args = ('variables',)
static

Definition at line 154 of file model.py.

◆ starttime

robot.result.model.ForIteration.starttime

Definition at line 162 of file model.py.

◆ status

robot.result.model.ForIteration.status

Definition at line 161 of file model.py.

◆ type

robot.result.model.ForIteration.type = BodyItem.ITERATION
static

Definition at line 152 of file model.py.

◆ variables

robot.result.model.ForIteration.variables

Definition at line 159 of file model.py.

Property Documentation

◆ name

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

Definition at line 176 of file model.py.


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