Sunday 15 June 2014

ubuntu - Running selenium tests from different environments produce different results -



ubuntu - Running selenium tests from different environments produce different results -

i running tests 2 environments:

jenkins - ubuntu - no x`s - same tests fail. windows 8 (from localhost) - tests doing fine.

tests send , executed on different (from 2 above) remote selenium server seton win 2k8 serv. ideas why test fail when running ubuntu , not windows ?

using testng, parallel - false, max-thread - tried 1 many in suite cfg. tests running on chrome (most stable imho).

actually no unusual situation. since in our team utilize jenkins + testng , such cases not impossible. used rebuild vcs (jenkins config) each run , environment. prefer utilize first of continuous delivery's best practices

only build binaries once

the concept strongly recommend usage of binary files instead of version command system. more - it's antipattern promote @ source-code level rather @ binary level. binaries deployed different environments should same went out dev stage, checked storing hashes of binaries @ time created , verifying binary identical @ every subsequent stage in process. forces separate code, remains same between environments,and configuration, differs between environments. should aim utilize same application binaries throughout deployment process. avoid rebuilding source or processing binaries in way, if believe safe so.

ubuntu selenium jenkins webdriver selenium-server

No comments:

Post a Comment