How to check the assertion for import Junit
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);
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);