Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How do you unit test documents created with LiveCycle Designer?

user39159662
Level 2
Level 2

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
_Bruce_Robertson
Correct answer by
Level 10
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
user39159662
Level 2
Level 2

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?

_Bruce_Robertson
Correct answer by
Level 10
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

user39159662
Level 2
Level 2

Hi Bruce,

Thanks a lot, it looks great!