@When( "^I create unsuccessfully a meeting with the following information: \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\"$") public void createUnsuccessfullyAMeetingWithTheFollowingInformation( String organizer, String subject, String from, String to, String attendees, String body) { meetingEntity.setAllFields(organizer, subject, from, to, attendees, body); schedulePage.missingInformationMeeting(meetingEntity); }
@And( "^I have a Meeting with the following information: \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\"$") public void iHaveAMeetingWithTheFollowingInformation( String organizer, String subject, String from, String to, String attendees, String body) { String administrator = externalVariablesManager.getExchangeUserName(); meetingEntity.setAllFields(administrator, subject, from, to, attendees, body); apiMeetingMethods.createMeeting(meetingEntity, roomEntity.getDisplayName()); }
@When( "^I create other Meeting with the following information: \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\"$") public void createOtherMeetingWithTheFollowingInformation( String organizer, String subject, String from, String to, String attendees, String body) { meetingEntity2.setAllFields(organizer, subject, from, to, attendees, body); credentialsPage = schedulePage.createNewMeeting(meetingEntity2); credentialsPage.cancelCredentials( externalVariablesManager.getExchangeUserName(), externalVariablesManager.getExchangeUserPassword()); }
@When( "^I update the meeting information: \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\", \"([^\"]*)\"$") public void updateTheMeetingInformation( String organizer, String subject, String from, String to, String attendees, String body) { String nameMeetingToUpdate = meetingEntity.getSubject(); meetingEntity.setAllFields(organizer, subject, from, to, attendees, body); schedulePage.selectMeeting(nameMeetingToUpdate); credentialsPage = schedulePage.updateNewMeeting(meetingEntity); schedulePage = credentialsPage.confirmUpdate(externalVariablesManager.getExchangeUserPassword()); }