luke_jones
12 years agoOccasional Contributor
AngularJS Help/support
Our development team have adopted angularJS for their most recent projects. Mostly this doesn't cause any issues with Test Complete. However I have found one instance which is a problem.
AngularJS has a directive called data-ng-include which allows the user to specify a HTML file which can be injected into the page. We're using this for modal pop ups. Rather than have all the code for the popup in the main html file, the directive is used to load it when needed.
This causes a problem with Test Complete when trying to map objects on the pop up as they're not in the same DOM as the other objects on the page.
Any ideas on a solution?
AngularJS has a directive called data-ng-include which allows the user to specify a HTML file which can be injected into the page. We're using this for modal pop ups. Rather than have all the code for the popup in the main html file, the directive is used to load it when needed.
This causes a problem with Test Complete when trying to map objects on the pop up as they're not in the same DOM as the other objects on the page.
Any ideas on a solution?