The new plug-in works better than before, I can run a test as long as I don't care which PC is running the test and I populate "RunMode" with a Host List.
Unfortunately, I'm having issue with the Planned Host Name. If I set the value to "Run Remotely" and leave the "Run Mode" value blank then I get an exception. (I leave it blank because I have the Planned HostName on the Test in the QC Test Set already defined.)
Run a test on a specific HostName. I need the test to run on a specific PC because the test deletes temp files and reboots the PC. (Maintenance process).
Works but doesn't satisfy my goal:
I can run on a remote PC only if the HostList and the Plugin RunMode value matches. In this case, I set the PlannedHostName and RunMode to TAF_LAB_UFT. Test doesn't actually run on the PC I need it to.
How do I get the test to run on the Planned Host Name in QC instead of the HostName listed in Plugin RunMode? I've tried all three RunMode options.
1) RunMode = "Run Remotely" and leaving the HostName list blank but I get this error.
2) RunMode = "Run Locally" won't work bc the test only runs on the Slave and that isn't the correct PC.
3) RunMode = "Run on Planned Host" and leave it blank and I get the same error. If I put in the Host List then the test runs on any available Host.
I have no way of controlling the PC (Host) where the test is expected to execute.
Started by user
Building on master in workspace d:\Jenkins\.jenkins\workspace\MF QC Test Set Execution\Automation CoE\TAF LAB PC Maintenance-Reboot
[TAF LAB PC Maintenance-Reboot] $ "d:\Jenkins\.jenkins\workspace\MF QC Test Set Execution\Automation CoE\TAF LAB PC Maintenance-Reboot\HpToolsLauncher.exe" -paramfile props16092019112733046.txt
Timeout is set to: 180
Run mode is set to: RUN_REMOTE
Unable to retrieve test set folder: Node not found.
Starting test set execution
Test set name: LabMaintenance-Reboot, Test set id: 210
Test 1: RebootLabPC will run on host:
Test 2: RebootLabPC will run on host:
Test 3: RebootLabPC will run on host:
Test 4: RebootLabPC will run on host:
Test 5: RebootLabPC will run on host:
Test 6: RebootLabPC will run on host:
Test 7: RebootLabPC will run on host:
Problem while running TestSet: Exception from HRESULT: 0x80040459
"Scheduler started at:16/09/2019 11:27:38
Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: Current test set is null.
at HpToolsLauncher.AlmTestSetsRunner.SetTestResults(ITSTest currentTest, IExecutionStatus executionStatus, ITestSet targetTestSet, TestRunResults activeTestDesc, TestSuiteRunResults runDesc, String testPath, String abortFilename)
at HpToolsLauncher.AlmTestSetsRunner.RunTestSet(String tsFolderName, String tsName, String testParameters, Double timeout, QcRunMode runMode, String runHost, Boolean isFilterSelected, String filterByName, List`1 filterByStatuses, TestStorageType testStorageType)
at HpToolsLauncher.Program.Main(String args)
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
Triggering a new build of
MF QC Test Set Execution » Automation CoE » LabMainteance QA EmailReport