Your e-Business Quality Partner eValid™ -- Automated Web Quality Solution
Browser-Based, Client-Side, Functional Testing & Validation,
Load & Performance Tuning, Page Timing, Website Analysis,
and Rich Internet Application Monitoring.

Setting Up eValid as a Scheduled Task with the Windows Scheduler
eValid Home

This page presents the steps to be undertaken to be able to properly set-up eValid as a service for use with the Windows Scheduler.

Step 1: Selecting the Script/s to be Included
Select a script to be included as a service to the scheduler such as text or image validations using the ValidateSelectedText and xySyncRect command respectively. 

Step2: Creating the Batch File
In your text editor (usually notepad) add the batch command line interface to call eValid with the corresponding script (more information on the different windows command line interface can be found here). For example:

eValid 	-B yahoo.evs ^
	-FE 15mins-event.log ^
	-PA Y ^
	-FM 15mins-message.log ^
	-PA Y ^
	-DD "C:\NT scheduled eValid testing"

The above command line example runs the script "yahoo.evs", and specifies a name (-FE, -FM) for the event and message logs, and appends (-PA) to the end of each log file in the specified working folder (-dd "Path").

Save the file with a *.bat extension.

Step 3: Add the Batch File as a Scheduled Task
Launch the scheduler or click on "Start > Programs > Accessories > System Tools > Scheduled Tasks".

Click on "File > New > Scheduled Task" to start a new task to be added in scheduler.

Once the new schedule has been added, rename the schedule and double click the icon to set your preferences. Select the appropriate path where the batch files which was earlier created is located. 

To change the schedule of when the command will be executed, click on the "Schedule" tab located beside the "Task" tab. The scheduled task/s can be run daily or however often the user feels it is necessary to run these scripts. 

The final tab, "Settings" lets the user have control of the other options available to scheduler.

Once the settings have been finalized, click on the apply button. provided the settings are correct, the scheduler will prompt the user for the administrator password and will not continue to add the created task if the wrong password is supplied.

Once completed, the scheduled task appears in scheduler and will launch the program based on the settings specified. You may also want to check the specified folder in the batch file to confirm that the proper log files have been created for the specific schedule created.

Additional Notes
Here are some additional notes about achieving reliable scheduler operation.

  1. The scheduler in some Windows setups may decline to run a test which was already launched, but which has not completed. This may cause a scheduled run to be missed because the prior run was not completed.
  2. A good safety factor is never to schedule eValid runs that take N seconds any more often than N/2 seconds (50% safety factor).
  3. If runs of the same script MUST be run in rapid succession it is good practice to have multiple copies and name the scripts in a way that the scheduler launches them in spite of playback time overlap.
  4. It is good practice to add a ExitNow command at the end of your script to ensure that eValid does exit when the playback is complete.