Testura.Android.PageObjectCreator is a help tool which let you inspect the UI hierarchy of an Android device to create and generate page objects for Testura.Android.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitattributes
.gitignore
LICENSE.md
README.md
Testura.Android.PageObjectCreator.sln

README.md

Testura Logo

Testura.Android.PageObjectCreator is a tool to:

  • Dump the UI hierarchy
  • Inspect all nodes inside the UI both visually and through a simple hierarchy tree view
  • Select nodes and decide how we should grab them in our framework later (by using text, id, class, etc)
  • Automatically find unique node attributes
  • Generate code for the page object (will generate class, constructor and all required fields).
  • See the activity and package name for a view/application

A short introduction video here

Testura Logo

Install

Prerequisites

  • Android SDK (also need to add adb to environment variables)

Download

Download latest release here

Usage

Select your device and dump the screen

Testura Logo

Select nodes by clicking in the UI or selecting from the hierarchy view

UI

Testura Logo

Hierarchy viewer

Testura Logo

Select how we should locate the object inside our framework

Testura Logo

View the generated code

Testura Logo

License

This project is licensed under the MIT License. See the LICENSE.md file for details.

Contact

Visit www.testura.net, twitter at @testuranet or email at mille.bostrom@testura.net