Command Line test script unable to be executed when added via RQMExcelImporter, RQM 2.0.1.1 iFix 3
I am importing Test Cases and Test Scripts (Commandline) via the RQM Excel Import Utility. All the Data imports correctly and visual verfication show everything is there. When I run the test case the result is an error generated in the test results. The error is
“Cannot run program ""null"": CreateProcess error=2, The system cannot find the file specified”
I have found if I change absolutely anything in the test script through RQM webclient so the save button is activated and save the script runs perfectly. The only explaination I have is that RQM does something in the background when a user saves through the GUI which is not happening when you import a test script.
Example. 1. Import test case and test script 2. Go to the Test Script Section of the Test Case and click on the Run Test button. 3. Test run starts and result in the error specified. Multiple re-executions have the same result. 4. Open up the Test Script and edit anything. eg. Add a full stop to the description. 5. This enables the Discard changes and Save button. Press Save. 6. Go to the Test Script Section of the Test Case and click on the Run Test button. 7. Test run starts and completes without an error
Anyone understand why this is so and how to fix it. If there is no solution I have to manually open every test script and do something to cause a save which is crazy. |
3 answers
Hi Brad,
we need more info regarding to your problem. 1. when exporting from Excel, does the config file you contains the "executionworkitem" ? 2. if the answer is #1 is not, did you use XLSArtifactID keyword? would you try to change these IDs and have another try? 3. if XLSArtifactID is not used, then would you try to change the file name of the excel and have a try again? Comments
Brad Woodvine
commented Jun 10 '14, 10:08 p.m.
Hi Hao,
I had forgotten all about this question.
Answers 1. No 3. Yes
|
This is my config. I still have the issue on 4.0.3 version of RQM and new version of import Utility
// This is a configuration file created specifically for loading Test Cases from Excel for NBN
// Sheet name in spredsheet
// Start looking for scripts after line 2
// VERY IMPORTANT: Allows update of artifacts (Test Case or Test Script) if they already exists.
// Where to find remote script details in spreadsheet
// True as we want to use test resources that are local to a test machine
// a new script starts when we encounter an empty row
// Create 1-1 link between testscript and testcase
// by refering to the testscript's field instead of the column that data comes from
// Categories are defined in a special way
// Test Case Pre-conditions and Post-Conditions, Expected Results and Test Case Design
|
Solution found. Not sure which on these three lines in the configuration file that fixed it but I made these changes and now the problem has gone
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.