<img src="//trc.taboola.com/1222697/log/3/unip?en=page_view" width="0" height="0" style="display:none">


The Knowledgebase articles are deprecated. Please visit the new Guides and Resources here: https://www.uipath.com/developers/guides-and-resources.

Knowledge Base

Network Monitor.Ping



This sample pings yahoo.com every 20 seconds, parse and log the result.

Steps to automate

  1. Open cmd.exe.
  2. Ping the website.
  3. Get the result.
  4. Log the result.


  1. Open cmd.exe using "Start Aplication" activity.
  2. Type into cmd.exe "ping www.yahoo.com".
  3. Wait 20s.
  4. Extract the result using "Get Visible Text" activity.
  5. Parse the result string with Regex.
  6. Log the result.
  7. Clear the console.
  8. Return to step 2.