Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel2

...

QMetry agent allows user to schedule and setup to perform automated project execution at a specific scheduled date and time. While scheduling the automation execution, user can directly specify the custom commands like mvn test, mvn install etc. regardless of automation and build framework. User can assign scheduler to Agent for executing your automated project on the hosting machine. 

Steps to Schedule Automation Testing

  • First of all, configure an agent from the Automation Integration > Automation Agent. Refer to QMetry Agent Configuration for more details.
  • Setup your Automation Project on the same machine as the QMetry Agent.
  • Directly run your automated project from Automation from Integration > Automation Agent > Registered Agents by scheduling your automation.

Custom Command Input

User can schedule the automation execution directly by specifying the custom commands (like mvn test, mvn install, or any other framework specific commands) regardless of the automation and build frameworks - with an added ability to set recurrence of test executions.

This is a command line input, which you provide on the command line interface.

...

Only one kind of scheduling could occur Run now / One time / Recurring. i.e if Recurring schedule exists and if user submits Run Now option then the Recurring Schedule Job will be deleted.


 (A) Run Now

If you want to execute the Agent job immediately, then select the Run Now option and click Submit.

 (B) Run Later

You can schedule the agent to run on a future date and time. Scheduling executions helps testers set execution schedule to be run one after the another.

 a. One Time Occurrence

To schedule the run only once on particular day and time, select the Run Later option for Schedule and One Time option for Occurrences.

  • Schedule: Run Later
  • Occurrences: One Time
  • Schedule date and time: Open the calendar and select date and time to initiate the Agent job, and click Submit.


  • Schedule Date: This is scheduled date to execute the command. By default, the field shows current system date in MM-DD-YYYY format. User can modify the date as per requirement. To pick date from calendar, click the calendar icon adjacent to the field.
  • Schedule Time: This is scheduled time to execute the command. Three separate number fields are provided for Hours, Minutes and Seconds. By default, the drop down list shows current system time in HH:MM:SS format. User can modify the time as per requirement by selecting the suitable time to execute the command. Schedules will be sent to the agent at the defined time.


 b. Recurring Occurrence

To schedule the recurring runs during a particular period, select the Run Later option for Schedule and Recurring option for Occurrences.

  • Schedule: Run Later
  • Occurrences: Recurring
  • Starting On and Ending On: Select dates using calendar
  • Schedule time: Enter time in HH:MM:SS format
  • Recur: Select one frequency from the following and its corresponding option to schedule the QMetry Agent run recurrently.
    • Daily
    • Weekly
    • Monthly

Then click Submit.

View QMetry Automation Agent History

  1. Go to Automation > Integration > Automation Agent.
  2. On the Registered Agents section, click on the History button to view the schedule details of that particular Agent. A pop-up screen opens that displays schedule details of the Agent.

...

Task immediate on schedule gets executed. Other scheduled tasks get executed in sequence in accordance with their scheduled date and time.

Delete Agent 

  1. Go to Automation > Integration > Automation Agent.
  2. On the Registered Agents section, click on the Delete button for the Agent you want to delete.