code: def embed_seqdiag_sequence(self):
          
          test_name = BuiltIn().replace_variables('${TEST NAME}')
          outputdir = BuiltIn().replace_variables('${OUTPUTDIR}')
          path = os.path.join(outputdir, test_name + '.seqdiag')
          SeqdiagGenerator().compile(path, self._message_sequence)
docs: Create a message sequence diagram png file to output folder and embed the image to log file.
  
          You need to have seqdiag installed to create the sequence diagram. See http://blockdiag.com/en/seqdiag/