title: UI Testing with REST API
body: <p>I have one requirement in Automation to test UI and APIs at a time. Get parameters from the UI and pass them to API and get response. </p>
  
  <p>Steps are like:</p>
  
  <ul>
  <li>Step 1: Enter text in the search field</li>
  <li>Step 2: Click on Search button</li>
  <li>step 3: Read text from the search field and pass to the API</li>
  <li>Step 4: Get the Response</li>
  <li>Step 5: Compare both UI and API response. </li>
  </ul>
  
  <p>Is it possible by automation? </p>
  
  <p>Please help me with your suggestions.</p>