Expand my Community achievements bar.

SOLVED

How do you unit test documents created with LiveCycle Designer?

Avatar

Former Community Member

Hi,

When developing documents which contain dynamic forms (programmed in Javascript), what is a good way to test them?

Do you perform manual tests or automatic tests? If the latter, what technique do you use?

Thank you!

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

I've written Jasmine script to perform unit testing, there's an example of it in a XDP form here, Adobe LiveCycle Designer Cookbooks by BR001: Using the Jasmine testing framework in an Adobe Designe...

Adobe labs has the Adobe PDF Test Toolkit but I've no experience with it, from memory the software it was dependent on was reasonably expensive, Adobe PDF Test Toolkit - Adobe Labs

Regards

Bruce

View solution in original post

3 Replies

Avatar

Former Community Member

I though of using Actiona to simulate user interaction such as:

  • navigation among form fields
  • text input
  • clicks on check boxes and buttons.

... then assert that auto-fill logic works, validation messages appear and so on.

What do you think?

Avatar

Correct answer by
Level 10

Hi,

I've written Jasmine script to perform unit testing, there's an example of it in a XDP form here, Adobe LiveCycle Designer Cookbooks by BR001: Using the Jasmine testing framework in an Adobe Designe...

Adobe labs has the Adobe PDF Test Toolkit but I've no experience with it, from memory the software it was dependent on was reasonably expensive, Adobe PDF Test Toolkit - Adobe Labs

Regards

Bruce