手机自动化测试:Appium代码之Logger1
2015-12-11 15:08
337 查看
手机自动化测试:Appium代码之Logger
poptest是国内唯一一家培养测试开发工程师的培训机构,以学员能胜任自动化测试,性能测试,测试工具开发等工作为目标。poptest推出手机自动化测试的课程,讲解appuim的实际应用,培训全程用商业项目, 大家可以加qq群进行交流:195983133
log形式
首先我们来看一段log输出:info: Starting Appinfo: [debug] Attempting to kill all 'uiautomator' processesinfo: [debug] Getting all processes with 'uiautomator'info: [debug] executing cmd: /Users/wuxian/Documents/tools/sdk/platform-tools/adb -s emulator-5554 shell "ps 'uiautomator'"info: [debug] No matching processes foundinfo: [debug] Running bootstrapinfo: [debug] spawning: /Users/wuxian/Documents/tools/sdk/platform-tools/adb -s emulator-5554 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.example.android.apis -e disableAndroidWatchers falseinfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunnerinfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServerinfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class="io".appium.android.bootstrap.Bootstrapinfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready我将上面的log分为4种(message为消息体)1. log等级:message
2. log等级:[debug] message
3. log等级:[debug] [BOOTSTRAP] [debug] message
4. log等级:[debug] [UIAUTOMATOR STDOUT] message
相关文章推荐
- 老李性能测试分享
- 你想不到:咖啡馆里上工具课
- 移动端自动化测试开课了
- 老李分享:什么是好战略
- 性能调优案例分享:Mysql的cpu过高
- 性能测试分享:性能测试工具开发的案例分享(上)
- 性能测试分享:性能测试工具开发的案例分享(下)
- 性能测试培训:批量执行Jmeter脚本之ant调用 2
- 性能测试培训:分布式测试之jmeter1
- 老李案例分享:MAT分析应用程序服务出现内存溢出过程1
- 老李案例分享:MAT分析应用程序服务出现内存溢出过程2
- 老李案例分享:定位JAVA内存溢出 1
- 老李案例分享:定位JAVA内存溢出 2
- 性能测试培训: 建立压力模型
- 老李分享:你知道有哪些持续集成工具
- 老李分享知识:性能测试之TPS和吞吐率
- 老李分享知识:性能测试之吞吐量
- 性能测试培训:分析内训泄露的案例
- 自动化测试培训:qtp脚本获取获取汇率数据
- 性能测试培训:sql server性能测试分析局部变量的性能影响1