コード例 #1
0
    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 = []
コード例 #2
0
    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 = []
コード例 #3
0
    def __init__(self, driver, index, version):
        self.driver = driver
        self.feedback = InterviewFeedback(self.driver)
        self.new_tab = SwitchWindow.SwitchWindowClose(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 ------>>>>
        """
        feed_excel = excelRead.ExcelRead()
        feed_excel.read(inputFile.INPUT_PATH['feedback'], index=index)
        xl = feed_excel.excel_dict
        self.xl_bucket = xl['completed_bucket'][0]
        self.xl_candidate_name = xl['event_name'][0].format(version)
        self.xl_pending_decision = xl['pending'][0]
        self.xl_shortlist_decision = xl['shortlist'][0]
        self.xl_rating = xl['rating'][0]
        self.xl_rating1 = xl['rating1'][0]
        self.xl_comment = xl['unlock_comment'][0]
        self.xl_overall = xl['unlock_overall'][0]

        self.int1_feedback_collection = []
        self.pf1_collection = []
        self.update_f_d_collection = []
        self.completed_bucket_collection = []
コード例 #4
0
    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)
        """
        ----------------- 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['behalf_comment'][0]
        self.xl_overall = xl['behalf_overall'][0]

        self.behalf_of_collection = []
コード例 #5
0
    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 = []
コード例 #6
0
    def __init__(self, driver, index, version):

        self.driver = driver
        self.int_lobby = InterviewerLobbyPage(self.driver)
        self.new_tab = SwitchWindow.SwitchWindowClose(self.driver)
        self.candidate_login = LoginPage(self.driver)
        """
        ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>>
        """
        slot_excel = excelRead.ExcelRead()
        slot_excel.read(inputFile.INPUT_PATH['candidate_lobby'], index=index)
        xl = slot_excel.excel_dict
        self.xl_candidate_name = xl['name'][0].format(version)
        self.your_turn = xl['your_turn_message'][0]

        self.select_candidate_collection = []
コード例 #7
0
    def __init__(self, driver, index, version):
        self.driver = driver
        self.menu = Menu(self.driver)
        self.search = CandidateSearchPage(self.driver)
        self.task = CandidatePage(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['embrace'], index=index)
        xl = status_excel.excel_dict
        self.xl_more_menu = xl['menu1'][0]
        self.xl_embrace_candidate_tab = xl['menu2'][0]
        self.xl_candidate_name = xl['name'][0].format(version)
        self.xl_message = xl['submit_message'][0]

        self.event_mbrace_collection = []
コード例 #8
0
    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 = []