How do you unit test documents created with LiveCycle Designer?

Avatar

Avatar

user39159662

Avatar

user39159662

user39159662

07-10-2016

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!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

_Bruce_Robertson

MVP

Total Posts

1.8K

Likes

268

Correct Answer

372

Avatar

_Bruce_Robertson

MVP

Total Posts

1.8K

Likes

268

Correct Answer

372
_Bruce_Robertson
MVP

08-10-2016

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

Answers (2)

Answers (2)

Avatar

Avatar

user39159662

Avatar

user39159662

user39159662

08-10-2016

Hi Bruce,

Thanks a lot, it looks great!

Avatar

Avatar

user39159662

Avatar

user39159662

user39159662

07-10-2016

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?