Robotium Automated Testing for Android
Hrushikesh Zadgaonkar
- 出版商: Packt Publishing
- 出版日期: 2013-11-24
- 售價: $1,170
- 貴賓價: 9.5 折 $1,112
- 語言: 英文
- 頁數: 94
- 裝訂: Paperback
- ISBN: 178216801X
- ISBN-13: 9781782168010
-
相關分類:
Android、機器人製作 Robots
海外代購書籍(需單獨結帳)
相關主題
商品描述
Create and execute automated test cases for your Android apps using this hands-on guide to Robotium. A comprehensive guide to the framework, it takes you from first principles to advanced features and utilities.
Overview
- Integrate Robotium with Maven to perform test case execution during build
- Learn different steps to connect to a remote client from an android using Robotium
- Understand the benefits of Robotium over other test frameworks
In Detail
Automation testing on mobile devices has been around for a number of years, although it has really taken off with the advent of the Robotium Framework. With the help of automating test cases, business components are extensively reused and complex test cases are executed. Due to a number of different key features added to the Robotium Framework, it has become the world's leading Android test automation framework and most of the industry experts and professionals are using this framework for testing their Android business applications.
This practical guide will help you to create and execute automated test cases. You will also learn how to take advantage of the real power behind the Robotium Framework and all of its features, while being provided with a good grounding in how to use it in your Android test project.
Starting with learning how to set up an Android environment for using Robotium, this book will then look at the various features of the Robotium framework, and take you through numerous examples that will help you to take advantage of the new features in Robotium, quickly and painlessly.
This book will guide you through setting up the Android environment that is necessary to create a test project. You will also learn the benefits of using Robotium over other test frameworks, as well as solutions to the most common issues faced by users in this domain.
What you will learn from this book
- Get to grips with the Robotium Framework
- Create a test project using Robotium
- Get acquainted with Robotium API calls and their usage
- Access web views in Android via Web Support in Robotium
- Compare Robotium with other testing frameworks
- Utilize the remote control feature in Robotium
- Implement different Robotium utilities
- Use Robotium with Maven
Approach
This is a step-by-step, example-oriented tutorial aimed at illustrating the various test scenarios and automation capabilities of Robotium.
Who this book is written for
If you are an Android developer who is learning how to create test cases to test their application, and are looking to get a good grounding in different features in Robotium, this book is ideal for you. It's assumed that you have some experience in Android development, as well be familiar with the Android test framework, as Robotium is a wrapper to Android test framework.
商品描述(中文翻譯)
使用這本實用指南,您可以創建並執行自動化測試案例,以測試您的Android應用程式。這本全面的指南將從基本原理介紹到高級功能和工具。
概述:
- 使用Maven將Robotium集成到構建過程中以執行測試案例
- 學習從Android使用Robotium連接到遠程客戶端的不同步驟
- 了解Robotium相對於其他測試框架的優勢
詳細內容:
多年來,移動設備上的自動化測試一直存在,但隨著Robotium框架的出現,它真正開始蓬勃發展。通過自動化測試案例的幫助,業務組件得到廣泛重用,並且可以執行複雜的測試案例。由於Robotium框架添加了許多不同的關鍵功能,它已成為全球領先的Android測試自動化框架,大多數行業專家和專業人士都在使用該框架來測試其Android業務應用程式。
這本實用指南將幫助您創建並執行自動化測試案例。您還將學習如何充分利用Robotium框架及其所有功能,同時提供如何在Android測試項目中使用它的基礎知識。
從學習如何設置Android環境以使用Robotium開始,本書將介紹Robotium框架的各種功能,並通過多個示例引導您快速且輕鬆地利用Robotium的新功能。
本書將指導您設置必要的Android環境以創建測試項目。您還將了解使用Robotium相對於其他測試框架的優勢,以及在此領域中用戶面臨的最常見問題的解決方案。
本書將教您以下內容:
- 熟悉Robotium框架
- 使用Robotium創建測試項目
- 瞭解Robotium API調用及其用法
- 通過Robotium中的Web支持訪問Android中的Web視圖
- 將Robotium與其他測試框架進行比較
- 利用Robotium的遠程控制功能
- 實現不同的Robotium工具
- 使用Maven與Robotium
這是一本以示例為導向的逐步教程,旨在說明Robotium的各種測試場景和自動化能力。
本書適合以下讀者:
- Android開發人員,希望學習如何創建測試案例來測試其應用程式,並希望對Robotium的不同功能有一個良好的基礎。假設您具有一些Android開發經驗,並且熟悉Android測試框架,因為Robotium是Android測試框架的封裝。