def __init__(self, driver, index, version): self.driver = driver self.applicant_grid = EventApplicantPage.EventApplicant(self.driver) self.candidate_details = CandidateDetailsPage.CandidateDetailsPage( self.driver) self.status_change = ChangeStatus(self.driver) self.window_switch = SwitchWindow.SwitchWindowClose(self.driver) self.multi_select = MultiSelectValues(self.driver) self.event_action = EventActionsPage.Actions(self.driver) self.search = AdvanceSearchPage.Search(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ status_excel = excelRead.ExcelRead() status_excel.read(inputFile.INPUT_PATH['event_status_change'], index=index) xl = status_excel.excel_dict self.xl_event_name = xl['event_name'][0].format(version) self.xl_stage = xl['live_stage'][0] self.xl_status = xl['schedule'][0] self.xl_comment = xl['new_comment'][0] self.xl_message = xl['live_message'][0] self.applicant_status_collection = [] self.event_action_collection = []
def __init__(self, driver, index, version): self.driver = driver self.live = LiveIntSchedulePage(self.driver) self.feedback = InterviewFeedback(self.driver) self.new_tab = SwitchWindow.SwitchWindowClose(self.driver) self.event_action = EventActionsPage.Actions(self.driver) self.search = Search(self.driver) self.applicant_grid = EventApplicant(self.driver) self.applicant_action = EventApplicantActions(self.driver) self.bucket = BucketSelectionPage(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ status_excel = excelRead.ExcelRead() status_excel.read(inputFile.INPUT_PATH['event_status_change'], index=index) xl = status_excel.excel_dict self.xl_event_name = xl['event_name'][0].format(version) self.xl_live_stage = xl['live_stage'][0] feed_excel = excelRead.ExcelRead() feed_excel.read(inputFile.INPUT_PATH['feedback'], index=index) xl = feed_excel.excel_dict self.xl_candidate_name = xl['event_name'][0].format(version) self.xl_shortlist_decision = xl['shortlist'][0] self.xl_rating = xl['rating'][0] self.xl_comment = xl['quick_comment'][0] self.xl_overall = xl['quick_overall'][0] self.xl_bucket = xl['partial_bucket'][0] self.int2_feedback_collection = [] self.pf2_collection = [] self.partial_collection = []
def __init__(self, driver, index, version): now = datetime.now() self.__test_from_date = now.strftime("%d/%m/%Y") self.__test_to_date = now.strftime("%d/%m/%Y") self.driver = driver self.menu = Menu(self.driver) self.event = EventCreationPage.EventCreation(self.driver) self.multi_value = MultiSelectValues(self.driver) self.getby = EventGetByNamePage.EventGetByName(self.driver) self.event_action = EventActionsPage.Actions(self.driver) self.applicant_grid = EventApplicantPage.EventApplicant(self.driver) self.window_switch = SwitchWindow.SwitchWindowClose(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ status_excel = excelRead.ExcelRead() status_excel.read(inputFile.INPUT_PATH['event_excel'], index=index) xl = status_excel.excel_dict self.xl_menu_name = xl['menu'][0] self.xl_tab_title = xl['tab_title'][0] self.xl_event_name = xl['name'][0].format(version) self.xl_slot = xl['slot'][0] self.xl_em = xl['event_manager'][0] self.xl_college = xl['college'][0] self.xl_create_message = xl['message'][0] self.event_create_collection = []
def __init__(self, driver, index, version): self.driver = driver self.menu = Menu(self.driver) self.search = AdvanceSearchPage.Search(self.driver) self.getby = EventGetByNamePage.EventGetByName(self.driver) self.event_action = EventActionsPage.Actions(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ status_excel = excelRead.ExcelRead() status_excel.read(inputFile.INPUT_PATH['event_status_change'], index=index) xl = status_excel.excel_dict self.xl_menu_name = xl['menu'][0] self.xl_tab_title = xl['tab_title'][0] self.xl_event_name = xl['event_name'][0].format(version) self.event_collection = []
def __init__(self, driver, index, version): self.driver = driver self.login = Login(self.driver) self.search = AdvanceSearchPage.Search(self.driver) self.getby = EventGetByNamePage.EventGetByName(self.driver) self.event_action = EventActionsPage.Actions(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ int_excel = excelRead.ExcelRead() int_excel.read(inputFile.INPUT_PATH['interview_lobby'], index=index) xl = int_excel.excel_dict self.xl_account_name = xl['account_name'][0] self.xl_int1 = xl['int1'][0] self.xl_int1_name = xl['int1_name'][0] self.xl_event = xl['event_name'][0].format(version) self.int1_collection = []
def __init__(self, driver, index, time): now = datetime.now() self.current_date = now.strftime("%d/%m/%Y") self.time = time self.driver = driver self.slot = EventActionsPage.Actions(self.driver) self.slot_config = EventSlotConfigurationPage.EventSlot(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ slot_excel = excelRead.ExcelRead() slot_excel.read(inputFile.INPUT_PATH['event_slot_room'], index=index) xl = slot_excel.excel_dict self.xl_stage_status = xl['stage_status'][0] self.xl_number_of_slots = xl['number_of_slots'][0] self.xl_count = xl['count'][0] self.event_slot_collection = [] self.candidate_login_collection = []
def __init__(self, driver, index, version): self.driver = driver self.new_tab = SwitchWindow.SwitchWindowClose(self.driver) self.event_action = EventActionsPage.Actions(self.driver) self.search = Search(self.driver) self.applicant_grid = EventApplicant(self.driver) self.applicant_action = EventApplicantActions(self.driver) self.cancel_request = CancelInterview(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ cancel_excel = excelRead.ExcelRead() cancel_excel.read(inputFile.INPUT_PATH['cancel_interview'], index=index) xl = cancel_excel.excel_dict self.xl_event_name = xl['name'][0].format(version) self.xl_comment = xl['comment'][0] self.xl_message = xl['cancel_interview'][0] self.int2_cancel_collection = []
def __init__(self, driver, index, version): self.driver = driver self.login = Login(self.driver) self.search = AdvanceSearchPage.Search(self.driver) self.getby = EventGetByNamePage.EventGetByName(self.driver) self.menu = Menu(self.driver) self.event_action = EventActionsPage.Actions(self.driver) self.bucket = BucketSelectionPage(self.driver) self.applicant_grid = EventApplicant(self.driver) self.applicant_action = EventApplicantActions(self.driver) self.unlock = UnlockFeedback(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ excel = excelRead.ExcelRead() excel.read(inputFile.INPUT_PATH['interview_lobby'], index=index) xl = excel.excel_dict self.xl_account_name = xl['account_name'][0] self.xl_int2_name = xl['int2_name'][0] self.xl_event = xl['event_name'][0].format(version) self.xl_menu = xl['menu'][0] self.xl_title = xl['tab_title'][0] login_excel = excelRead.ExcelRead() login_excel.read(inputFile.INPUT_PATH['login_excel'], index=index) xl = login_excel.excel_dict self.xl_name = xl['c_login_name'][0] self.xl_pwd = xl['c_password'][0] unlock_excel = excelRead.ExcelRead() unlock_excel.read(inputFile.INPUT_PATH['feedback'], index=index) xl = unlock_excel.excel_dict self.xl_bucket = xl['completed_bucket'][0] self.xl_unlock_comment = xl['unlock_comment'][0] self.xl_unlock_message = xl['unlock_message'][0] self.admin_collection = [] self.unlock_collection = []