How to set cases categories when import case from Word
Could anyone help resolve it?
I am trying import test cases from MS Word document to RQM with RQMWordImport3.0.1, and set a case category to Function, but always show "Object reference not set to an instance of an object" error. My cfg file: testscript.DOCStart="1." testscript.dc:title=Table("Product").A4 testscript.dc:descrition=Table("Product").A4 testscript.steps.title=Table(2).B testscript.steps.type="execution" testscript.steps.description=Table(2).B testscript.steps.name=Table(2).B testscript.steps.expectedResult=Table(2).C testcase.dc:title=testscript.dc:title testcase.dc:description=testscript.dc:descrition testcase.dc:creator=Table("Product").A3 testcase.category term="Function".value=Table("Product").A3 Error information details: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Mso2Rqm_Common.PreferenceStore.combinePreferences() at Mso2Rqm_Common.ArtifactFactory.createArtifacts(String configFile, Document document) at RQMWordImport.WordExportFileDialog.handleExportToFile(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- RQMWordImporter Assembly Version: 1.0.4465.14981 Win32 Version: 1.0.4465.14981 CodeBase: file:///C:/Program%20Files%20(x86)/IBM/RQMWordImporter/RQMWordImporter.dll ---------------------------------------- Extensibility Assembly Version: 7.0.3300.0 Win32 Version: 7.00.9466 CodeBase: file:///C:/windows/assembly/GAC/Extensibility/7.0.3300.0__b03f5f7f11d50a3a/Extensibility.dll ---------------------------------------- Microsoft.Office.Interop.Word Assembly Version: 12.0.0.0 Win32 Version: 12.0.4518.1014 CodeBase: file:///C:/windows/assembly/GAC/Microsoft.Office.Interop.Word/12.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Word.dll ---------------------------------------- Mso2Rqm_Common Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/IBM/RQMWordImporter/Mso2Rqm_Common.DLL ---------------------------------------- office Assembly Version: 12.0.0.0 Win32 Version: 12.0.4518.1014 CodeBase: file:///C:/windows/assembly/GAC/office/12.0.0.0__71e9bce111e9429c/office.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5453 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- CustomMarshalers Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Web Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Refer link: https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter#Document_Configuration |
Accepted answer
Hi Jian,
the problem has been fixed in RQM 4.0 in (exception throw when exporting testcase with self reference and category)export to file and repository does not work for sample "TestScript in Tables.doc" (63253), I just created a workitem for 3.0.1.5 to back port the fix. back merge the defect 63253 (71567) jian zhao selected this answer as the correct answer
|
3 other answers
Hi Jian,
I suggest you to use RQM Word Importer 3.0.1.4 which is the suggested version for all 3.x RQM servers. https://jazz.net/downloads/rational-quality-manager/releases/3.0.1.4/RQM-Extras-RQMExcelWordImporter-3.0.1.4.zip and also there's a sample with it TestScript in Tables.doc with the category config file, usually in the word importer installation folder RQMWordImporter\Samples |
Thank you, Hao Wan, In fact, I am using the version, 3.0.1.3, in which I find the sample. Even running the sample of table script, that still occur same error.
However, I will have a try on 3.0.1.4. |
Updated to 3.0.1.4, Unfortunately, the issue still occurs.
|
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.