Mobile Automation testing Tools
来源:互联网 发布:诺基亚运行python 编辑:程序博客网 时间:2024/05/04 01:02
引用自Ray的research
1.Robotium
1)Overview
- Supporting platforms: Android
- Robotium is a test framework created to make it easy to write powerful and robust automaticblack-boxtest cases for Android applications.
- With the support of Robotium, test case developers can write function, system and acceptance test scenarios, spanning multiple Android activities.
- Robotium has full support for Activities, Dialogs, Toasts, Menus and Context Menus.
2)How to Install Robotium:
- Add the robotium-solo.jar, robotium-solo-javadoc.jar to the build path of your test project.
- Eg:In Eclipse that is done by right clicking on the test project --> Properties --> Java Build Path --> Add (external) Jar.
3)Robotium’s Limitations
- Robotium cannot support to test flash and web applications
- Robotium API is process-oriented instead of object-oriented
- Tied to one app process
2.TMTS(Taobao Mobile Test System)
1)Overview
- Supporting platforms: Android and iOS
- TMTS is a lightweight open source test automation framework developed by TaoBao
- TMTS provides an easy way to perform UI automated testing.
- TMTS API is object-oriented.
2)How to Install TMTS
- It is as the same as Robotium, you just need to add the tmts.jar to the build path of your test project.
- If you want to see the source code, you can import the tmtsjava project as a dependent project of your test project.
PS: check out code from http://code.taobao.org/svn/TMTS/trunk/android/tmtsjava
3) TMTS Limitations
- It is not a mature framework
- There is no reasonable timeout mechanism
- It cannot support flash testing
3. Selenium WebDriver ( Android Driver, iPhone Driver)
1)Overview
- Supporting platforms: Android and iOS.
- WebDriver is a tool for automating web application testing.
- WebDriver is not tied to any particular test framework, so it can be used equally well in a unit testing or from a plain old “main” method
- Android and iOS drivers both use the RemoteWebDriver. They can be run on both emulator and real device.
2)There are two options available to run Android WebDriver tests:
l Using the Android test framework
l Using the remote WebDriver server
How to Install Android Test Framework
- Download Android WebDriver, which is an SDK extra.
- Steps: Open the Android SDK manager —> Available packages → Extras → Google → WebDriver
How to Install Remote Selenium Server
- This approach has:
- Client ——Consist of your typical Junit tests
- Server ——WebDriver APK
3)Selenium WebDriver Limitations
- Selenium WebDriver cannot support to test flash
4.EggPlant
1)Overview
- EggPlant delivers a robotic solution to mobile testing across all operating systems and devices.
- Using RealVNC, generic VNC or emulators, eggPlant deploys patented intelligentimage recognitiontechnology to see any device display. This approach to test automation is easy to use, non-invasive and requires no special hardware.
- EggPlant supports flash testing
2)How to Install EggPlant
- Install EggPlant in your control machine.
- Install a VNC viewer on your control machine
- Install a VNC server on your system-under-test (SUT)
3)Eggplant’s Limitations
- EggPlant is not a free tool
- Eggplant is not an independent tool. It must depend on VNC to use
- The scripts is not very flexible and its maintenance costs a lot.
Mobile Tools Comparison
- Mobile Automation testing Tools
- Mobile Automation Testing URL Notes
- mobile automation tools(未整理)
- Oracle EBS Automation Testing Tools - OpenScript
- Automation Testing
- Automation Testing中的变量
- Business logic automation testing
- The Automation Testing System 2: System Testing
- Mobile Automation Tips
- Test Automation tools: trends
- Test Automation Tools
- Automation UI testing with VNC
- Automation testing experience -- from 梅子
- Steups for Mobile testing
- X Auto Testing Tools
- Python Fuzz Testing Tools
- Testing Tools List
- A tool to do automation testing
- c++好书推荐(部分)
- JAVA格式化时间日期
- Magento 获取每个页面的title
- Mysql 体系结构系列之五
- hdu-逃离迷宫
- Mobile Automation testing Tools
- tableView点击下拉更多的效果
- C++ 开发SOAP服务端和SOAP客户端
- iOS之ASIHttp简单的网络请求实现
- C# 打开窗体设计界面出错
- VC++MFC下实现SOAP服务端和SOAP客户端
- hibernate查询方式中load和get的使用
- 转自《程序员你伤不起》--总结过去10年的程序员生涯,给程序员小弟弟小妹妹们的一些总结性忠告
- Eclipse中XSD文件缓存