One, OpenSTF
OpenSTF(Smartphone Test Farm)
It is a web-side mobile device management platform that can remotely debug and manage devices from the browser side.
In fact, it is a bit similar to our very hot cloud testing platform.
Such as: testin, Baidu MTC and so on.
And this project is open source on Github:
https://github.com/openstf/stfApache
Follow the License 2.0 open source agreement.
Many internal teams of companies are now beginning to build their own platforms through STF.
Let's take a look at the screenshot of the project's running effect (excerpted from the official website)
2. Supported functions
◆ Android 2.3 ~ Android 9.0 (IOS currently does not support)
◆ The phone does not need root
◆ Real-time screen demonstration (refresh rate up to 30-40fps)
◆ Remote control (including click, input data, copy and paste)
◆ Install and uninstall applications
◆ Execute shell commands
◆ Support chrome remote debugging tool
◆ File Explorer to access the device file system
◆ ......
Three, installation and deployment
Virtual machine + Docker
It is officially recommended to use Linux system or Mac system to deploy STF environment, because the adb connection under Windows is not very stable.
Since I installed Windows on my personal PC, I had to build such an environment through a virtual machine.
STF now supports installation via Docker, which is much easier than traditional installation methods, so it is also recommended to use Docker installation methods.
Fourth, the virtual machine installs the Ubuntu system
You can choose either Vmware Workstation or VitualBox. I personally choose Vmware. The installed Ubuntu version is 16.04 LTS. You can find many tutorials on the Internet for this step, so I won’t repeat them here.
Vmware sets the network bridge mode:
◆ Install Docker
◆ Pull STF related mirrors
◆ View all mirrors
◆ Start the mirror
◆ View the running container
Finally, enter in the browser in the virtual machine or the local PC browser:
http://192.168.140.129:7100 can be accessed
◆ The default user name and password can be logged in with any character string
Recommend a software testing learning exchange group: 785128166, there are shared videos, interview guidance, test materials, mind maps, and videos in the group. They are all dry goods, you can download and watch. Mainly share test foundation, interface test, performance test, automated test, TestOps architecture, Jmeter, LoadRunner, Fiddler, MySql, Linux, resume optimization, interview skills, and actual video data of large-scale test projects. Use every minute and every second of your time to learn to improve yourself, and don't use "no time" to conceal your mental laziness! Try hard while you are young, and give your future self an explanation!
Public number: Programmer Erhei, after paying attention, you can receive a large amount of learning materials for free.
Good things should be shared with friends