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


Python AppCommanUtility.click_left_panel_open方法代码示例

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


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

示例1: test_serach_attribute_tool

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_serach_attribute_tool(self, index, result, tools_advanced_search_search_attribute_item, search_attribute_textbox_search_layer_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):

        """ Test Method """

        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver, tools_advanced_search_search_attribute_item, int(index), ws_index=2, method_name="click_left_panel_open")

        # click widget icon
        SeleniumActionsToolSearchAttribute.click_widget_icon(self.driver, tools_advanced_search_search_attribute_item, int(index), ws_index=2)

        # click advanced search item search attribute
        SeleniumActionsToolSearchAttribute.click_advanced_search_item_search_attribute(self.driver, tools_advanced_search_search_attribute_item, int(index), ws_index=2)

        # fill data search attribute new query
        SeleniumActionsToolSearchAttribute.fill_data_search_attribute_new_query(self.driver, search_attribute_textbox_search_layer_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=2)

        # click right sub panel prior query
        SeleniumActionsToolSearchAttribute.click_right_sub_panel_prior_query(self.driver, tools_advanced_search_search_attribute_item, index, ws_index=2)

        # fill data search attribute prior query
        SeleniumActionsToolSearchAttribute.fill_data_search_attribute_prior_query(self.driver, query_name, search_attribute_tool_name, index, ws_index=2)

        # search attribute tool validation
        SeleniumActionsToolSearchAttribute.app_validation(self.driver, search_attribute_tool_name, search_attribute_textbox_search_layer_text, search_attribute_sub_layer_name, index, ws_index=2)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:28,代码来源:TestSearchAttribute.py

示例2: test_search_coordinate_tool

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_search_coordinate_tool(self, index, result, tools_utilities_selection_item, main_layer_name, sub_layer_name, tool_selection_textbox_distance_text):

        """ Test Method """
        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver, tools_utilities_selection_item, int(index), ws_index=6, method_name="click_left_panel_open")

        # select browse tab
        SeleniumActionTestToolSelection.select_browse_tab_layer(self.driver, main_layer_name, sub_layer_name, tools_utilities_selection_item, int(index), ws_index=6)

        # click widget icon
        SeleniumActionTestToolSelection.click_widget_icon(self.driver, tools_utilities_selection_item, int(index), ws_index=6)

        # click utilities item selection
        SeleniumActionTestToolSelection.click_utilities_item_selection(self.driver, tools_utilities_selection_item, sub_layer_name, int(tool_selection_textbox_distance_text), int(index), ws_index=6)

        # tool selection buffer tab validation
        SeleniumActionTestToolSelection.tool_selection_buffer_validation(self.driver, tools_utilities_selection_item, int(index), ws_index=6)

        # click utilities item proximity
        SeleniumActionTestToolSelection.click_utilities_item_selection_proximity(self.driver, tools_utilities_selection_item, sub_layer_name, int(tool_selection_textbox_distance_text), int(index), ws_index=6)

        # tool selection proximity tab validation
        SeleniumActionTestToolSelection.tool_selection_proximity_validation(self.driver, tools_utilities_selection_item, int(index), ws_index=6)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:27,代码来源:TestToolSelection.py

示例3: test_agency_feed_current_call_for_service

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_agency_feed_current_call_for_service(self, index, result, agency_feed_lpr, agency_feed_lpr_textbox, agency_feed_lpr_distance_textbox):

        """ Test Method """
        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver, agency_feed_lpr, int(index), ws_index=18, method_name="click_left_panel_open")

        # click widget icon
        SeleniumActionsAgencyFeedLPR.click_widget_icon(self.driver, agency_feed_lpr, int(index), ws_index=18)

        SeleniumActionsAgencyFeedLPR.click_agency_feed_lpr(self.driver, agency_feed_lpr, agency_feed_lpr_textbox, int(index), ws_index=18)

        SeleniumActionsAgencyFeedLPR.click_agency_feed_lpr_historic_select_by_lpn(self.driver, agency_feed_lpr_textbox, agency_feed_lpr, int(index), ws_index=18)

        SeleniumActionsAgencyFeedLPR.click_historic_select_by_area(self.driver, int(agency_feed_lpr_distance_textbox), agency_feed_lpr, int(index), ws_index=18)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:18,代码来源:TestAgencyFeedLPR.py

