当前位置: 首页>>代码示例>>Python>>正文


Python AppCommanUtility.select_ddl_item方法代码示例

本文整理汇总了Python中GeoshieldCommonFiles.AppCommanUtility.select_ddl_item方法的典型用法代码示例。如果您正苦于以下问题:Python AppCommanUtility.select_ddl_item方法的具体用法?Python AppCommanUtility.select_ddl_item怎么用?Python AppCommanUtility.select_ddl_item使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在GeoshieldCommonFiles.AppCommanUtility的用法示例。


在下文中一共展示了AppCommanUtility.select_ddl_item方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: fill_data_search_attribute_new_query

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import select_ddl_item [as 别名]
def fill_data_search_attribute_new_query(driver, search_attribute_select_layer_textbox_text, search_attribute_textbox_Field_text, search_attribute_textbox_Operaror_text, search_attribute_textbox_Value_text, query_name, search_attribute_tool_name, search_attribute_sub_layer_name, tools_advanced_search_search_attribute_item, index, ws_index):

    """ Method to perform fill data in new query tool """

    fill_data_advanced_search_attribure_query(driver, "Select Layer", search_attribute_select_layer_textbox_text)

    fill_data_advanced_serach_attribute_query_ddl(driver, "Select Field", tools_advanced_search_search_attribute_item, index, ws_index)
    AppCommanUtility.select_ddl_item(driver, search_attribute_textbox_Field_text, tools_advanced_search_search_attribute_item, index, ws_index)

    fill_data_advanced_serach_attribute_query_ddl(driver, "Select Operator", tools_advanced_search_search_attribute_item, index, ws_index)
    AppCommanUtility.select_ddl_item(driver, search_attribute_textbox_Operaror_text, tools_advanced_search_search_attribute_item, index, ws_index)

    AppCommanUtility.fill_data_tools_fields(driver, "Eg: 10", search_attribute_textbox_Value_text)
    select_query_title(driver, query_name, tools_advanced_search_search_attribute_item, index, ws_index)

    attribute_query_savequery_button = driver.find_element_by_class_name("attributeQuerySaveQueryButton")
    attribute_query_savequery_button.click()
    time.sleep(1)

    AppCommanUtility.click_popup_close_icon(driver, search_attribute_tool_name)

    attribute_query_search_button = driver.find_element_by_class_name("attributeQuerySearchButton")
    attribute_query_search_button.click()
    time.sleep(1)

    AppCommanUtility.click_popup_close_icon(driver, search_attribute_tool_name)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:28,代码来源:SeleniumActionsToolSearchAttribute.py

示例2: click_agency_feed_lpr_historic_select_by_lpn

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import select_ddl_item [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)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:19,代码来源:SeleniumActionsAgencyFeedLPR.py

示例3: click_social_media_item_flickr

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import select_ddl_item [as 别名]
def click_social_media_item_flickr(driver, social_media_flickr, flickr_distance_textbox_text, flickr_keyword_textbox_text, flickr_refreshtime_textbox_text, flickr_unit, index, ws_index):

    AppCommanUtility.click_widget_items(driver, social_media_flickr, index, ws_index)
    fill_data_flickr_textbox(driver, "Distance", flickr_distance_textbox_text, social_media_flickr, index, ws_index)
    fill_data_flickr_textbox(driver, "Keyword", flickr_keyword_textbox_text, social_media_flickr, index, ws_index)
    fill_data_flickr_textbox(driver, "Refresh Time (in Seconds)", flickr_refreshtime_textbox_text, social_media_flickr, index, ws_index)

    fill_data_flickr_ddl_item(driver, "Unit", social_media_flickr, index, ws_index)
    AppCommanUtility.select_ddl_item(driver, flickr_unit)

    fill_data_select_date(driver, social_media_flickr, index, ws_index)

    select_geometry_flickr_item(driver, social_media_flickr, index, ws_index)

    AppCommanUtility.click_on_map(driver, social_media_flickr, index, ws_index)

    select_flickr_submit_button(driver, social_media_flickr, index, ws_index)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:19,代码来源:SeleniumActionsSocialMediaFlickr.py

示例4: click_social_media_item_you_tube

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import select_ddl_item [as 别名]
def click_social_media_item_you_tube(driver, social_media_youtube, youtube_distance_textbox_text, youtube_keyword_textbox_text, youtube_refreshtime_textbox_text, youtube_units, index, ws_index):

    """ Method to click on social media item youtube """

    AppCommanUtility.click_widget_items(driver, social_media_youtube, index, ws_index)
    fill_data_youtube_textbox(driver, "Distance", youtube_distance_textbox_text, social_media_youtube, index, ws_index)
    fill_data_youtube_textbox(driver, "Keyword", youtube_keyword_textbox_text, social_media_youtube, index, ws_index)
    fill_data_youtube_textbox(driver, "Refresh Time (in Seconds)", youtube_refreshtime_textbox_text, social_media_youtube, index, ws_index)

    fill_data_select_date(driver, social_media_youtube, index, ws_index)

    fill_data_youtube_ddl_item(driver, "Units", social_media_youtube, index, ws_index)
    AppCommanUtility.select_ddl_item(driver, youtube_units)

    click_point_geometry(driver, social_media_youtube, index, ws_index, class_name="youtubePointGeometry")

    AppCommanUtility.click_on_map(driver, social_media_youtube, index, ws_index)

    click_youtube_submit_button(driver,social_media_youtube, index, ws_index, class_name="youtubeSubmitButton")
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:21,代码来源:SeleniumActionsSocialMediaYouTube.py

示例5: click_utilities_item_selection

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import select_ddl_item [as 别名]
def click_utilities_item_selection(driver, tools_utilities_selection_item, sub_layer_name, tool_selection_textbox_distance_text, index, ws_index):

    """ Method to select the tool Selection and fill the data in buffer tab of selection"""

    AppCommanUtility.click_widget_items(driver, tools_utilities_selection_item, index, ws_index)

    utilities_selection_ddl_list(driver, "Select Layer", tools_utilities_selection_item, index, ws_index, class_name="selectBufferRow", class_name_label="selectBufferCellLabel")
    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="selectBufferRow", class_name_label="selectBufferCellLabel")

    utilities_selection_ddl_list(driver, "Unit", tools_utilities_selection_item, index, ws_index, class_name="selectBufferRow", class_name_label="selectBufferCellLabel")
    AppCommanUtility.select_ddl_item(driver, "Miles", tools_utilities_selection_item, index, ws_index)

    AppCommanUtility.select_buffer_graphic_icons(driver, "Draw Point")

    AppCommanUtility.click_on_map(driver, tools_utilities_selection_item, index, ws_index)

    tool_selection_click_ok_btn(driver, class_name="proximityButton", index=0)

    AppCommanUtility.click_minimize_btn(driver, tools_utilities_selection_item, index, ws_index)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:23,代码来源:SeleniumActionTestToolSelection.py

示例6: click_utilities_item_selection_proximity

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import select_ddl_item [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)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:23,代码来源:SeleniumActionTestToolSelection.py


注:本文中的GeoshieldCommonFiles.AppCommanUtility.select_ddl_item方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。