Background:
Saturday products Give me feedback: The Payment success page will prompt this, ask why automation did not find such a problem
The first reaction: This address must be reported, I certainly did not set up a security link, because have not seen such a URL, if there is a problem, should be directly error, first local reproduce
1. First confirmed the occurrence of the time, it happened yesterday, and my scheduled task is to run at 2 o'clock in the evening, normal is to find such a problem, the script scenario is: Once the payment is successful, need to get the content on the page, once out of this page, the text can not be obtained, the use case is not executed, I have tried to run
Confirm that no such problem has occurred,
2. I have to manually go to the display of the scene, or no such problem occurs, this is very strange,
Troubleshoot issues:
1. Confirm that everyone is doing this, product: 3 floor Personnel Test All this, I'm on the 2 floor.
2. Confirm the account number problem, try my account with no problem, there is still a problem like this
3. Confirm whether the browser is like this, I started the Google browsing without error, product feedback all browsers will
Let development alone this access error address to me, I found that I directly access to this address will also be error, and the script is not, then I was the manual operation of the scene is not also a problem
To try a mock script:
1. In driver Open Browser, enter the error address, jump directly to the correct page, in the manual startup browser, an error occurred in opening this address. Puzzled, this morning manually reproduce the scene is correct, is it in the driver to start the attempt? This is not an impression, but the problem is first.
2. in the attempt to browse Firefox, IE, as long as the driver-enabled browser, enter that address, will skip HTTPS, and manually will be wrong
3. Try other manual access to the address of the error (such as 12306), found that as long as the driver launched browser will not prompt, jump directly to the correct page, and manual will prompt, guess selenium inside is not a similar https site?
Here are a few attempts: if this address is not added to the security link
1. In the development to try a few browsers and several colleagues to open this link, will find a strange phenomenon, developed in Internet Explorer Normal, the rest of the browser is error, colleague A, with all browser access is normal, colleague B, access error, we are in a network segment
2. Suspected browser version and settings, with colleague A's browser version updated to consistent, access or failure
The final doubt still does not unravel:
1. Still does not solve why this address access some people will succeed, some people will fail, (network segment is the same network segment)
2.selenium Why would I skip HTTPS? , I haven't set any content on selenium.
This article and a lot of content, is to mention how to skip the illegal HTTPS site, according to the situation, I should prompt the wrong to
http://blog.csdn.net/yanical/article/details/4311227
Selenium Skip HTTPS issues