Hello, I got this piece of code:
actual_speed_mobile = WebUI.getText(findTestObject('Page_PageSpeed Insights/div_79'))
def actual_speed_to_be_checked_mobile = actual_speed_mobile.toInteger()
boolean found = false
if (actual_speed_to_be_checked_mobile >= 99) {
println('Page speed is good')
found = true
}
if (!found){
'THE SPEED IS NOT GOOD'
throw new StepFailedException('THE SPEED IS NOT GOOD')
}
WebUI.click(findTestObject('desktop/Page_PageSpeed Insights/div_Desktop'))
After :
if (!found){
'THE SPEED IS NOT GOOD'
throw new StepFailedException('THE SPEED IS NOT GOOD')
I want to continue to test not to stop. In the Project - Settings I got the option set Continue_on_failure.
But it still fails and does not continue to the next step.
Thank you in advance!