Know the Status Of a Statement

Hi Team,
I am New to ruby and know little bit about ruby . Currently i am working
on webpage automation .
i m facing a problem that i can’t identify the status of a webpage
whether it pass or fail .if there is a problem persist then
automatically it fails and throwing an error but we can’t identify the
status of the statement as well as web page
is there any method or function there to identify the status of the
statement

currently using the scite editor.

looking for response

thanks

Hi,

What’s the “status of the statement”? Could you please say exactly what
you want so we can actually understand it?