So we have an API that I am trying to write automation test to validate the Request Body that is in the form-data format with Key and Values… What I like to see if there is a way to capture the key and the value
- Test- make sure the key and value is present and not null
- Capture the key and value
the above script that i shared even if i put " " the test is passing my expectation was that if i dont put any value in the string than the test should have failed
I hope that helps