diff options
-rw-r--r-- | xtesting/core/robotframework.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtesting/core/robotframework.py b/xtesting/core/robotframework.py index 4cba7bbb..9865a26f 100644 --- a/xtesting/core/robotframework.py +++ b/xtesting/core/robotframework.py @@ -57,9 +57,9 @@ class RobotFramework(testcase.TestCase): dir_results = "/var/lib/xtesting/results" def __init__(self, **kwargs): - self.res_dir = os.path.join(self.dir_results, 'robot') - self.xml_file = os.path.join(self.res_dir, 'output.xml') super(RobotFramework, self).__init__(**kwargs) + self.res_dir = os.path.join(self.dir_results, self.case_name) + self.xml_file = os.path.join(self.res_dir, 'output.xml') def parse_results(self): """Parse output.xml and get the details in it.""" |