[progress Communities] [progress Openedge Abl] Forum Post: Re: How To Use...

  • Thread starter Thread starter Phani Sajja
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top