Hi,
We have a complex form, which has multiple web Service calls which are invoked.
The APTT works fine with entering details and navigating the form.
However, as soon as one of the WebServices is invoked, Acrobat crashes. (The AcroRd32.exe process disappears from Task Manager and the desktop, and no errors are shown)
We have tried:
- Creating a simple form with one WebService call - this records and plays without problems
- Different Computers have the same problem
- Running the problem form in Acrobat without APTT runs fine, webservices invoke OK, and Acrobat does not crash
Is there any way we can further diagnose the problem, or workaround the issue?
Thanks.
Tim
Since you tried on another machine, I'm guessing you already tried re-recording your script (with a slightly different path).
Did you try stepping through the troublesome part of the script?
AcroXFAButton("Fetch WS Data")
wait( 5 ) ' <--- add a pause here and/or a breakpoint. Is the form still alive?
AcroXFATextField("Result1 Field").Check CheckPoint("My CheckPoint")
I'm imagining your web-service call is radically changing the content of your form.
Then your script carries on before your form has finished processing the WS result.
So maybe it's clicking buttons which aren't fully formed or something.
For me, when I have similar problems, the javascript thread dies, but Reader is still up. (This sometimes takes a while to notice that I need to restart my Reader process.) Maybe if my form had slightly less exception-handling, I'd see your symptom instead.
Good luck,
Brent
North America
Europe, Middle East and Africa
Asia Pacific