Example #1
0
 def test_008(self):
     Selenium.page_has_loaded(self)
     Selenium.switch_to_iframe(self, "Frame4 Alerta")
     Selenium.get_elements(self, "Alert").click()
     Selenium.esperar(self, 5)
     Selenium.alert_windows(self, "accept")
     Selenium.esperar(self, 5)
Example #2
0
 def test_007(self):
     # CARGAR EL JSON CON LOS VALORES DE LOS ID DE LA APP
     Selenium.get_json_file(self, "frames")
     Selenium.switch_to_iframe(self, "Frame4 Alerta")
     Selenium.get_elements(self, "Alerta").click()
     Selenium.esperar(5)
     Selenium.alert_windows(self, "accept")
     Selenium.esperar(5)
    def test_006(self):
        Selenium.get_json_file(self, "helpdesk")

        Selenium.send_key_text(self, "txt_agente", "alpha")

        Selenium.send_key_text(self, "txt_contrasena", "alaaa")

        Selenium.get_elements(self, "btn_aceptar").click()

        Selenium.esperar(4)

        Selenium.alert_windows(self, "accept")

        Selenium.esperar(5)