iOS TA Solution (一) 背景及功能介绍篇
来源:互联网 发布:mysql case when else 编辑:程序博客网 时间:2024/06/02 17:32
背景
Nowadaysthere are so many applications in iOS platform and become more and morepopular, but due to the specificity and security of iOS platform, there are fewgood frameworks for test automation of iOS, we design a TA solution on iOSwhich is suit for iPhone/iPad meeting client automation testing.
功能
We can use it dobasic feature before meeting and in-meeting feature. Also can do simpleperformance test and get the data of CPU, memory usage.
We use automated testing for features, can save lots of effort. e.g. we need 5hours to execute 100 test cases manually, but use TA it only costs 1.6 hours,can save nearly 68% effort.
BasicFeature
Ø Sign in/sign out
Ø Schedule/start/join/leave/end/delete meeting
Ø Invite/expel attendee
Ø Make presenter
In-meetingFeature
Ø Join VoIP audio
Ø Mute/unmute/mute by host
Ø Send/stop video
Ø Switch camera
性能测试
Previously,we use third-part tool test audio/video or other performance data, andsometimes the data that we get from tool always is imprecise, but use TA we canget real-time and accurate data in meeting.
1) Get the performance data of CPU, memory etc.of iPhone/iPad when presenter sharing PD/AS and send video/audio in meeting.
2) Generate a report for these data, and writeinto excel document.
生成测试报告
At last,after finish the TA scripts run, can generate a report on server for all thetest result, includes the percentage of case passed or failed, finally sendemail for notice the user.
框架
The techniqueprinciple is uncomplicated. First, create connection between PC and ourapplication though socket which embedded in iOS app, we call it TALib, everydevice have different IP address as the flag of connection.
Then use Pythonscripts call application interface which encapsulated previously and executerelated operation on iPhone or iPad device. Also can do interactive operationwith PC though call XMLAPIs and ASKTool.
创新
Our TA solution isbased on the logic of meeting process, not depend on UI change due to versionupgrade, so it has high reusability and reliability.
Another is our TAframework can ingrate with other tools, e.g. ASKTools, or MMP video tool, so ithas good expandability.
At last, we can visitTA report address, and view all the test result, includes the percentage ofcase passed or failed, finally send email for notice the user.
风险
There are some risks in this project when wedesign the solution, as following
1. Basedon network
2. Usespecial test build
3. Otherexceptions, e.g. memory leak, app crashed.
团队合作
Our members from 3different teams in this iOS TA project, includes iOS develop team, iOS QA teamand TA team, work in cooperation.
Developmember: provide the detail action APIs
TAmember: packaging the APIs with Python script
QAmember: write TA scripts and run case
请看 iOS TA Solution (二)
- iOS TA Solution (一) 背景及功能介绍篇
- iOS TA Solution (二) 环境搭建篇
- iOS TA Solution (三) 脚本的基本框架和结构
- Kafka剖析(一):Kafka背景及架构介绍
- Kafka剖析(一):Kafka背景及架构介绍
- Kafka设计解析(一)- Kafka背景及架构介绍
- Kafka剖析(一):Kafka背景及架构介绍
- Kafka剖析(一):Kafka背景及架构介绍
- Kafka剖析(一):Kafka背景及架构介绍
- Kafka剖析(一):Kafka背景及架构介绍
- Kafka剖析(一):Kafka背景及架构介绍
- Kafka设计剖析(一):Kafka背景及架构介绍
- Kafka剖析(一):Kafka背景及架构介绍
- Kafka学习(一):Kafka背景及架构介绍
- Kafka设计解析(一)- Kafka背景及架构介绍
- Kafka剖析(一):Kafka背景及架构介绍
- Kafka设计解析(一)- Kafka背景及架构介绍
- Kafka设计解析(一)- Kafka背景及架构介绍
- instr用在oracle排序中
- winform窗体间传值
- java 内存机制(堆和栈)
- 属性、配置属性、常规,然后右边有个“项目默认值:“
- 分享45个android实例源码,很好很强大.收藏吧!!!
- iOS TA Solution (一) 背景及功能介绍篇
- Struts2 Struts.properties文件
- js实现省市级联
- Google Android开发精华教程
- 函数调用原理
- Java--MD5加密
- 分享20个Android游戏源码,希望大家喜欢哈!
- VC6下Release版工程增加调试信息
- 利用installanywhere 打包J2EE工程为可执行文件(集成JVM、TOMCAT、MYSQL)