title: Take snapshot or screenshot while highligting the field in QTP during runtime
body: <p>I am trying to take screenshot of a field while highlighting that field during run time in QTP.</p>
  
  <pre><code>systemUtil.Run "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "--ignore-certificate-errors -incognito " &amp; "www.google.com"
  
  Browser("Google").Page("Google").WebEdit("Search").highlight
  
  While Browser("Google").Page("Google").WebEdit("Search").highlight = True
  Browser("Google").Page("Google").WebEdit("Search").CaptureBitmap("C:\Google.bmp")
  Wend
  </code></pre>
  
  <p>Thanks, any lead would be helpful for me.</p>