Skip to main content

SmartUI Visual Regression Testing for PDF Files

Prerequisites for Using Smart UI

  • Familiarity with HTTP APIs is essential.
  • Visit the LambdaTest SmartUI page and log in with your credentials.
  • Obtain your LT_USERNAME and LT_ACCESS_KEY by clicking on the Access Key button, located at the top right corner of your dashboard.

In the following section, we will walk you through the process of conducting your first Visual Regression test using LambdaTest's SmartUI platform.

Getting Started with PDF Comparison

Step 1: Establishing a SmartUI Project

To initiate a SmartUI PDF Comparison Project, adhere to the following instructions:

  1. Navigate to the SmartUI Projects Page.
  2. Tap on the new project button.
  3. Specify your platform type as PDF.
  4. Provide your project name, designate approvers, and add tags (optional).
  5. Confirm your entry by clicking on Submit.

Once your project is active, retrieve your Project Token from the application. Here's an example of a project token:

projectToken = "123456#1234abcd-****-****-****-************"

Upload Methods

SmartUI provides three different methods to upload PDFs for visual regression testing. Choose the method that best fits your workflow:

note

Only files in .pdf format are compatible with this feature.

Use Cases of Smart PDF Comparison

  • Software Documentation: Track changes and ensure consistency across document versions.
  • Legal & Compliance: Spot differences in contracts or regulatory documents.
  • Design Validation: Verify design updates and maintain visual consistency.
  • Proofreading: Detect edits between document versions for quick review.
  • Quality Assurance: Compare specs or blueprints to uphold standards.
  • Archiving: Confirm integrity of records over time by highlighting modifications.

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles