Forum Discussion

lisa_jimenez's avatar
lisa_jimenez
New Contributor
5 years ago

Object Browser sometimes not updating during Silverlight Out of Browser App testing

While trying to write tests again an out of browser SIlverlight application (v 5.1.50918.0), I'm finding that the object browser is sometimes not updating while clicking through the application, caus...
  • lisa_jimenez's avatar
    lisa_jimenez
    5 years ago

    The problem is that the object is already there, just sitting around and waiting longer during the test doesn't change TestComplete being able to recognize that it is.  

     

    Response from SmartBear support included the following line, which seems to make sense to answer my question of why this happens:

    "This issue typically occurs when an object in an application is already loaded into the application and is later made visible onto the screen. This issue can also occur if the object loads fully before becoming visible."

     

    The best solution for our application is the Sys.Refresh(), we just have to be smarter about how we incorporate it into our tests.