示例4: test_agency_feed_current_call_for_service

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_agency_feed_current_call_for_service(self, index, result, agency_feed_current_call_for_service, agency_feed_current_call_for_service_widget_name, live_cad_layer_name):

        """ Test Method """

        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver, agency_feed_current_call_for_service, int(index), ws_index=16, method_name="click_left_panel_open")

        # click widget icon
        SeleniumActionsAgencyFeedCurrentCalls.click_widget_icon(self.driver, agency_feed_current_call_for_service, int(index), ws_index=16)

        # click agency feed item
        SeleniumActionsAgencyFeedCurrentCalls.click_agency_feed_item_current_calls_for_service(self.driver, agency_feed_current_call_for_service, int(index), ws_index=16)

        # validate agency feed live CAD
        SeleniumActionsAgencyFeedCurrentCalls.validate_agency_feed_current_call_for_services(self.driver, agency_feed_current_call_for_service_widget_name, live_cad_layer_name, int(index), ws_index=16)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:19,代码来源:TestAgencyFeedCurrentCalls.py

示例5: test_social_media_you_tube

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_social_media_you_tube(self, index, result, social_media_youtube, youtube_distance_textbox_text, youtube_keyword_textbox_text, youtube_refreshtime_textbox_text, youtube_units, youtube_layer_name):

        """ Test Method """

        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver, social_media_youtube, int(index), ws_index=13, method_name="click_left_panel_open")

        # click widget icon
        SeleniumActionsSocialMediaYouTube.click_widget_icon(self.driver, social_media_youtube, int(index), ws_index=13)

        # click social media item you tube
        SeleniumActionsSocialMediaYouTube.click_social_media_item_you_tube(self.driver, social_media_youtube, int(youtube_distance_textbox_text), youtube_keyword_textbox_text, int(youtube_refreshtime_textbox_text), youtube_units, int(index), ws_index=13)

        # validate social media you tube
        SeleniumActionsSocialMediaYouTube.validate_social_media_youtube(self.driver, social_media_youtube, youtube_layer_name, int(index), ws_index=13)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:19,代码来源:TestSocialMediaYouTube.py

示例6: test_social_media_flickr

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_social_media_flickr(self, index, result, social_media_flickr, flickr_distance_textbox_text, flickr_keyword_textbox_text, flickr_refreshtime_textbox_text, flickr_unit, flickr_layer):

        """ Test Method """

        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver, social_media_flickr, int(index), ws_index=14, method_name="click_left_panel_open")

        # click widget icon
        SeleniumActionsSocialMediaFlickr.click_widget_icon(self.driver, social_media_flickr, int(index), ws_index=14)

        # click social media item flickr
        SeleniumActionsSocialMediaFlickr.click_social_media_item_flickr(self.driver, social_media_flickr, int(flickr_distance_textbox_text), flickr_keyword_textbox_text, int(flickr_refreshtime_textbox_text), flickr_unit, int(index), ws_index=14)

        # validate social media item flickr
        SeleniumActionsSocialMediaFlickr.validate_social_media_flickr(self.driver, social_media_flickr, flickr_layer, int(index), ws_index=14)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:19,代码来源:TestSocialMediaFlickr.py

示例7: test_social_media_social_media_search

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_social_media_social_media_search(self, index, result, social_media_social_media_search, social_media_search_distance_textbox_text, social_media_search_keyword_textbox_text, social_media_search_refreshtime_textbox_text, social_media_search_select_source_item, social_media_search_layer_name, social_media_sub_layer):

        """ Test Method """

        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver, social_media_social_media_search, int(index), ws_index=15, method_name="click_left_panel_open")

        # click widget icon
        SeleniumActionsSocialMediaSearch.click_widget_icon(self.driver, social_media_social_media_search, int(index), ws_index=15)

        # click social media item social media search
        SeleniumActionsSocialMediaSearch.click_social_media_item_social_media_search(self.driver, social_media_social_media_search, int(social_media_search_distance_textbox_text), social_media_search_keyword_textbox_text, int(social_media_search_refreshtime_textbox_text), int(index), ws_index=15)

        # validate social media item social media search
        SeleniumActionsSocialMediaSearch.social_media_search_validation(self.driver, social_media_social_media_search, social_media_search_select_source_item, social_media_search_layer_name, social_media_sub_layer, int(index), ws_index=15)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:19,代码来源:TestSocialMediaSocialMediaSearch.py

