Robot Framework
robot.result.resultbuilder Namespace Reference

Classes

class  ExecutionResultBuilder
 Builds :class:~.executionresult.Result objects based on output files. More...
 
class  RemoveKeywords
 

Functions

def _combine_results (sources, options)
 
def _merge_results (original, merged, options)
 
def _single_result (source, options)
 
def ExecutionResult (*sources, **options)
 Factory method to constructs :class:~.executionresult.Result objects. More...
 

Function Documentation

◆ _combine_results()

def robot.result.resultbuilder._combine_results (   sources,
  options 
)
private

Definition at line 64 of file resultbuilder.py.

◆ _merge_results()

def robot.result.resultbuilder._merge_results (   original,
  merged,
  options 
)
private

Definition at line 55 of file resultbuilder.py.

◆ _single_result()

def robot.result.resultbuilder._single_result (   source,
  options 
)
private

Definition at line 68 of file resultbuilder.py.

◆ ExecutionResult()

def robot.result.resultbuilder.ExecutionResult ( sources,
**  options 
)

Factory method to constructs :class:~.executionresult.Result objects.

:param sources: XML source(s) containing execution results.
    Can be specified as paths, opened file objects, or strings/bytes
    containing XML directly. Support for bytes is new in RF 3.2.
:param options: Configuration options.
    Using ``merge=True`` causes multiple results to be combined so that
    tests in the latter results replace the ones in the original.
    Setting ``rpa`` either to ``True`` (RPA mode) or ``False`` (test
    automation) sets execution mode explicitly. By default it is got
    from processed output files and conflicting modes cause an error.
    Other options are passed directly to the
    :class:`ExecutionResultBuilder` object used internally.
:returns: :class:`~.executionresult.Result` instance.

Should be imported by external code via the :mod:`robot.api` package.
See the :mod:`robot.result` package for a usage example.

Definition at line 45 of file resultbuilder.py.