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
jimboatarm
da00367d74
Merge pull request #33 from jimboatarm/gmail_cleanup
...
Remove redundant clickUiObject method
2016-05-27 10:57:44 +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
jimboatarm
5c194f4ba7
Merge pull request #30 from jimboatarm/UXPERF-81
...
Add workload validate step to check dependencies
2016-05-26 12:43:05 +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
jimboatarm
b2b5c7f2f3
Merge pull request #23 from jimboatarm/multiapp
...
Add Multiapp workload
2016-05-25 17:20:29 +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
John Richardson
46fb7614cf
Add an internet connection check to all performance workloads
...
Throw a DeviceError exception if no wifi connection has been made
during the initialization step of the current workload.
2016-05-19 14:10:20 +01:00
John Richardson
4aee83abb7
Update add_metric calls to include units for performance timings
2016-05-19 11:13:45 +01:00
John Richardson
2532f36a62
Add Multiapp workload
...
A new workload for testing context switching between applications.
Uses googlephotos as the producer workload and gmail and skype as
the consumer workloads.
2016-05-17 14:52:43 +01:00
John Richardson
0f7aff48cc
Fix reader workload after tech debt cleanup
2016-05-17 14:18:28 +01:00
johnrchrdsn
ba423ace32
Merge pull request #22 from jimboatarm/techdebt
...
Tidying up a few tech debt backlog items
2016-05-17 13:52:31 +01:00
James Hartley
e95227175d
Add setScreenOrientation to BaseUiAutomation class
...
This allows workloads to be launched in a pre-determined orientation not the orientation of the physical device itself.
Updated the productivity workloads to take advantage of this new facility.
2016-05-16 17:37:45 +01:00
James Hartley
c4bf3c59de
Update descriptions for all productivity workloads
...
Adopt a standard format so that reports can be generated using text directly from these sections of code.
2016-05-16 16:15:37 +01:00
jimboatarm
041974a375
Merge pull request #20 from jimboatarm/copyright-notices
...
Copyright notice update
2016-05-16 13:53:02 +01:00
muendelezaji
ac437fd18c
Copyright notice update
...
- Add Copyright notice to Java & Python workload templates
- Add Copyright notices to recent workloads
2016-05-13 11:11:11 +01:00
jimboatarm
61a92bc036
Merge pull request #19 from jimboatarm/move_to_init
...
Move file management logic to per worload run
2016-05-12 20:07:11 +01:00
John Richardson
118112a9fc
Move file management logic to per worload run
...
Move file management steps to initialize and finalize methods instead of
setup and teardown. These steps should be performed per run instead of
per iteration. Affected workloads: gmail, googlephotos.
2016-05-12 13:00:01 +01:00
jimboatarm
2579c01757
Merge pull request #18 from jimboatarm/fudge
...
Fix instrumentation for Gmail attach images
2016-05-11 16:48:40 +01:00
James Hartley
de207babdf
Fix instrumentation for Gmail attach images
...
Previously the same values were reported for all five images being attached.
2016-05-11 16:47:33 +01:00
jimboatarm
4249479a65
Merge pull request #17 from jimboatarm/fudge
...
Fix timing instrumentation logs for Skype Part 2
2016-05-11 14:56:22 +01:00
James Hartley
a061b4bdcf
Fix timing instrumentation logs for Skype Part 2
...
Remove the bad dumpsys_enabled conditional statement
2016-05-11 14:55:19 +01:00
McGeagh
74257fc520
Merge pull request #16 from jimboatarm/fudge
...
Deal with Reader PDF search on the Yoga Tab 3
2016-05-11 12:18:26 +01:00
James Hartley
99d1b7d14c
Deal with Reader PDF search on the Yoga Tab 3
...
This device does not accept 'Enter' or 'Search' Key Events to initiate the search so reluctantly having to use coordinates in this special case.
2016-05-11 12:13:14 +01:00
jimboatarm
cd3d08dae9
Merge pull request #14 from jimboatarm/fudge
...
Fix timing instrumentation logs for Skype and GooglePhotos
2016-05-11 12:07:32 +01:00
jimboatarm
d85b76ceaa
Merge pull request #15 from jimboatarm/update-workload-build-scripts
...
Update ant build scripts for existing workloads
2016-05-11 10:15:47 +01:00
jimboatarm
6a1ca75f2d
Merge pull request #3 from jimboatarm/wifi_check
...
Add method to check wifi access on device
2016-05-11 10:01:20 +01:00
muendelezaji
e0cbc55013
Update ant build scripts for existing workloads
2016-05-11 09:39:27 +01:00
James Hartley
cbfcf6eaba
Fix timing instrumentation logs for Skype and GooglePhotos
...
Bring both workloads in line with the standard way of regex searching the instrumentation logs.
2016-05-10 18:20:47 +01:00
McGeagh
493a2de536
Merge pull request #13 from jimboatarm/fudge
...
Fixes for Gmail, Reader and Photos on a particular devicex
2016-05-10 16:23:35 +01:00
James Hartley
60c94a79bd
More robust way of checking image is attached in Gmail
...
Waiting for the attached image icon to disappear is more reliable than waiting for the new view to appear on some 2-1 devices.
2016-05-10 15:49:51 +01:00
James Hartley
35a0953858
Fix googlephotos crashes on certain devices
...
On one particular devices polling for the navigate image button fails. Waiting for it to exist works successfully.
2016-05-10 15:40:30 +01:00
James Hartley
adf272fa1b
Fix Reader workload crash when asked for local file access
...
Certain devices will ask for local file access permissions immediately on app launch.
2016-05-10 15:21:28 +01:00
James Hartley
a0e3bafbf0
Group the create new Gmail instrumentation timings and fix for sendMail
...
Adding the prefix will group these timings together when the logs are post processed.
On some devices the conversation view is minimised when creating a new mail so no longer check for the Navigate button, just check the send view has disappeared.
2016-05-10 15:09:16 +01:00
jimboatarm
6fa953d5b4
Merge pull request #11 from jimboatarm/skype-viewnames
...
Added skype views/activities/context names for use with wa's FPS inst…
2016-05-10 14:43:06 +01:00
jimboatarm
c8977c4fb6
Merge pull request #12 from jimboatarm/photos-viewnames
...
Added views/activities/context for use with wa's FPS instrumentation …
2016-05-10 14:42:49 +01:00