[SCM] androidsdk-tools packaging branch, master, updated. c247ddfb9e5df49214e6593dac7bc052989dfca5
Jakub Adam
jakub.adam at tieto.com
Tue Apr 30 19:31:13 UTC 2013
The following commit has been merged in the master branch:
commit 628abe10bf870409b88a6b18b9994e7492573780
Author: Jakub Adam <jakub.adam at tieto.com>
Date: Tue Apr 30 14:55:20 2013 +0200
Created manual page for uiautomatorviewer
diff --git a/debian/androidsdk-uiautomatorviewer.manpages b/debian/androidsdk-uiautomatorviewer.manpages
new file mode 100644
index 0000000..7fee7ed
--- /dev/null
+++ b/debian/androidsdk-uiautomatorviewer.manpages
@@ -0,0 +1 @@
+uiautomatorviewer.1
diff --git a/debian/copyright b/debian/copyright
index 5c56abb..43723cd 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -42,6 +42,7 @@ Copyright: 2013, www.linuxtopia.org
License: Apache-2.0
Files: debian/traceview.pod
+ debian/uiautomatorviewer.pod
Copyright: 2013, www.linuxtopia.org
2013, Jakub Adam <jakub.adam at ktknet.cz>
License: Apache-2.0
diff --git a/debian/uiautomatorviewer.pod b/debian/uiautomatorviewer.pod
new file mode 100644
index 0000000..37be0d2
--- /dev/null
+++ b/debian/uiautomatorviewer.pod
@@ -0,0 +1,80 @@
+=head1 NAME
+
+uiautomatorviewer - a GUI tool to scan and analyze the UI components of an
+Android application.
+
+=head1 SYNOPSIS
+
+uiautomatorviewer
+
+=head1 DESCRIPTION
+
+You can use the uiautomatorviewer tool to take a snapshot of the foreground UI
+screen on any Android device that is connected to your development machine. The
+uiautomatorviewer tool provides a convenient visual interface to inspect the
+layout hierarchy and view the properties of the individual UI components that
+are displayed on the test device. Using this information, you can later create
+uiautomator tests with selector objects that target specific UI components to
+test.
+
+To analyze the UI components of the application that you want to test:
+
+=over 3
+
+=item 1.
+
+Connect your Android device to your development machine.
+
+=item 2.
+
+Run the uiautomatorviewer tool.
+
+=item 3.
+
+To capture a screen for analysis, click the Device Screenshot button in the GUI
+of the uiautomatorviewer tool.
+
+B<Note:> If you have more than one device connected, specify the device for
+screen capture by setting the ANDROID_SERIAL environment variable:
+
+=over 4
+
+Find the serial numbers for your connected devices by running this command:
+
+$ adb devices
+
+Set the ANDROID_SERIAL environment variable to select the device to test:
+
+$ export ANDROID_SERIAL=<device serial number>
+
+If you are connected to only a single device, you do not need to set the
+ANDROID_SERIAL environment variable.
+
+=back
+
+=item 4.
+
+View the UI properties for your application:
+
+=over 4
+
+Hover over the snapshot in the left-hand panel to see the UI components
+identified by the uiautomatorviewer tool. You can view the component’s
+properties listed in the lower right-hand panel, and the layout hierarchy in
+the upper right-hand panel.
+
+Optionally, click on the Toggle NAF Nodes button to see UI components that are
+not accessible to the uiautomator testing framework. Only limited information
+may be available for these components.
+
+=back
+
+=back
+
+=head1 COPYRIGHT
+
+This manual page is licensed under the Apache License, Version 2.0.
+
+Copyright (C) 2013 Android Open Source Project
+
+Copyright (C) 2013 Jakub Adam <jakub.adam at ktknet.cz>
--
androidsdk-tools packaging
More information about the pkg-java-commits
mailing list