preface
With the rapid development of the Internet era, mobile end all areas of the products have been all over us For now, a lot of people, food, clothing, shelter, line, are inseparable from a wide variety of app so, for our test engineers in the company to test the app, is no longer a novelty So today, Let’s take a look at how to log on the iOS app ** test interview guide **
The MAC console provides logs
Environment to prepare
One MAC (all-in-one and laptop are the same) one iPhone and one data cable
- First, connect the iPhone to the MAC with a cable
- Open the console on a MAC (command+ space, search for apps)
Since you’ve already connected your computer to your phone via a cable, your device will now appear in the left toolbar of the console
Ps: For emphasis, the log bar on the right shows all the logs on your phone!!
Ps: then there will be excellent you in the thinking, so many logs, I silly ~ ~, how to look at it!! Kill me
Ps: So let’s take another step down
-
The console provides the filtering function to filter logs
-
When you filter out error messages, you can store the errorlog as an errorlog to submit to development
Ps: How do YOU store this information on a MAC? Ps: select the log information you want, press Command + C to copy the information PS: then open Notepad, direct command + V paste into it!!
Set the phone to view the crash log
- Find privacy in your phone’s Settings
Find analytics and improvements in privacy
Find analysis data in analysis and improvement
IOS exception logs are displayed here
Third party software iTools
1. Download iTools from your Windows PC (search the name on Baidu to download it)
2. Connect iOS phone and computer through data cable (trust this connection on iOS phone)
3. Open the iTools-> toolkit, iTools will provide two kinds of logs, one is real-time, one is crash.
Xcode develops software
Environment to prepare
1. A MAC computer with Xcode installed
2. The cable connects your phone to your MAC
- Open Xcode-> Windows ->Devices and Simulators
On the Devices screen, select View Device Logs
You can view the iOS log in the popup page, the left is the log file, the right is the log content ** test interview guide **