public void addTestCaseExecutionDetails() throws Exception { activityObj.setActivityId("001"); testCaseObj.setActivityObj(activityObj); testCaseObj.setTestCaseId("001"); userObj.setUserId("12"); testCaseObj.setUserObj(userObj); testCaseObj.setActualDate(new Date(1970, 01, 01)); testCaseObj.setTestCaseStatus("complete"); testCaseObj.setComments("better"); testCaseObj.setActualBehaviour("got value"); System.out.println(tmsManager.addTestCaseExecutionDetails(testCaseObj)); }
public void createTestCase() throws Exception { testCaseObj.setTestCaseId("15"); testCaseObj.setTestCaseDescription("this s Next testcase Description"); testCaseObj.setTestCasePhase("normal "); Project projectObj = new Project(); projectObj.setProjectId("2"); testCaseObj.setProjectObj(projectObj); User userObj = new User(); userObj.setUserId("123"); testCaseObj.setUserObj(userObj); Activity activityObj = new Activity(); activityObj.setActivityId("001"); testCaseObj.setActivityObj(activityObj); testCaseObj.setExpectedBehaviour("Bad"); System.out.println(tmsManager.createTestCase(testCaseObj)); }
public void updateTestCaseExecutionDetails() throws Exception { testCaseObj.setTestCaseStatus("Complete"); testCaseObj.setTestCaseId("001"); System.out.println(tmsManager.updateTestCaseExecutionDetails(testCaseObj)); }
public void deleteTestCase() throws Exception { testCaseObj.setTestCaseId("15"); System.out.println(tmsManager.deleteTestCase(testCaseObj.getTestCaseId())); }
public void updateTestCase() throws Exception { testCaseObj.setExpectedBehaviour("Excellent"); testCaseObj.setTestCaseId("15"); System.out.println(tmsManager.updateTestCase(testCaseObj)); }