What could be some reasons appium automation tests pass on home wifi but fails on work wifi? What should I look out for? Anyone experience this? This is really confusing. When I run it at home all tests passes, but once I use the work wifi a few tests would fail. The only difference is I'm the only one using the home wifi and the work wifi has many devices connected to it. Any ideas?

  • Is this the same laptop at both locations? Do you have hot spot capability with your phone plan? If you do, try connecting to your own hot spot and run your scripts from work. What kind of failures are you getting? Timeouts? Aug 29, 2018 at 18:47
  • Same laptop/Same devices on two different wifis at two different cities. Aug 29, 2018 at 18:52
  • What about the rest of my questions? Aug 29, 2018 at 18:52
  • No can't use hot spot. There is no data plan. The failures were tapping but not opening the element, not finding element after taking screenshots to check video exists, but I know the tests has passed before. Aug 29, 2018 at 18:58
  • Are you using implicit or explicit waits? Are you using a page object model? I noticed you've been posting a lot of questions (that's good) but you need to start posting some code samples along with your questions, please. Aug 29, 2018 at 19:00

1 Answer 1


If I was the network engineer of your work, one "easy way" to create this situation is to block requests from your tests - causing timeouts. I could even do it randomly, just to make your tests even more inconsistent.

In a less extreme case, you have to consider that you are in a different network and maybe your tests are fragile for it. But we cannot evaluate more precisely without the error messages, network configurations, etc.

  • Thank you so much for replying. I appreciate your help. Is there reasons to block requests from tests to cause timeouts? Is it for network maintenance? I don't know much about networks. How do I check if requests are blocked? If my tests are fragile and fails on some networks and not others, I guess I have to improve my code. Sep 1, 2018 at 6:20
  • You would have to talk to the network people in the company. They can monitor what is happening at the moment you run your tests. OBS: If you find the answer satisfiable, please mark it as accepted. Sep 1, 2018 at 7:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.