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)
 def test_006(self):
     # CARGAR EL JSON CON LOS VALORES DE LOS ID DE LA APP
     Selenium.get_json_file(self, "Amazon")
     Selenium.scroll_to(self, "Liga Amazon")
     Selenium.esperar(5)
     Selenium.js_clic(self, "Liga Amazon")
     Selenium.page_has_loaded(self)
     Selenium.esperar(5)
Example #3
0
    def test_009(self):
        Selenium.page_has_loaded(self)
        Selenium.get_elements(self, "txt_busqueda").click()

        Selenium.get_elements(self, "txt_busqueda").send_keys("Selenium Udemy")
        #Selenium.send_key_text(self, "txt_busqueda", "Selenium Udemy")

        Selenium.esperar(self, 5)

        Selenium.send_especific_keys(self, "txt_busqueda", "Enter")
        Selenium.esperar(self, 5)
Example #4
0
 def test_007(self):
     Selenium.get_json_file(self, "Amazon")
     Selenium.scroll_to(self, "Sobre Amazon")
     Selenium.esperar(5)
     Selenium.js_clic(self, "Sobre Amazon")
     Selenium.page_has_loaded(self)
 def test_008(self):
     Selenium.page_has_loaded(self)
     Selenium.get_elements(self, "txt_busqueda").click()
     Selenium.send_key_text(self, "txt_busqueda", "w3schools")
     Selenium.send_especific_keys(self, "txt_busqueda", "Enter")
     Selenium.esperar(5)