Nova AI Assertions

This Nova AI feature is designed to supports the creation of autonomous test assertions on API script. Once an user generate assertions for a script using this feature, they will be able to add directly assertions to respective script from the Nova AI. As of now its applicable for functional testing for REST APIs only.

Contents


To begin with Nova AI Assertion:

Step-1: Under projects, navigate to Functional Testing.

Step-2: Then under suite, below scripts listing table you will find Nova AI icon. Or inside script, click on Generate test case button.

Icon
Icon

Step-3: Then select a respective environment, and hit Generate Test cases.

Icon

Step-4: Then select a respective environment, and hit Generate Test cases.

Step-5: You will be displayed with list of all assertions. Choose the desired one or select all. Then hit Add & Save API.

Icon

Step-6: Then under Assertion tab, below respective assertions, it displays all the selected assertion with Nova icon.

Icon

Step-7: Hit a Run button to execute API and check the result of assertions.


Duplicate Assertions

  • When we generate assertion from Nova and then select and click on Add & Save. Then, a Duplicate Found modal gets pop up, if a script is having same assertion.

    Icon
  • Here can replace new value generated by Nova to actual assertion value by selecting Replace on dropdown.

  • Or else, can delete Nova generated value and keep old one as it is, ny selecting Delete New on dropdown.

    Icon
  • Then hit an Apply button to see respective changes.

    Icon
  • Under Header Assertion, content-type vlaue is replaced from application/json to application/xml

  • Under JSON path Assertion, $.id vlaue is retain as it is since its opt for Delete New option on Duplicate Found Modal.


Last updated