Open Queries View from iTest Show View
Select the step in iTest testcase for which we need to add validation rules using Analysis Rules.
Select the desired query from the "Queries View"
Right click on it and select Quick Analysis Rule
Click on "Query against the structured response data"
Select "Compare and take action accordingly"
An Analysis rule will be added for the selected step in the testcase.