|
Post by leiwang on Mar 24, 2017 2:03:35 GMT
As usual, automation test is VERY sensitive to the "testing environment". To get the automation works stably, we need to keep the "testing environment" as stable as possible. When testing web based application, the frequent changing item is the browser, most browser has a functionality as "auto-update". They can update automatically, so user has such a bad experience with SeleniumPlus, the "automation test" works, but after one night, oopos, it stops working . We need to pin the browser to a certain version supported by SeleniumPlus, that is to say we need to prevent the browser from updating automatically.
|
|
|
Post by boyangli on Mar 24, 2017 2:57:02 GMT
Disable auto-update for Firefox and Chrome. Firefox: open Firefox browser, select Tools -> Options -> Advanced -> Update, then check 'Do not check for updates' or 'Never check for updates (not recommended: security risk)'. OR simply input in address bar "about:preferences#advanced" -> Update, then check 'Do not check for updates' or 'Never check for updates (not recommended: security risk)'. Chrome: You have several options - Go to C:\Program Files (x86)\Google\Update and move away all .exe files to another folder
- Go to C:\Program Files (x86)\Google, and rename the folder 'Update' to another name such as 'DisableUpdate'.
|
|