1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-03-14 22:58:34 +00:00

628 Commits

Author SHA1 Message Date
John Richardson
d6afc6d3a1 Dump hierarchy view on error
Dump window hierarchy view from uiautomator to a file when WA fails
during execution. Note: the xml file are pre-formatted after dump.
Implementation specific to android.device.
2016-06-06 12:07:20 +01:00
James Hartley
1328c5be3d Add dumpsys instrumentation to Gmail workload
Tested on Asus Zenfone 2
2016-06-02 12:41:37 +01:00
James Hartley
3a4ae9f7b2 Remove wifi check temporarily to testing on non-wifi connected devices 2016-06-02 11:08:23 +01:00
jimboatarm
a6835a5cb2 Merge pull request #48 from jimboatarm/issue_43
Fixes for multiapp on latest version of apks
2016-06-02 09:51:58 +01:00
John Richardson
52104ba0cf Fixes for multiapp on latest version of apks 2016-06-01 16:54:09 +01:00
jimboatarm
9abcdde219 Merge pull request #46 from jimboatarm/fix-issue-42
Dismiss work offline banner if it appears
2016-06-01 14:20:52 +01:00
John Richardson
e39b2792b9 Fixes for googleplaybooks on latest version of apk
Add UiObject fixes in searchForBooks and switchPageStyle methods in
googleplaybooks when running on the latest apk version (3.8.15).
2016-06-01 11:39:25 +01:00
muendelezaji
baed3762f2 Dismiss work offline banner if it appears 2016-05-31 17:07:04 +01:00
John Richardson
801027661f Minor refactoring of uxperf workloads
Delete saved images during teardown of googlephotos workload.  Refactor
selectPhoto helper method in googlephotos and add pause in Multiapp
workload for stability. Includes minor fixes.
2016-05-31 13:19:52 +01:00
John Richardson
d4b2d873f0 Google Play Books workload
A new workload for productivity tasks within Google Play Books
2016-05-31 11:35:44 +01:00
muendelezaji
6c4a7e75f6 Update base class & rebuild workloads 2016-05-27 15:39:54 +01:00
muendelezaji
51c784f5dd Use consistent method names 2016-05-27 14:37:54 +01:00
muendelezaji
403d8ea1bf Move common methods to base classes 2016-05-27 14:31:13 +01:00
muendelezaji
ef2d1d3afe Changes after review of pull #28
- remove permission request dialog handling (no longer required)
- reduce per-slide sleep time (now 200ms)
- replace magic numbers with named constants
- better names for save/delete dialog test tags
- comments to explain some design choices
2016-05-27 12:28:54 +01:00
muendelezaji
994bfc3981 Explanation for using Android Download folder 2016-05-27 12:28:54 +01:00
muendelezaji
e3b00feb85 Add description for Slides 2016-05-27 12:28:54 +01:00
muendelezaji
019f953940 Update slide indexes 2016-05-27 12:28:54 +01:00
muendelezaji
294f9d95a1 Per slide FPS dumpsys 2016-05-27 12:28:54 +01:00
muendelezaji
9415d6d2dc Dumpsys instrumentation 2016-05-27 12:28:54 +01:00
muendelezaji
2d84b02352 Minor changes - slide text formatting 2016-05-27 12:28:54 +01:00
muendelezaji
b167e2dae6 More performance timings for UX actions
- fix: localhost vs on-device slide name comparison
- add: more activities for FPS instrumentation
2016-05-27 12:28:54 +01:00
muendelezaji
1e0a600934 More instrumentation 2016-05-27 12:28:54 +01:00
muendelezaji
39e96ed670 Extra instrumentation for Slides
- Also: add benchmarking and dumpsys helper class/methods
2016-05-27 12:28:54 +01:00
muendelezaji
edf2cb0e57 Simplify parameters & improve reliability of slide show test 2016-05-27 12:28:54 +01:00
muendelezaji
354602fc73 Improve reliability - scroll to find document 2016-05-27 12:28:54 +01:00
muendelezaji
1744050939 Finalise slideshow test 2016-05-27 12:28:54 +01:00
muendelezaji
ac07c359fc Update test for file from storage
- generalised clickView method
- fix workload parameter names
- delete file from previous run if they exist
2016-05-27 12:28:54 +01:00
muendelezaji
fbc9fe226c Simplify test methods 2016-05-27 12:28:54 +01:00
muendelezaji
a04829de25 Simplify main test methods 2016-05-27 12:28:54 +01:00
muendelezaji
ec095d4176 Minor updates and some cleanup 2016-05-27 12:28:54 +01:00
muendelezaji
7f9a16ba75 More Slides actions
- Insert photo, shape, text formatting
- Helper functions
2016-05-27 12:28:54 +01:00
muendelezaji
9c2b83881f Add save document function 2016-05-27 12:28:54 +01:00
muendelezaji
b096c11ec9 Add to google slides workloads
- support for creating new PPT
- parameterised local files
- added helper functions
2016-05-27 12:28:54 +01:00
muendelezaji
f2ff559805 Update google slides workload
- support for pushing local PPT files to device for testing
2016-05-27 12:28:54 +01:00
muendelezaji
ceb6677274 Initial commit for Google Slides
Includes functionality to create a document from template or plain PPT or Slides
Also helper functions for edge swipe and adb commands (not quite working)
2016-05-27 12:28:54 +01:00
jimboatarm
2ce3233398 Merge pull request #27 from jimboatarm/skype-mute-mic
Mute microphone during Skype call
2016-05-27 10:58:00 +01:00
John Richardson
573c9b3226 Remove redundant clickUiObject method
Remove the clickUiObject method from the base class and refactor the
gmail workload to use clickAndWaitForWindow methods instead. For quick
popup menus prefer simple click events.
2016-05-26 17:34:24 +01:00
muendelezaji
0d77956fe1 Mute microphone during Skype call 2016-05-26 14:51:13 +01:00
John Richardson
64f6720a36 Add parameters for filename and search strings
Remove hard coded strings used for the gesture and word search tests and
instead pass these in as parameters from an agenda file.
2016-05-26 14:26:47 +01:00
jimboatarm
aa7029d074 Merge pull request #31 from jimboatarm/discover_view
Add logic to dumpsys helpers to discover present view
2016-05-26 12:58:54 +01:00
John Richardson
13df3cff90 Add workload validate step to check dependencies
Check that dependent files for the workload are present in the
dependencies folder before starting the workload. Move cleanup of
dependent files to finalize method.
2016-05-26 10:25:37 +01:00
John Richardson
e3711a764f Add logic to dumpsys helpers to discover present view
Add intelligence to helper method in UxPerfUiAutomation class to query
the present view during the method call rather than passing this in
explicitly as a parameter.

