Forum Discussion

Aplis's avatar
Aplis
New Contributor
3 years ago

Script assertion error

 

 I have a script assertion to trigger subsequent assertions within a step based on a value. While executing in a single flow I get the below error sporadically but while executing the test case in a loop, I get it more frequently . although the script is marked as fail, it is enabling and disabling other assertions based on value correctly. This issue is causing the test suite to be in FAIL status all the time. 

Script editor says "Context" object is available, but when executed it says its not available . can someone help me with this please.

ReadyAPI version: 3.40.2

 

 

 

 

 

  • KarelHusa's avatar
    KarelHusa
    Champion Level 1

    Aplis,

    the context should be available for this script every time.

     

    I would recommend contacting support.

     

    Best regards,

    Karel

     

    • Aplis's avatar
      Aplis
      New Contributor

      Thank you. Will open a case.