Prudential_UK_A
15 years agoFrequent Contributor
Custom Assertion
Hi,
Currently I am using script assertions to assert response values that depends on relationships(greater than, less than, equals) between request field values, also response values that depends on existence of elements in the request etc.
Is it possible for me to write custom assertions that non-technical users can use? I want to have it set up so that they can configure it with xpath values for the request values to compare, xpath for response value to assert and acceptable response values for true and false cases?
Regards
Peter
Currently I am using script assertions to assert response values that depends on relationships(greater than, less than, equals) between request field values, also response values that depends on existence of elements in the request etc.
Is it possible for me to write custom assertions that non-technical users can use? I want to have it set up so that they can configure it with xpath values for the request values to compare, xpath for response value to assert and acceptable response values for true and false cases?
Regards
Peter