Hello aqu,
Basically you can set a condition such as:
If Application(“Application”).View(“View”).Object(“Welcome”).Exist Then
Application(“Application”).CustomReport True, “Welcome page Success”, “Welcome page appeared Successfully.”, True
Else
Application(“Application”).CustomReport False, “Welcome page Error”, “Net is off and the welcome page did not appear.”, True
ZAP.StopTest
End If
The “Object(“Welcome”)” you can change to any expected object which appears only in the Welcome page.
Thanks,
ZAPTEST Team