示例8: test_search_coordinate_tool

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_search_coordinate_tool(self, index, result, tools_navigation_show_coordinates_item, show_coordinate_lable):

        """ Test Method """
        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver,tools_navigation_show_coordinates_item, int(index), ws_index=4, method_name="click_left_panel_open")

        # click widget icon
        SeleniumActionsToolShowCoordinates.click_widget_icon(self.driver, tools_navigation_show_coordinates_item, int(index), ws_index=4)

        # click tool search coordinates
        SeleniumActionsToolShowCoordinates.click_advanced_search_item_search_coordinate(self.driver, tools_navigation_show_coordinates_item, int(index), ws_index=4)

        # fill data in show coordinates tool
        SeleniumActionsToolShowCoordinates.fill_data_navigation_show_coordinates_tool(self.driver, show_coordinate_lable, tools_navigation_show_coordinates_item, int(index), ws_index=4)

        # tool validation search coordinates
        SeleniumActionsToolShowCoordinates.search_coordinates_tool_validation(self.driver, tools_navigation_show_coordinates_item, int(index), ws_index=4)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:21,代码来源:TestToolSearchCoordinates.py

示例9: test_publish_to_AGOL_tool

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_publish_to_AGOL_tool(self, index, result, tools_utilities_publish_to_AGOL_item, tool_AGOL_publish_textbox_username_text, tool_AGOL_publish_textbox_passward_text, tool_AGOL_publish_textbox_webmaptitle_text):

        """ Test Method """
        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel open
        AppCommanUtility.click_left_panel_open(self.driver, tools_utilities_publish_to_AGOL_item, int(index), ws_index=9, method_name="click_left_panel_open")

        # click widget icon
        SeleniumActionsPublishAGOLPortal.click_widget_icon(self.driver, tools_utilities_publish_to_AGOL_item, int(index), ws_index=9)

        # click advance search item publish to AGOL
        SeleniumActionsPublishAGOLPortal.click_advanced_search_item_publish_to_AGOL(self.driver, tools_utilities_publish_to_AGOL_item, tool_AGOL_publish_textbox_username_text, tool_AGOL_publish_textbox_passward_text, tool_AGOL_publish_textbox_webmaptitle_text, int(index), ws_index=9)

        # fill data in arcgis signin tab
        SeleniumActionsPublishAGOLPortal.fill_credentils_arcgis_signin(self.driver)

        # tool validation publish to AGOL
        SeleniumActionsPublishAGOLPortal.tool_publish_to_AGOL_validation(self.driver, tool_AGOL_publish_textbox_webmaptitle_text, tools_utilities_publish_to_AGOL_item, int(index), ws_index=9)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:21,代码来源:TestToolPublishToAGOLPortal.py

示例10: test_find_coordinate_tool

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_find_coordinate_tool(self, index, result, tools_navigation_find_coordinates_item, ddl_tool_find_coordinates, ddl_select_coordinate_system_item, find_coordinates_textbox_longitude_text, find_coordinates_textbox_latitude_text, find_coordinates_textbox_long_min_text, find_coordinates_textbox_lat_min_text, find_coordinates_textbox_long_sec, find_coordinates_textbox_lat_sec, find_coordinate_textbox_zone_text, find_coordinate_textbox_zdl_text, find_coordinate_textbox_letter_text, find_coordinate_textbox_EN_text, find_coordinate_textbox_UTM_zone_text, find_coordinate_textbox_easting_text, find_coordinate_textbox_northing_text):

        """ Test Method """
        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver, tools_navigation_find_coordinates_item, int(index), ws_index=3, method_name="click_left_panel_open")

        # click widegt icon tool
        SeleniumActionsToolFindCoordinate.click_widget_icon(self.driver, tools_navigation_find_coordinates_item, int(index), ws_index=3)

        # click advanced search item find coordinates
        SeleniumActionsToolFindCoordinate.click_advanced_search_item_find_coordinate(self.driver, tools_navigation_find_coordinates_item, int(index), ws_index=3)

        # fill data in navigation tool find coordinates
        SeleniumActionsToolFindCoordinate.fill_data_navigation_find_coordinates(self.driver, ddl_tool_find_coordinates, ddl_select_coordinate_system_item, find_coordinates_textbox_longitude_text, find_coordinates_textbox_latitude_text, find_coordinates_textbox_long_min_text, find_coordinates_textbox_lat_min_text, find_coordinates_textbox_long_sec, find_coordinates_textbox_lat_sec, find_coordinate_textbox_UTM_zone_text, find_coordinate_textbox_easting_text, find_coordinate_textbox_northing_text, find_coordinate_textbox_zone_text, find_coordinate_textbox_zdl_text, find_coordinate_textbox_letter_text, find_coordinate_textbox_EN_text, tools_navigation_find_coordinates_item, int(index), ws_index=3)

        # tool validation find coordinates
        SeleniumActionsToolFindCoordinate.find_coordinates_tool_validation(self.driver, tools_navigation_find_coordinates_item, int(index), ws_index=3)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:21,代码来源:TestToolFindCoordinate.py

