KillProcess function in RoutineBot

Syntax

KillProcess( Path:String )

Parameters

Path:String

Full path to executable file, that need to be terminated.

Return value
If application is running and is successfully terminated, the function returns 1, otherwise function returns 0.

Example
Execute('C:\WINDOWS\notepad.exe');
Wait(1000);
KillProcess('C:\WINDOWS\notepad.exe');

This example will run notepad, wait 1 second and close notepad.
Download example KillProcess.

Posted in Articles
Tags: ,

Example: GUI test with RoutineBot

RoutineBot is testing GUI, trying to enter various values into the text fields and processing warning messages that tested program shows.

Gui Test Automation

GUI Testing TipsCheck out our GUI Test Automation tips.
Test Automation Step-by-Step
Learn more than 99% users know about test automation! Subscribe to maillist now! Learn how to create scripts that will do routine job for you.

Email: