P
Phani Sajja
Guest
Hi, The API 'AssertError:HasErrorStatus().' can be used to check the presence of an error for lthe last stattement executed. Below is the sample procedure which tries to connect to a non-existing DB with NO-ERROR. When you try to run the test case it will result into success. @test. PROCEDURE TestIt: /*------------------------------------------------------------------------------ Purpose: Notes: ------------------------------------------------------------------------------*/ CONNECT "not-existed" NO-ERROR. AssertError:HasErrorStatus(). END PROCEDURE.
Continue reading...
Continue reading...