Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Commit e570746

Browse files
Use report path as result directory if textbox is not empty
1 parent bc723c4 commit e570746

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

HpToolsLauncher/TestRunners/PerformanceTestRunner.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,11 @@ public TestRunResults RunTest(TestInfo scenarioInf, ref string errorReason, RunC
119119

120120
runDesc.TestType = TestType.LoadRunner.ToString();
121121
_resultsFolder = Helper.GetTempDir();
122-
122+
if (scenarioInf.ReportPath != null && !scenarioInf.ReportPath.Equals(""))
123+
{
124+
_resultsFolder = scenarioInf.ReportPath;
125+
}
126+
123127
//a directory with this name may already exist. try to delete it.
124128
if (Directory.Exists(_resultsFolder))
125129
{

0 commit comments

Comments
 (0)