/*---------------------------------------------------VieTestPhase----------------------------*/
  public void getTestActivity() throws Exception {
    activityObj.setActivityId("1001");

    Activity activityObj1 = tmsManager.getTestActivity(activityObj.getActivityId());
    System.out.println("activity_id:  " + activityObj1.getActivityId());

    TestPhase testphaseObj1 = activityObj1.getTestPhaseObj();
    System.out.println("phase_id:  " + testphaseObj1.getPhaseId());
    System.out.println("activity_name: " + activityObj1.getActivityName());
    System.out.println("activity_description: " + activityObj1.getActivityDescription());
    System.out.println("activity_type: " + activityObj1.getActivityType());
    System.out.println("start_date: " + activityObj1.getStartDate());
    System.out.println("end_date: " + activityObj1.getEndDate());
    System.out.println("activity_effort: " + activityObj1.getActivityEffort());
    System.out.println("status: " + activityObj1.getStatus());
    userObj = activityObj.getUserObj();
    System.out.println("emp_no: " + userObj.getEmpNo());
    System.out.println("time_stamp: " + activityObj1.getTimeStamp());
  }
 /*-----------------------------------------ViewAssignment------------------------------------------*/
 public void getActivityAssignment() throws Exception {
   activityObj.setActivityId("1001");
   activityUserObj.setActivityObj(activityObj);
   activityObj = activityUserObj.getActivityObj();
   ActivityUser activityUserObj1 =
       tmsManager.getTestActivityAssignment(activityObj.getActivityId());
   activityObj = activityUserObj1.getActivityObj();
   System.out.println(activityObj.getActivityId());
   activityObj = activityUserObj1.getActivityObj();
   System.out.println("activity_id : " + activityObj.getActivityId());
   userObj = activityUserObj1.getUserObj();
   System.out.println("emp_no : " + userObj.getEmpNo());
   System.out.println("activity_effort : " + activityUserObj1.getActivityEffort());
   System.out.println("start_date : " + activityUserObj1.getStartDate());
   System.out.println("end_date : " + activityUserObj1.getEndDate());
   System.out.println("status : " + activityUserObj1.getStatus());
   System.out.println("percentage_completed : " + activityUserObj1.getPercentageCompleted());
   System.out.println("time_stamp : " + activityUserObj1.getTimeStamp());
 }
  public void getTestCaseExecutionDetails() throws Exception {
    //                testCaseObj.setTestCaseId("001");
    TestCase testCaseObj = tmsManager.getTestCaseExecutionDetails("001");

    Activity activityObj = testCaseObj.getActivityObj();
    System.out.println(activityObj.getActivityId());
    System.out.println(testCaseObj.getTestCaseId());
    User userObj = testCaseObj.getUserObj();
    System.out.println(userObj.getUserId());
    System.out.println(testCaseObj.getActualDate());

    System.out.println(testCaseObj.getTestCaseStatus());
    System.out.println(testCaseObj.getComments());
    System.out.println(testCaseObj.getActualBehaviour());
  }
  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());
  }
  public void getTestActivityEffort(String activityId) throws Exception {
    Effort effortObj = tmsManager.getTestActivityEffort(activityId);

    Activity activityObj = effortObj.getActivityObj();

    System.out.println(activityObj.getActivityId());
    User userObj = effortObj.getUserObj();

    System.out.println(userObj.getEmpNo());
    System.out.println(effortObj.getEffortDate());
    System.out.println(effortObj.getStartDate());
    System.out.println(effortObj.getEndDate());
    System.out.println(effortObj.getEffort());
    System.out.println(effortObj.getEffortDescription());
    System.out.println(effortObj.getEffortTimeStamp());
  }
 /*---------------------------------DeleteTestActivity-----------------------------------------*/
 public void deleteTestActivity() throws Exception {
   activityObj.setActivityId("1001");
   System.out.println(tmsManager.deleteTestActivity(activityObj.getActivityId()));
 }