Contributions
Plug-in to see the objects in XFA forms
This idea is pretty basic. TestComplete already has the ability to recognize the objects in AcroForms. I'd likeTestComplete to be able tosee the objects in XFA forms as well. The main issue whencreating testscripts for an XFA form is that if a form changes in the next iteration all the test actions that rely on co-ordinates will need to be re-recorded. If TestComplete could be made to recoginze the XFA objects in Name Mapping this wouldn't be an issue.1.2KViews0likes0CommentsAre there any plans to add a plugin so testcomplete can recognize objects in an XFA form?
Hi there, I was wondering if there are any plans in the future for testcomplete to be able to recognize objects in XFA forms? I know it can see the objects in Acroforms but the forms I'd like to use it with are XFA. Thanks, Alfredo871Views0likes1CommentAcroForm example in TestComplete
Hi all, does anyone have a good example accessing the fields in an AcroForm in TestComplete? I have a function below that appears to be getting the fields in the form based on the log messages, but I am having trouble figuring out how to access the individual fields. I read the getFields() method returns a list. Does that mean I have to convert this list to an array to access the individual entries? Any help or pointing in the right direction would be greatly apprecieated. Thanks, Alfredo function getDocument() { var docObj; docObj = loadDocument("DischargeAdobe_July-2015RE.PDF"); // Get the catalog object catalog = docObj.getDocumentCatalog(); var form = catalog.getAcroForm(); if (form == null) Log["Message"]("Acroform command failed"); else { Log["Message"]("Success getting Acroform"); var fields = form.getFields(); if (fields == null) Log["Message"]("Fields are null"); else { Log["Message"]("Fields have values: " + fields["length"]); for (var i=0;i<fields["length"];i++) { Log["Message"](fields[i]); } } } }624Views0likes0Comments