Provar

PDF Testing

There may be scenarios where you need to download a PDF document and edit/assert the text it contains to test. It can be easily done in Provar using the Download interaction for links, which downloads the link’s destination in a value and parses/asserts it.

Download and Assert PDF Testing


Specify the following parameters:

  • Result Name: Stores the content of the downloaded document
  • Result Scope: Select the scope of the result
  • Result Format: Indicates how Provar should do the content

There are three ways the content of the document/PDF can be processed or tested.

Parsed PDF


The content will be parsed by Provar, allowing the value to be updated by using Replace test step. The text content of word/PDF documents is made available for assertion while testing.

View of the content of the document that will be stored in OldContents - contentText.

Above: View the document’s content that will be stored in OldContents->contentText.

Use MatchAPI to Assert Text

Image showing how to use MatchAPI to assert text while PDF testing

Text


The content is parsed similarly to the above but stored as a simple text value. The value cannot be updated and re-uploaded. Text content is available for only assertion.

Raw


The content will just be available as raw data. The value cannot be updated and re-uploaded.

Review Provar on G2
Documentation library

Other available resources

Looking for something different?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top