AnsweredAssumed Answered

Getting Error in calling Subprocess while staging the test case in local

Question asked by SARTH_GUPTA on Feb 6, 2017
Latest reply on Feb 14, 2017 by norre01

Hi Team,

 

I am getting the below error during execution of staged test case in local server.However when I tried to run the test case in ITR mode ,the test case is executing successfully.Need some inputs .

Thanks in advance.

 


============================================================================
| Exception:
============================================================================
| Step: Subprocess Track&Trace
----------------------------------------------------------------------------
| Message: Sub test case load failure: Unable to load file: name=C:/Users/gupta516/lisatmp_9.5.1/lads/B56D5C3EEC3A11E6B19DD2AF20524153/test-automation/Tests/Integration (E2E)/DATA-109/Use Case Subprocesses/CSC/GoToTrack&Trace_StoreKPNReference.tst path:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst] absolutePath:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst] canonicalPath:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst]
----------------------------------------------------------------------------
| Trapped Exception: Unable to load file: name=C:/Users/gupta516/lisatmp_9.5.1/lads/B56D5C3EEC3A11E6B19DD2AF20524153/test-automation/Tests/Integration (E2E)/DATA-109/Use Case Subprocesses/CSC/GoToTrack&Trace_StoreKPNReference.tst path:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst] absolutePath:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst] canonicalPath:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst]
| Trapped Message: java.io.FileNotFoundException: Unable to load file: name=C:/Users/gupta516/lisatmp_9.5.1/lads/B56D5C3EEC3A11E6B19DD2AF20524153/test-automation/Tests/Integration (E2E)/DATA-109/Use Case Subprocesses/CSC/GoToTrack&Trace_StoreKPNReference.tst path:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst] absolutePath:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst] canonicalPath:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst]
----------------------------------------------------------------------------
STACK TRACE
java.io.FileNotFoundException: Unable to load file: name=C:/Users/gupta516/lisatmp_9.5.1/lads/B56D5C3EEC3A11E6B19DD2AF20524153/test-automation/Tests/Integration (E2E)/DATA-109/Use Case Subprocesses/CSC/GoToTrack&Trace_StoreKPNReference.tst path:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst] absolutePath:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst] canonicalPath:[C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst]
at com.itko.util.StreamHelp.fileOpenerWithInfo(StreamHelp.java:775)
at com.itko.util.StreamHelp.fileOpener(StreamHelp.java:670)
at com.itko.util.XMLUtils.openXMLDoc(XMLUtils.java:589)
at com.itko.lisa.LisaDocument.<init>(LisaDocument.java:56)
at com.itko.lisa.test.TestCaseDocument.<init>(TestCaseDocument.java:37)
at com.itko.lisa.test.TestCase.openTestCaseDoc(TestCase.java:1909)
at com.itko.lisa.utils.ExecSubProcessNode.getSubXML(ExecSubProcessNode.java:577)
at com.itko.lisa.utils.ExecSubProcessNode.getTestCase(ExecSubProcessNode.java:496)
at com.itko.lisa.utils.ExecSubProcessNode.doFullExec(ExecSubProcessNode.java:287)
at com.itko.lisa.utils.ExecSubProcessNode.execute(ExecSubProcessNode.java:268)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1288)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1203)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1188)
at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1129)
at com.itko.lisa.coordinator.Instance.run(Instance.java:204)
Caused by: java.io.FileNotFoundException: C:\Users\gupta516\lisatmp_9.5.1\lads\B56D5C3EEC3A11E6B19DD2AF20524153\test-automation\Tests\Integration (E2E)\DATA-109\Use Case Subprocesses\CSC\GoToTrack&Trace_StoreKPNReference.tst (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.itko.util.StreamHelp.fileOpenerWithInfo(StreamHelp.java:761)
... 15 more
============================================================================


at com.itko.lisa.utils.ExecSubProcessNode.getTestCase(ExecSubProcessNode.java:556)
at com.itko.lisa.utils.ExecSubProcessNode.doFullExec(ExecSubProcessNode.java:287)
at com.itko.lisa.utils.ExecSubProcessNode.execute(ExecSubProcessNode.java:268)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1288)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1203)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1188)
at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1129)
at com.itko.lisa.coordinator.Instance.run(Instance.java:204)
============================================================================

 

Thanks

Sarthak Gupta

Outcomes