|
@@ -95,6 +95,11 @@ void ctkQtTestingMainWindow::record(bool start)
|
|
if (!filename.isEmpty())
|
|
if (!filename.isEmpty())
|
|
{
|
|
{
|
|
qDebug() << "Start recording";
|
|
qDebug() << "Start recording";
|
|
|
|
+ QFileInfo fileInfo(filename);
|
|
|
|
+ if (fileInfo.suffix() != "xml")
|
|
|
|
+ {
|
|
|
|
+ filename += ".xml";
|
|
|
|
+ }
|
|
this->TestUtility->recordTests(filename);
|
|
this->TestUtility->recordTests(filename);
|
|
}
|
|
}
|
|
}
|
|
}
|