/*--------------------------------------------ViewTestPhase-----------------------------------------*/ public void getTestPhase() throws Exception { testPhaseObj.setPhaseId("101"); TestPhase phaseObj = tmsManager.getTestPhase(testPhaseObj.getPhaseId()); System.out.println("phase_id: " + phaseObj.getPhaseId()); System.out.println("phase_name: " + phaseObj.getPhaseName()); projectObj = phaseObj.getProjectObj(); System.out.println("project_id: " + projectObj.getProjectId()); System.out.println("description: " + phaseObj.getDescription()); System.out.println("is_alive: " + phaseObj.getIsAlive()); System.out.println("time_stamp: " + phaseObj.getTimeStamp()); }
public void getTestCase() throws Exception { TestCase testCaseObj = tmsManager.getTestCase("15"); System.out.println(testCaseObj.getTestCaseId()); System.out.println(testCaseObj.getTestCaseDescription()); System.out.println(testCaseObj.getTestCasePhase()); Project projectObj = testCaseObj.getProjectObj(); System.out.println(projectObj.getProjectId()); User userObj = testCaseObj.getUserObj(); System.out.println(userObj.getUserId()); Activity activityObj = testCaseObj.getActivityObj(); System.out.println(activityObj.getActivityId()); System.out.println(testCaseObj.getExpectedBehaviour()); }