It's all about the answers!

Ask a question

How to check the assertion for import Junit


sowmya M (195) | 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.