def setup_order_book(path):
    global pid
    book = osu.excelBook(path, pid)
    book.open_xl_sheet()
    book.set_tracker_tab()
    book.rebuild_partner_tracker()
    return book
Exemplo n.º 2
0
def setup_order_book(path):
	global pid
	book = osu.excelBook(path, pid)
	book.open_xl_sheet()
	#book.set_book_tabs("OrderBooks")
	book.rebuild_order_book()
	book.order_sheet.sheets[book.excel_book_parameters['OrderSheet Tabs'][0]].activate()
	return book
Exemplo n.º 3
0
def setup_order_sheet(path):
	global pid
	book = osu.excelBook(path, pid)
	book.open_xl_sheet()
	book.set_xl_tabs()
	book.reset_sheet_v_459()
	book.order_sheet.sheets[book.excel_book_parameters['OrderSheet Tabs'][0]].activate()
	return book
Exemplo n.º 4
0
def open_third_order_sheet():
    book = osu.excelBook(fresh_sheet_parameter_path)
    book.open_xl_sheet()
    book.order_sheet.sheets[book.excel_book_parameters['OrderSheet Tabs']
                            [0]].activate()
    global pid
    pid = book.process_id
    return book
Exemplo n.º 5
0
def open_second_order_sheet():
    book = osu.excelBook(parameter_path_copy_sheet)
    book.open_xl_sheet()
    book.order_sheet.sheets[book.excel_book_parameters['OrderSheet Tabs']
                            [0]].activate()
    global pid
    pid = book.process_id
    return book
Exemplo n.º 6
0
def setup_partner_tracker(path):
    global pid
    book = osu.excelBook(path, pid)
    book.open_xl_sheet()
    #book.set_tracker_tab()
    book.rebuild_partner_tracker()
    book.order_sheet.sheets[book.excel_book_parameters['OrderSheet Tabs']
                            [0]].activate()
    return book
Exemplo n.º 7
0
def setup_order_book(path):
    global pid
    book = osu.excelBook(path, pid)
    book.open_xl_sheet()

    print('Breadcrumb Trail: Point 1.1')

    #book.set_book_tabs("OrderBooks")
    book.clicker.shut_down()
    book.rebuild_order_book()
    book.order_sheet.sheets[book.excel_book_parameters['OrderSheet Tabs']
                            [0]].activate()
    return book
Exemplo n.º 8
0
def setup_order_sheet(path):
    """
    Summary: Creates an instance of the excelBook class.

    Returns: an instance of the Excel Book
    
    Defined: In B2B3P358Tests.py
    """
    global pid
    book = osu.excelBook(path, pid)
    book.open_xl_sheet()
    #book.set_xl_tabs()
    book.reset_sheet_v_459()
    book.order_sheet.sheets[book.excel_book_parameters['OrderSheet Tabs'][0]].activate()
    return book
Exemplo n.º 9
0
 def setup_partner_tracker(self, parameter_path, pid):
     book = osu.excelBook(parameter_path, pid)
     time.sleep(2)
     book.clicker.shut_down()
     book.open_xl_sheet()
     return book