本文整理匯總了Python中GeoshieldCommonFiles.AppCommanUtility.select_sub_tool方法的典型用法代碼示例。如果您正苦於以下問題:Python AppCommanUtility.select_sub_tool方法的具體用法?Python AppCommanUtility.select_sub_tool怎麽用?Python AppCommanUtility.select_sub_tool使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類GeoshieldCommonFiles.AppCommanUtility
的用法示例。
在下文中一共展示了AppCommanUtility.select_sub_tool方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: click_right_tab_historic
# 需要導入模塊: from GeoshieldCommonFiles import AppCommanUtility [as 別名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import select_sub_tool [as 別名]
def click_right_tab_historic(driver, agency_feed_item_avl_unitid_text, agency_feed_avl, index, ws_index):
AppCommanUtility.select_sub_tool(driver, "Historic", index, ws_index, class_name="removeRightBorder")
agency_feed_avl_fill_data(driver, "Unit Id", agency_feed_avl, index, ws_index)
agency_feed_date_fill_date(driver, "Select by Unit")
fill_data_select_date(driver)
click_okbtn_historic_select_by_unit_tab(driver, agency_feed_avl, index, ws_index)
示例2: click_agency_feed_lpr_historic_select_by_lpn
# 需要導入模塊: from GeoshieldCommonFiles import AppCommanUtility [as 別名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import select_sub_tool [as 別名]
def click_agency_feed_lpr_historic_select_by_lpn(driver, agency_feed_lpr_textbox, agency_feed_lpr_item, index, ws_index):
AppCommanUtility.select_sub_tool(driver, "Historic", index, ws_index, class_name="removeRightBorder")
agency_feed_lpr_fill_data(driver, "License Plate Number", agency_feed_lpr_textbox, index, ws_index)
agency_feed_lpr_ddl_list(driver, "Hits", agency_feed_lpr_item, index, ws_index)
AppCommanUtility.select_ddl_item(driver, "All", agency_feed_lpr_item, index, ws_index)
agency_feed_lpr_ddl_list(driver, "Unit", agency_feed_lpr_item, index, ws_index)
AppCommanUtility.select_ddl_item(driver, "ALL", agency_feed_lpr_item, index, ws_index)
agency_feed_date_fill_date(driver, "Select by LPN")
click_lpr_select_by_lpn_okbtn(driver, agency_feed_lpr_item, index, ws_index)
示例3: click_utilities_item_selection_proximity
# 需要導入模塊: from GeoshieldCommonFiles import AppCommanUtility [as 別名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import select_sub_tool [as 別名]
def click_utilities_item_selection_proximity(driver, tools_utilities_selection_item, sub_layer_name, tool_selection_textbox_distance_text, index, ws_index):
""" Method to select the tab proximity and fill data in proximity """
AppCommanUtility.click_maximize_btn(driver, tools_utilities_selection_item, index, ws_index)
AppCommanUtility.select_sub_tool(driver, "Proximity", index, ws_index, class_name="removeRightBorder")
utilities_selection_ddl_list(driver, "Primary Objects Layer", tools_utilities_selection_item, index, ws_index, class_name="proximityRowContainer", class_name_label="proximityLabelText")
AppCommanUtility.select_ddl_item(driver, sub_layer_name, tools_utilities_selection_item, index, ws_index)
fill_data_utilities_selection(driver, "Distance", tool_selection_textbox_distance_text, tools_utilities_selection_item, index, ws_index, class_name="proximityRowContainer", class_name_label="proximityLabelText")
utilities_selection_ddl_list(driver, "Unit", tools_utilities_selection_item, index, ws_index, class_name="proximityRowContainer", class_name_label="proximityLabelText")
AppCommanUtility.select_ddl_item(driver, "Miles", tools_utilities_selection_item, index, ws_index)
utilities_selection_ddl_list(driver, "Nearby Objects Layer", tools_utilities_selection_item, index, ws_index, class_name="proximityRowContainer", class_name_label="proximityLabelText")
AppCommanUtility.select_ddl_item(driver, sub_layer_name, tools_utilities_selection_item, index, ws_index)
tool_selection_click_ok_btn(driver, class_name="proximityButton", index=1)
time.sleep(1)