0

I'm using selenium and phantomjs to run automated tests. My tests run fine on my local machine. I need to run my tests on a windows server as part of a scheduled task that then emails the results each morning. When my tests are run on the server, a good majority fail and the screenshot that is taken upon failure is blank. Logs show it would appear its failing to load some pages when navigating from one page to another.

WontonJon
  • 413
  • 5
  • 14
  • Your question is broad and opinion based. – Yu Zhang Jul 27 '16 at 18:31
  • I don't think this question is "opinion based", but it is broad: are you trying to investigate why screenshots are blank (although pages are not), or why pages are blank or why navigation fails? might be completely different issues. – timbre timbre Jul 27 '16 at 18:49
  • i appoligize, the question is a bit broad. Unsure exactly whats happening. Basically all my tests run fine on one machine but on another machine some tests randomly fail. Both machines are set up with exactly the same dev enviroment. But, yes why would phantomjs be outputting blank screenshots when a test case fails? – WontonJon Jul 27 '16 at 20:16

0 Answers0