Replace the delay with another form of waiting


#1

buenas tardes
mi problema es que e intentado sustituir el delay por otros tiempos de espera mas versatiles, por ejemplo:
WebUI.waitForElementPresent()
WebUI.waitForElementClickable()
WebUI.verifyElementPresent()
pero no parecen funcionar del todo y me fuerzan a poner delay de todas formas.
¿conocen otros metodos?


#2

In English…

good afternoon my problem is that i tried to replace the delay with other more versatile wait times, for example:
WebUI.waitForElementPresent()
WebUI.waitForElementClickable()
WebUI.verifyElementPresent()

but they don’t seem to work at all and force me to put delay anyway. Do you know any other methods?


#3

You would help us better if you posted your code and perhaps the HTML from the page you are trying test. Read this and follow the advice:


#4

Agreed, we need more information. Can you give an example of a wait condition that is not working for you?