Do app testing friends may because of the needs of the environment, to switch between different test environment, then need to configure the environment on their own computer, and then set up a proxy on the phone, with WiFi connection to their own computer, so that the mobile network is to go their own computer network, that is, The environment of the mobile phone is the environment of the computer setting.
There are a lot of posts on the Internet to explain this, a filter a bit troublesome, here in the beginning before the Appium a point of knowledge, is how to set up a mobile phone agent:
1. Open Fiddler->tools->options->connections,
Select: Allow remote computers to connect
Restart Fiddler.
2, set up mobile phone agent:
Turn on your cellular settings (also known as Wi-Fi settings) and select Agents:
The hostname is the IP address of your computer, and the port is the first step (8888 of the figure above is the port) Fiddler listens on port: the value written later. "Do not use URLs," that column, no tubes.
Your computer's IP address can be in cmd, input ipconfig view
3, set up the agent, use the browser to enter your ip+ port number, such as 192.168.1.185:8888
Download the certificate, when you enter this page should have the certificate download option, click to download
If you do not download the installation certificate, you will continue to play network errors after entering the app, check your network connection settings.
4, (MI) Mobile: More Settings-system security, install from the storage device installation certificate (need to set the screen password)-Here different phones may be set differently.
Complete
Set up the above steps, we re-open the mobile app is the computer set up a good environment ~ ~ ~ and on the Fiddler can also see the mobile phone caught in the various connection addresses.
Public search "automated test Practice" or scan the QR code below to add attention ~ ~ ~
Set up a mobile agent with fiddler