Skip to content

How-to articles

Visual Diff

Instructions to use visualDiff

  1. Navigate to Design on left panel.

  2. Click on Test Case.

  3. Create a test case and use keyword visualDiff.

  4. Save the test.

  5. Click on Design on left panel.

  6. Click on Object Container.

  7. Select the desired Screen.

  8. Add Image in the Desktop Image section or Device Image in case of Mobile.

    The uploaded image will be displayed as below.

    For your reference, below is the attached image.

  9. Add the created test case to suite.

  10. Click on Execute.

  11. Click on Execute Automated Tests.

  12. Select the desired suite and test case.

  13. In the Execution Details section, please enter/select the below details.

    • Run Name (Mandatory)
    • Executing in Sprint
    • Build Number
    • Browser instance
    • Distributed across Machines
    • Execution Tags (if any)
    • Execute Tag First
    • Email To
  14. Expand the Execution machine(s) section.

  15. For the desired machine, select the browser(s) on which you wish to execute the test case.

  16. Click on Run Selected button.

  17. When the execution is complete, click on the test case status to view test steps.

  18. Click on the camera icon besides the visualDiff step.

  19. The compared image will be displayed as below.

IMPORTANT

Please note that the image comparison can be viewed only when the test is executed remotely.