Forum Discussion

Maria's avatar
Maria
Occasional Contributor
9 years ago

Test case execution issue if internet speed is fluctuating.

Hi Smartbear Community,


i am facing an issue very frequently. When working on web testing, sometimes internet speed is very good and all test cases executed successfully without any delay. But sometimes if internet speed is slow (which is very obvious that all time we cannot get same speed) then my all test cases behave abnormally, throw errors, exceptions etc. I think its delay issue. but i am unable to understand how can i handle this issue?

kindly help me.
waiting for positive response..

2 Replies

  • baxatob's avatar
    baxatob
    Community Hero

    Hi,

     

    First of all try to isolate your web-application in local network for testing. That is the best practice. 

    • tristaanogre's avatar
      tristaanogre
      Esteemed Contributor

      Another best practice is to liberally use the "Wait" method on page navigation.  You might also want to increase your object recognition timeout under Tools -> Current Project Properties -> Playback -> Auto-Wait timeout.  Increasing this will give more wait time to allow for slower rendering.

       

      Something we've done is built additional methods and routines that we use for certain tasks within our application testing.  We have a panel that appears when there is calculations going on within the page.  Whenever that panel appears, we make sure we have in our test case a call to a method to wait for that panel to close before continuing the tests.  

       

      However, as baxatob said, if possible, it's better to move your web application testing into a local network location to eliminate any connectivity issues.  This ensures that you're tests are reporting only problems with the application and not problems with your connection to the internet.