Get help with testing, discuss unit testing strategies etc.


Post by sridharR »

t.it(..................{

try{
t.waitForElementVisible(' ');

}
catch(e)
{

//some other to handle the element
}
)};

Please let me know if try catch is possible

Post by nickolay »

Don't forget to use
 tags.

Generally, handling failure in "waitFor" methods is not supported. You will need to implement your own polling solution. Note, that it is possible to cancel the "waitFor" method, using the `force` method from the object it returns: https://www.bryntum.com/docs/siesta/#!/api/Siesta.Test.More-method-waitFor

Post Reply