Resources

Knowledge Base

Network Monitor.Ping

ping

Task

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.

Solution

  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.