Robot Framework
robot.model.body.BodyItem Class Reference
Inheritance diagram for robot.model.body.BodyItem:
robot.model.modelobject.ModelObject metaclass robot.model.control.Break robot.model.control.Continue robot.model.control.For robot.model.control.If robot.model.control.IfBranch robot.model.control.Return robot.model.control.Try robot.model.control.TryBranch robot.model.control.While robot.model.keyword.Keyword robot.model.message.Message robot.result.model.ForIteration robot.result.model.WhileIteration

Static Public Attributes

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 = ()
 

Properties

 has_setup = property
 
 has_teardown = property
 
 id = property
 Item id in format like s1-t3-k1. More...
 

Private Member Functions

def _get_id (self, parent)
 
def has_setup (self)
 
def has_teardown (self)
 
def id (self)
 

Static Private Attributes

list __slots__ = ['parent']
 

Additional Inherited Members

- 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...
 

Detailed Description

Definition at line 22 of file body.py.

Member Function Documentation

◆ _get_id()

def robot.model.body.BodyItem._get_id (   self,
  parent 
)
private

Definition at line 61 of file body.py.

◆ has_setup()

def robot.model.body.BodyItem.has_setup (   self)
private

Definition at line 75 of file body.py.

◆ has_teardown()

def robot.model.body.BodyItem.has_teardown (   self)
private

Reimplemented in robot.model.keyword.Keyword.

Definition at line 81 of file body.py.

◆ id()

def robot.model.body.BodyItem.id (   self)
private

Member Data Documentation

◆ __slots__

list robot.model.body.BodyItem.__slots__ = ['parent']
staticprivate

Definition at line 42 of file body.py.

◆ BREAK

string robot.model.body.BodyItem.BREAK = 'BREAK'
static

Definition at line 39 of file body.py.

◆ CONTINUE

string robot.model.body.BodyItem.CONTINUE = 'CONTINUE'
static

Definition at line 38 of file body.py.

◆ ELSE

string robot.model.body.BodyItem.ELSE = 'ELSE'
static

Definition at line 31 of file body.py.

◆ ELSE_IF

string robot.model.body.BodyItem.ELSE_IF = 'ELSE IF'
static

Definition at line 30 of file body.py.

◆ EXCEPT

string robot.model.body.BodyItem.EXCEPT = 'EXCEPT'
static

Definition at line 34 of file body.py.

◆ FINALLY

string robot.model.body.BodyItem.FINALLY = 'FINALLY'
static

Definition at line 35 of file body.py.

◆ FOR

string robot.model.body.BodyItem.FOR = 'FOR'
static

Definition at line 26 of file body.py.

◆ IF

string robot.model.body.BodyItem.IF = 'IF'
static

Definition at line 29 of file body.py.

◆ IF_ELSE_ROOT

string robot.model.body.BodyItem.IF_ELSE_ROOT = 'IF/ELSE ROOT'
static

Definition at line 28 of file body.py.

◆ ITERATION

string robot.model.body.BodyItem.ITERATION = 'ITERATION'
static

Definition at line 27 of file body.py.

◆ KEYWORD

string robot.model.body.BodyItem.KEYWORD = 'KEYWORD'
static

Definition at line 23 of file body.py.

◆ MESSAGE

string robot.model.body.BodyItem.MESSAGE = 'MESSAGE'
static

Definition at line 40 of file body.py.

◆ RETURN

string robot.model.body.BodyItem.RETURN = 'RETURN'
static

Definition at line 37 of file body.py.

◆ SETUP

string robot.model.body.BodyItem.SETUP = 'SETUP'
static

Definition at line 24 of file body.py.

◆ TEARDOWN

string robot.model.body.BodyItem.TEARDOWN = 'TEARDOWN'
static

Definition at line 25 of file body.py.

◆ TRY

string robot.model.body.BodyItem.TRY = 'TRY'
static

Definition at line 33 of file body.py.

◆ TRY_EXCEPT_ROOT

string robot.model.body.BodyItem.TRY_EXCEPT_ROOT = 'TRY/EXCEPT ROOT'
static

Definition at line 32 of file body.py.

◆ type

robot.model.body.BodyItem.type = None
static

Definition at line 41 of file body.py.

◆ WHILE

string robot.model.body.BodyItem.WHILE = 'WHILE'
static

Definition at line 36 of file body.py.

Property Documentation

◆ has_setup

robot.model.body.BodyItem.has_setup = property
static

Definition at line 73 of file body.py.

◆ has_teardown

robot.model.body.BodyItem.has_teardown = property
static

Definition at line 79 of file body.py.

◆ id

robot.model.body.BodyItem.id = property
static

Item id in format like s1-t3-k1.

    See :attr:`TestSuite.id <robot.model.testsuite.TestSuite.id>` for
    more information.

Definition at line 50 of file body.py.


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