What is the AJAX framework or library used in Pega 7?
I am trying to automate a Pega 7 based application using Selenium Webdriver v2.46. The Application seems to have a lot of data loaded asynchronously, AJAX. Currently i am using webdriverwait based explicit waits to handle the asynchronous loads. I wish to understand if there is any specific AJAX framework/library used in Pega 7. I could make use of this data to find out a way to verify if all the AJAX requests are complete.
This would stop me from waiting for specific elements each time. I could instead write a generic code.
Hi,
In Pega7 there is an extra div that is generated to check the Document Status and Ajax Status,
based on that we have written a function internally in our framework to check the Ajax Status.
The same can be followed in your case too..
To enable the Document Status ,set the Dynamic System Setting Pega-RULES pzPegaSUT to true which enables the div located at the root.
Ex: <div class="document-statetracker" data-state-doc-counter="1" data-state-doc-status="ready" data-state-ajax-counter="1" data-state-ajax-status="none" data-state-script-status="none"></div>
Regards