Below is an example of the feature. suite = robot.api.TestSuite('Example') test = suite.tests.create('T1', tags=['example']) test.keywords('Log', ['message']) **suite.save('tests.robot')**