Fix confirmAccess method to first test for the existence of a
confirmation object before waiting on timeout.
2016-05-26 09:29:47 +01:00
jimboatarm
32dec69742 Merge pull request #29 from jimboatarm/allow-all-permissions
Grant all permissions starting with 'android.permission'
2016-05-25 17:57:02 +01:00
jimboatarm
b924b200c3 Merge pull request #26 from jimboatarm/UXPERF-61
Add version information to workloads
2016-05-25 17:32:49 +01:00
jimboatarm
9571571e4a Merge pull request #25 from jimboatarm/UXPERF-59
Add an internet connection check to all performance workloads
2016-05-25 17:22:22 +01:00
jimboatarm
24d4b0371f Merge pull request #24 from jimboatarm/UXPERF-95
Update add_metric calls to include units for performance timings
2016-05-25 17:21:22 +01:00
muendelezaji
9645b0a410 Grant all permissions starting with 'android.permission'
- previously, anything after the first contiguous block is skipped
2016-05-22 23:40:56 +01:00
John Richardson
173d5a7dd6 Add version information to workloads
Add a __version__ parameter to __init__.py for all workloads. The
version number has three components major.minor.patch.

major: completely new interpretation of the test
       (incompatible with previous test)

minor: breaks compatibility with previous test
       (outputted results, dependencies, etc)

patch: code change with no impact on any dependencies
2016-05-20 15:22:49 +01:00
John Richardson
7efdccf5c9 Add units to metrics and move pauseForSplashScreen 2016-05-20 14:24:25 +01:00
John Richardson
b6edd0627b Remove redundant logging from Multiapp Workload
Remove duplicate logging that is already captured in the standalone
workloads for Gmail and Skype. Expand comment for tagPhoto method in
Gmail workload.
2016-05-20 09:29:43 +01:00