Nexial Automation

Test Automation Platform for everyone!

X

json » assertElementPresent(json,jsonpath)

Description

This command asserts the JSON element as described via jsonpath is present in json

Parameters

  • json - JSON content or file
  • jsonpath - the path to the JSON element in question

Example

Book Store Data in JSON

Script:

Output: