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

667 Commits

Author SHA1 Message Date
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
Michael McGeagh
d87c20b594 Added views/activities/context for use with wa's FPS instrumentation layer 2016-05-10 14:15:06 +01:00
Michael McGeagh
f4941d1956 Added skype views/activities/context names for use with wa's FPS instrumentation layer 2016-05-10 13:59:11 +01:00
jimboatarm
438268b6af Merge pull request #10 from jimboatarm/update-build-script-AndroidUiAutoBenchmark
Update build script for AndroidUiAutoBenchmark
2016-05-10 13:48:22 +01:00
muendelezaji
7fb819b387 Update build script for AndroidUiAutoBenchmark
- can be run from any folder (provided GNU readlink is available)
- if build fails, non 0 exit code is returned for proper command chaining
- copies all *.class files into the class_dir (not just BaseUiAutomation)
2016-05-10 12:24:47 +01:00
jimboatarm
1531110bd3 Merge pull request #9 from jimboatarm/code_maintenance
Move confirmAccess method to UxPerfUiAutomation
2016-05-10 12:06:41 +01:00
John Richardson
c8fa9a23cf Move confirmAccess method to UxPerfUiAutomation
Move confirmAccess method out of reader and skype workloads into
UxPerfUiAutomation base class for code reuse.

Amend project properties for reader workload to use SDK version 18.

Update jar files appropriately.
2016-05-09 17:30:39 +01:00
jimboatarm
163e358bf3 Merge pull request #8 from jimboatarm/develop
Fixes for Reader/Gmail/Skype
2016-05-09 15:03:30 +01:00
James Hartley
92e4d41f69 Fixes for Reader/Gmail/Skype
Yet more subtle changes to allow them to run on more devices.
2016-05-09 14:56:25 +01:00
jimboatarm
add4fc3c15 Merge pull request #7 from jimboatarm/googlephotos
Googlephotos
2016-05-09 14:38:28 +01:00
John Richardson
72351dbc18 Remove TAG from log names
Remove TAG prefix from log file names. Add uxperf_ prefix to TAG for
consistency between workloads.
2016-05-09 14:12:01 +01:00
John Richardson
2bee9f4f66 Modify googlephotos after reliability testing
Improve workload  description in __init__.py.
Add saveAndReturn convenience method.
Remove confirmLocalFileAccess method.
2016-05-09 11:15:36 +01:00
John Richardson
3b898125b0 Merging master into googlephotos 2016-05-06 22:36:48 +01:00
John Richardson
16551a5d3f Extend Googlephotos workload
Extend workload to add crop and rotation testing to UI automation.
Add SurfaceFlinger dumps whilst performing editing operations.
2016-05-06 22:31:41 +01:00
muendelezaji
ed305d20f8 Merge pull request #6 from jimboatarm/develop
Two batches of fixes to make productivity workloads run on more devices
2016-05-06 18:22:50 +01:00
jimboatarm
9c45c42f69 Merge pull request #5 from jimboatarm/wl-skype
Skype workload
2016-05-05 23:43:20 +01:00
James Hartley
26443f66cc Fix for Skype on particular devices and updated jar files
Some devices issue a pop up to confirm local file access which needs to be handled.
2016-05-05 23:40:59 +01:00
James Hartley
c624979caa Merge commit 'cde0b12c5dda9cc7d8d0ae5421df4a03f65a0df3' into develop 2016-05-05 23:39:34 +01:00
James Hartley
5d0f676033 More fixes to Reader/Gmail/Photos to improve reliability across devices 2016-05-05 22:22:10 +01:00
muendelezaji
cde0b12c5d Changes after review of pull #5
- Use superclass writeToFile - improved to accept generic Map collections
- Change timer results format to one more in line with the rest
2016-05-05 20:07:51 +01:00
muendelezaji
f648cbe614 Merge remote-tracking branch 'upstream/master' into wl-skype 2016-05-05 18:46:33 +01:00
muendelezaji
f210757424 Change workload name to skype 2016-05-05 18:45:44 +01:00
muendelezaji
4f5fdd6439 Changes after review pull of #5 2016-05-05 16:48:03 +01:00
John Richardson
f3d7d6167a Add method to check wifi access on device
Method to ascertain if wifi connectivity is enabled on the device. Uses
grep and dumpsys. Returns exit code.
2016-05-05 16:27:53 +01:00
muendelezaji
01568d8184 Minor fixes
Parse boolean from parameters
Pull up TextView class string into constant
2016-05-05 12:31:54 +01:00
johnrchrdsn
44f99dcc79 Merge pull request #4 from jimboatarm/develop
Fixes for Reader/Gmail/Photos
2016-05-05 11:32:52 +01:00
James Hartley
d77b29165f Fixes for Reader/Gmail/Photos
Check in missing UiAutomation .class files
Fix generation and deletion of dump sys logs including renaming to a standard [test tag]_[test number].log format
Improved Reader to run across a range of devices with subtlety different layouts and views
2016-05-05 11:21:31 +01:00
muendelezaji
636194be3f Increase wait timeout for views 2016-05-04 17:57:24 +01:00
muendelezaji
366925c5c5 gfxinfo and SurfaceFlinger instrumentation
Also added workload description
2016-05-04 16:59:33 +01:00
jimboatarm
4dce709cd1 Merge pull request #2 from jimboatarm/googlephotos
Googlephotos productivity workload
2016-05-04 13:21:53 +01:00
John Richardson
31cf06b62a Extended BaseUiAutomation and UxPerfUiAutomation
Moved common functionality to base classes for code reuse. Refactored
googlephotos, reader and gmail workloads to take advantage of the new
base class methods and removed total test time metric.

New methods for BaseUiAutomation:
uiDeviceVertPinchIn, uiDeviceVertPinchOut

New methods for UxPerfUiAutomation:
uiObjectVertPinchTest, writeResultsToFile, startDumpsysSurfaceFlinger,
startDumpsysSurfaceFlinger, startDumpsysGfxInfo, stopDumpsysGfxInfo

New class for UxPerfUiAutomation:
GestureTestParams
2016-05-04 11:56:06 +01:00
John Richardson
c2a68074be Googlephotos productivity workload
A new workload to perform standard productivity tasks within
Googlephotos. Each user event/step is timed and reported back as a
metric. Dumpsys also captures SurfaceFlinger logs for each event for
post analysis.
2016-05-04 11:49:04 +01:00
muendelezaji
1396c5404f Simplify metric collection 2016-05-04 09:34:44 +01:00
James Hartley
e1827ffde2 Tidy up Reader timing instrumentation and fix build error 2016-05-03 18:16:17 +01:00
James Hartley
091e1054ab Fix Gmail workload to run across more devices
Changes to deal with subtle differences in layouts between tablets and handsets.
Stop pushing files to he Camera directory for test purposes.
2016-05-03 18:14:59 +01:00