1. Add Task

How to Create a Basic Task:

The following are the basic steps to be followed to create a Task in Jiffy.

Note: The following task is created as an example using a CSV Node to explain the steps to create a task. Similar steps can be followed to create a task using any other node.

  1. Navigate to the Task Design section on the left-hand side.
  2. Select the Tasks field.

  3. Select the required Project and Release.

  4. Click on the +Add Task button to create a new task.

  5. Type the name of the task in the Task Title text box and click on the Save button to save the task.

  6. Click on the Steps tab to display the Task Design window.

  7. Drag and drop the required node icon from their respective sections from the right-side of the screen in the Objects tab.

    For Ex: To use CSV node, drag and drop the CSV node icon from the Data Sources section on the right-side of the screen in the Objects tab.

  8. Connect the nodes by clicking on the Start point of the Start Node to In point of the CSV Data node and then from the Out point of the CSV Node to the End point of the End Node.

  9. Click on the Align Nodes icon on the right corner of the design canvas to align the nodes.

  10. Click on the CSV Data node and specify the properties of the node according to the task.
    Note: The properties related information of each node is explained in Nodes section.

  11. Click on the Trial Run icon to run the task.

  12. Click on the CSV Data node and then on the Book icon to view the Input, Output and Run info in the Result of execution dialog box.

Opening an existing task:

Do the following to open an existing task:

  1. Login to Jiffy.
  2. Navigate to Task Design -> Tasks.

  3. Provide the details of the required task in the highlighted fields and then click on the respective task to open the task in the Task Design screen.

Adding REST API Parameters in the Start node:

Do the following to add parameters in the Start node in the Task Design screen.

  1. Double-click on the Start node to add parameters:

    Note: A default URL is displayed in the API URL field.
  2. Click on the add parameter field.

  3. Type the Parameter name in the Parameter1 text box. Provide the environment name in the JSON text box.
  4. To delete the parameter, click on the × icon. Note: The API URL and JSON code can be used to execute any task in external applications like Postman.
  5. Click on the Save button.
  6. Map the parameters of the Start node to the node following it.

    Note: For more details on mapping, click here.
Do the following to execute a Rest API enabled task from the Task > Design screen:
  1. Click on the Run button.
  2. The Rest Parameters dialog box is displayed prompting the user to provide the required parameters:

  3. In the Rest Parameters dialog box, the user can provide any input parameters that are used in the task. The following screenshot displays the input parameters like Origin, Destination, etc... that are used in the task.

  4. These parameters can be provided in the Rest Parameters dialog box to execute the task.
  5. Click on the OK button to execute the task.
Do the following to execute Rest API based task from external applications like Postman:
  1. Type Jiffy application credentials in the Authorization section of the Postman application.
  2. Provide the API URL.
  3. Copy and paste the JSON code from the Start node to the Body section.

  4. Provide the environment name that is linked to the test case.
  5. Provide the parameters.
  6. Click on the Send button.
  7. The user can view the Run ID of the task in the Task Execution -> Execution History screen.

Did you find what you were looking for?

Automation Analytics and AI in a box

Contact Us

HfS Hot Vendor

Option3's Automation capabilities featured in HfS Research's Hot Vendors List for Q3, 2018

Access your copy here