Robotium Automated Testing for Android

0
(0)

Robotium Automated Testing for Android
 

  • Author:Hrushikesh Zadgaonkar
  • Length: 94 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2013-11-21
  • ISBN-10: 178216801X
  • ISBN-13: 9781782168010
  • Sales Rank: #8100102 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Efficiently automate test cases for Android applications using Robotium

    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.

    Table of Contents

    Chapter 1: Getting Started with Robotium
    Chapter 2 : Creating a Test Project Using Robotium
    Chapter 3 : Robotium APIs
    Chapter 4 : Web Support in Robotium
    Chapter 5 : Comparison with Other Frameworks
    Chapter 6 : Remote Control in Robotium
    Chapter 7 : Other Robotium Utilities
    Chapter 8 : Robotium with Maven

    中文:

    书名:Robotium针对Android的自动化测试

    使用Robotium高效地自动化Android应用程序的测试用例

    Overview

    • 将Robotium与Maven集成以在构建期间执行测试用例
    • 了解使用Robotium从Android连接到远程客户端的不同步骤
    • 了解Robotium相对于其他测试框架的优势

    In Detail

    移动设备上的自动化测试已经存在了很多年,尽管它是随着Robotium框架的出现而真正起飞的。在自动化测试用例的帮助下,业务组件得到了广泛的重用,复杂的测试用例得以执行。由于Robotium框架增加了许多不同的关键功能,它已经成为世界领先的Android测试自动化框架,大多数行业专家和专业人士都在使用该框架来测试他们的Android业务应用程序。

    本实用指南将帮助您创建和执行自动化测试用例。您还将学习如何利用Robotium框架及其所有功能背后的真正力量,同时为如何在Android测试项目中使用它奠定良好的基础。

    从学习如何设置使用Robotium的Android环境开始,本书将介绍Robotium框架的各种功能,并通过大量的示例帮助您快速、轻松地利用Robotium的新功能。

    本书将指导您完成创建测试项目所必需的Android环境的设置。您还将了解使用Robotium优于其他测试框架的好处,以及该领域用户面临的最常见问题的解决方案。

    你将从这本书中学到什么

    • 熟悉Robotium框架
    • Create a test project using Robotium
    • 熟悉Robotium API调用及其用法
    • 通过Robotium中的Web支持访问Android中的Web视图
    • 将Robotium与其他测试框架进行比较
    • Utilize the remote control feature in Robotium
    • 实施不同的Robotium实用程序
    • Use Robotium with Maven

    Approach

    这是一个循序渐进的、面向示例的教程,旨在说明Robotium的各种测试场景和自动化功能。

    这本书是为谁写的

    如果你是一名Android开发人员,正在学习如何创建测试用例来测试他们的应用程序,并希望对Robotium的不同功能有一个良好的基础,这本书是你的理想之选。本文假定您对Android开发有一定的经验,并且熟悉Android测试框架,因为Robotium是Android测试框架的包装器。

    Table of Contents

    第1章:Robotium入门
    第2章:使用Robotium创建测试项目
    Chapter 3 : Robotium APIs
    第4章:Robotium中的Web支持
    第5章:与其他框架的比较
    第6章:Robotium中的远程控制
    第7章:其他Robotium实用程序
    第8章:带Maven的Robotium

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册