Forum Discussion

Blur's avatar
Blur
Contributor
10 years ago

Test cases failing on different machines

Hello,   I am having an issue where I can run test cases perfectly fine on my machine but the same test cases fail on a different machine.  The error I am getting is "The object does not exist" .
  • Marsha_R's avatar
    10 years ago

    We found that the timing is a problem for us between different machines.  It happens between laptop, vm, wherever we run it.  If the application was running slower on a particular machine, then the objects weren't there by the time the test was ready for them.

     

    There are a couple of different things we try when this happens.  If it's on just a few objects, then you can put a delay in right before the actions that are failing.  If it happens in too many places for that to be feasible, then you can go to Tools -> Current Project Properties -> Playback and make Delay between events a little longer.  This slows the whole test down a little but it can make things run more smoothly.