Index: shared/scripts/names.py =================================================================== diff -u -r9adc943bb139152cea73c31b2d508b2cea3d6ec5 -rbfb4bbb1b69a25aa529ad3bafe259263ba960307 --- shared/scripts/names.py (.../names.py) (revision 9adc943bb139152cea73c31b2d508b2cea3d6ec5) +++ shared/scripts/names.py (.../names.py) (revision bfb4bbb1b69a25aa529ad3bafe259263ba960307) @@ -148,7 +148,15 @@ #Manager o_manager_Text = {"container": o_Gui_MainView, "text": "Manager", "type": "Text", "unnamed": 1, "visible": True} o_treatment_management = {"container": o_Gui_MainView, "text": "Treatment Management", "type": "Text", "unnamed": 1, "visible": True} +o_Gui_MainView_2 = {"type": "Gui::MainView", "unnamed": 1, "visible": True} +o_hideKeyIcon_Image = {"container": o_Gui_MainView_2, "id": "_hideKeyIcon", "source": "qrc:/plugins/QtQuick/VirtualKeyboard/Styles/denali/images/iHidekeyboard.svg", "type": "Image", "unnamed": 1, "visible": True} +o_hideKeyBackground_Rectangle = {"container": o_Gui_MainView_2, "id": "_hideKeyBackground", "type": "Rectangle", "unnamed": 1, "visible": True} +o_SettingsBase_Failed_to_set_static_IP_Address_Text = {"container": o_SettingsBase_SettingsWiFi, "text": "Failed to set static IP Address", "type": "Text", "unnamed": 1, "visible": True} + + + + Index: tst_settings_information/test.py =================================================================== diff -u -r9adc943bb139152cea73c31b2d508b2cea3d6ec5 -rbfb4bbb1b69a25aa529ad3bafe259263ba960307 --- tst_settings_information/test.py (.../test.py) (revision 9adc943bb139152cea73c31b2d508b2cea3d6ec5) +++ tst_settings_information/test.py (.../test.py) (revision bfb4bbb1b69a25aa529ad3bafe259263ba960307) @@ -401,7 +401,7 @@ utils.waitForGUI(0.1) type(waitForObject(param), "") utils.waitForGUI(0.1) - + def verify_wifi_parameters(parameter): """ @@ -414,13 +414,16 @@ ip_adress = object.children(waitForObjectExists(names.o_ip_address_object)) enter_address_value(names.o_ip_address_text_inut,entry=str(config.IP_ADDRESS[parameter])) test.compare(ip_adress[IP_ADRESS_TEXT_INDEX].text, config.IP_ADDRESS[parameter], "IP address should be {}".format(config.IP_ADDRESS[parameter])) + test.compare(waitForObject(names.o_SettingsBase_Failed_to_set_static_IP_Address_Text).text, "Failed to set static IP Address", "IP address error is verified") + utils.waitForGUI(0.1) mouseClick(waitForObjectExists(names.o_gateway_text_inut)) gateway = object.children(waitForObjectExists(names.o_gateway_object)) enter_address_value(names.o_gateway_text_inut,entry=str(config.GATEWAY[parameter])) test.compare(gateway[GATEWAY_TEXT_INDEX].text, config.GATEWAY[parameter], "Gateway should be {}".format(config.GATEWAY[parameter])) + utils.waitForGUI(0.1) mouseClick(waitForObjectExists(names.o_subnet_mask_text_input)) subnet_mask = object.children(waitForObjectExists(names.o_subnet_mask_object)) @@ -615,7 +618,7 @@ utils.tstStart(__file__) startApplication(config.AUT_NAME) navigate_to_settings_screen() - + """ verify_settings_parameters() verify_parameters_under_information() verify_hd_and_dg_versions(hd_major=10, hd_minor=20, hd_micro=30, hd_build=4000, hd_fpga_id=50, @@ -661,7 +664,7 @@ mouseClick(waitForObjectExists(settings_text_obj(config.VOLUME_AND_BRIGHTNESS_TEXT))) verify_volume_and_brightness_section() verify_alarm_volume() - + """ verify_wifi_setting() verify_bluetooth_cuff_setting() verify_dg_cleaning_setting()