示例11: test_google_street_view

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_google_street_view(self):

        """ Test Method """
        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver)

        # click widget item
        SeleniumActionsGoogleStreetView.click_widget_icon(self.driver)

        # click on google street view
        SeleniumActionsGoogleStreetView.click_navigation_item_google_street_view(self.driver)

        # validate tool google street view
        SeleniumActionsGoogleStreetView.tool_google_street_view_validation(self.driver)

        # switch to main driver
        SeleniumActionsGoogleStreetView.switch_main_driver(self.driver)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:21,代码来源:ToolGoogleStreetView.py

示例12: test_agency_feed_current_call_for_service

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_agency_feed_current_call_for_service(self, index, result, agency_feed_avl, agency_feed_avl_unitid_textbox, agency_feed_avl_distance_textbox,  avl_live_layer_name):

        """ Test Method """

        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver, agency_feed_avl, int(index), ws_index=17, method_name="click_left_panel_open")

        # click widget icon
        SeleniumActionsAgencyFeedAVL.click_widget_icon(self.driver, agency_feed_avl, int(index), ws_index=17)

        # click agency feed item AVL
        SeleniumActionsAgencyFeedAVL.click_agency_feed_avl(self.driver, agency_feed_avl, int(index), ws_index=17)

        # validate AVL tab
        SeleniumActionsAgencyFeedAVL.validate_avl_live_tab(self.driver, agency_feed_avl, avl_live_layer_name, int(index), ws_index=17)

        # click right panel
        SeleniumActionsAgencyFeedAVL.click_right_tab_historic(self.driver, agency_feed_avl_unitid_textbox, agency_feed_avl, int(index), ws_index=17)

        SeleniumActionsAgencyFeedAVL.click_historic_select_by_area_tab(self.driver, int(agency_feed_avl_distance_textbox), agency_feed_avl, int(index), ws_index=17)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:24,代码来源:TestAgencyFeedAVL.py

示例13: test_browse_widget

# 需要导入模块: from GeoshieldCommonFiles import AppCommanUtility [as 别名]
# 或者: from GeoshieldCommonFiles.AppCommanUtility import click_left_panel_open [as 别名]
    def test_browse_widget(self, index, result, browse_tab_container_name, category_main_layer_name, category_sub_layer_name, tool_name):

        """ Test Method """

        time.sleep(3)
        self.driver.get("http://geoshieldles.usgovcloudapp.net:8080/geoshieldmissionmodule/")

        # click left panel
        AppCommanUtility.click_left_panel_open(self.driver, tool_name, int(index), ws_index=11, method_name="click_left_panel_open")

        # click widget icon
        SeleniumActionsBrowseWidget.click_widget_icon(self.driver, tool_name, int(index), ws_index=11)

        # click on predefined date range tab
        SeleniumActionsBrowseWidget.click_select_date_value(self.driver, tool_name, int(index), ws_index=11)

        # click predefined date range tab
        SeleniumActionsBrowseWidget.click_predefined_daterange_tab(self.driver, tool_name, int(index), ws_index=11)

        # click browse container
        SeleniumActionsBrowseWidget.click_browse_container(self.driver, browse_tab_container_name, category_main_layer_name, category_sub_layer_name, tool_name, index, ws_index=11)

        # validate browse widget
        SeleniumActionsBrowseWidget.validate_browse_widget(self.driver, category_sub_layer_name, tool_name, index, ws_index=11)
开发者ID:AGOL007,项目名称:Python-GSHLD-Code,代码行数:26,代码来源:TestBrowseWidget.py


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