Forum Discussion

jefr's avatar
jefr
New Contributor
9 years ago

TestComplete not waiting for page loads when api call done with different variables

Changes to a textbox on the page we are testing results in 2-4 api calls to the same url but with different variables   /configure/ConfigureServlet?action=getFlatOptionStore&currentOrder=-140&curre...
  • Colin_McCrae's avatar
    9 years ago

    I take it these are AJAX type calls triggered within the page logic somewhere? So it's not a full page reload so you can't check the page readystate?

     

    Are there any on-screen cues or indicators you can use? How does the user know these calls are complete? You mention about a textbox being cleared, is that as a result of the calls?

     

    Failing that, do any properties on the page, or the objects on it change, when the calls are made/complete?

     

    In short, you need to find something you can see/lookup/inspect that keeps you in line with these calls ....