It's all about the answers!

Ask a question

How to check the assertion for import Junit


sowmya M (19110) | asked Aug 10 '15, 2:49 a.m.
Hi Team,
I am writing an integration test case for Import,For assertion my plan is, by using the RTC API to check whether the imported template is present on the server after the import.
But Not sure how to do that. Please guide.
Here, i am getting null.
sample code:
String importPath = this.testimportProperties.getProperty("import.path") ;
    File testResult = new File(importPath, this.testimportProperties.getProperty("template.name"));
   assertEquals("JKE_TEST_com.bosch.rtc.tmpl.JKE_Banking.15.0.Planning", testResult);

Be the first one to answer this question!


Register or to post 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.