Robot Framework
robot.libraries.Remote.Remote Class Reference

Public Member Functions

def __init__ (self, uri='http://127.0.0.1:8270', timeout=None)
 Connects to a remote server at uri. More...
 
def get_keyword_arguments (self, name)
 
def get_keyword_documentation (self, name)
 
def get_keyword_names (self)
 
def get_keyword_tags (self, name)
 
def get_keyword_types (self, name)
 
def run_keyword (self, name, args, kwargs)
 

Static Public Attributes

string ROBOT_LIBRARY_SCOPE = 'TEST SUITE'
 

Private Member Functions

def _get_kw_info (self, kw, info, getter, default=None)
 
def _is_lib_info_available (self)
 

Private Attributes

 _client
 
 _lib_info
 
 _lib_info_initialized
 
 _uri
 

Detailed Description

Definition at line 30 of file Remote.py.

Constructor & Destructor Documentation

◆ __init__()

def robot.libraries.Remote.Remote.__init__ (   self,
  uri = 'http://127.0.0.1:8270',
  timeout = None 
)

Connects to a remote server at uri.

    Optional ``timeout`` can be used to specify a timeout to wait when
    initially connecting to the server and if a connection accidentally
    closes. Timeout can be given as seconds (e.g. ``60``) or using
    Robot Framework time format (e.g. ``60s``, ``2 minutes 10 seconds``).

    The default timeout is typically several minutes, but it depends on
    the operating system and its configuration. Notice that setting
    a timeout that is shorter than keyword execution time will interrupt
    the keyword.

Definition at line 45 of file Remote.py.

Member Function Documentation

◆ _get_kw_info()

def robot.libraries.Remote.Remote._get_kw_info (   self,
  kw,
  info,
  getter,
  default = None 
)
private

Definition at line 78 of file Remote.py.

◆ _is_lib_info_available()

def robot.libraries.Remote.Remote._is_lib_info_available (   self)
private

Definition at line 65 of file Remote.py.

◆ get_keyword_arguments()

def robot.libraries.Remote.Remote.get_keyword_arguments (   self,
  name 
)

Definition at line 74 of file Remote.py.

◆ get_keyword_documentation()

def robot.libraries.Remote.Remote.get_keyword_documentation (   self,
  name 
)

Definition at line 93 of file Remote.py.

◆ get_keyword_names()

def robot.libraries.Remote.Remote.get_keyword_names (   self)

Definition at line 55 of file Remote.py.

◆ get_keyword_tags()

def robot.libraries.Remote.Remote.get_keyword_tags (   self,
  name 
)

Definition at line 90 of file Remote.py.

◆ get_keyword_types()

def robot.libraries.Remote.Remote.get_keyword_types (   self,
  name 
)

Definition at line 86 of file Remote.py.

◆ run_keyword()

def robot.libraries.Remote.Remote.run_keyword (   self,
  name,
  args,
  kwargs 
)

Definition at line 96 of file Remote.py.

Member Data Documentation

◆ _client

robot.libraries.Remote.Remote._client
private

Definition at line 51 of file Remote.py.

◆ _lib_info

robot.libraries.Remote.Remote._lib_info
private

Definition at line 52 of file Remote.py.

◆ _lib_info_initialized

robot.libraries.Remote.Remote._lib_info_initialized
private

Definition at line 53 of file Remote.py.

◆ _uri

robot.libraries.Remote.Remote._uri
private

Definition at line 50 of file Remote.py.

◆ ROBOT_LIBRARY_SCOPE

string robot.libraries.Remote.Remote.ROBOT_LIBRARY_SCOPE = 'TEST SUITE'
static

Definition at line 31 of file Remote.py.


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