def __init__(self, driver, index): self.driver = driver self.login = Login(self.driver) self.search = AdvanceSearchPage.Search(self.driver) self.getby = EventGetByNamePage.EventGetByName(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.int1_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.menu = Menu(self.driver) self.search = AdvanceSearchPage.Search(self.driver) self.getby = RequirementGetByName(self.driver) self.sub_tab = RequirementSubTabs(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ status_excel = excelRead.ExcelRead() status_excel.read(inputFile.INPUT_PATH['requirement_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_req_name = xl['name'][0].format(version) self.help_desk_collection = []
def __init__(self, driver, index): self.driver = driver self.login = Login(self.driver) self.search = AdvanceSearchPage.Search(self.driver) self.getby = EventGetByNamePage.EventGetByName(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ login_excel = excelRead.ExcelRead() login_excel.read(inputFile.INPUT_PATH['login_excel'], index=index) xl = login_excel.excel_dict self.xl_login = xl['c_login_name'][0] self.xl_user = xl['c_user_name'][0] self.xl_password = xl['c_password'][0] self.xl_logged_in_title = xl['c_logged_in_title'][0] int_excel = excelRead.ExcelRead() int_excel.read(inputFile.INPUT_PATH['interview_lobby'], index=index) xl = int_excel.excel_dict self.xl_int2_name = xl['int2_name'][0] self.rec_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 = []
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.config = EventConfiguration(self.driver) self.event_sub_tab = EventSubTabs(self.driver) """ ----------------- EXCEL READ AND TO ASSIGN VALUES TO RESPECTIVE INIT VARIABLES ------>>>> """ status_excel = excelRead.ExcelRead() status_excel.read(inputFile.INPUT_PATH['event_assign_config'], 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_user_name = xl['user_name'][0] self.xl_on_off_button = xl['on_off'][0] self.xl_enable_disable_button = xl['enable_disable'][0] self.xl_save_button = xl['save'][0] self.xl_message = xl['message'][0] self.event_config_collection = []