mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +00:00 
			
		
		
		
	AppShare: Updated to use new method of uiautomator parameter passing.
This commit is contained in:
		| @@ -141,7 +141,7 @@ class AppShare(AndroidUxPerfWorkload): | ||||
|         self.uiauto_params['recipient'] = self.email_recipient | ||||
|         self.uiauto_params['my_id'] = self.skype_login_name | ||||
|         self.uiauto_params['my_pwd'] = self.skype_login_pass | ||||
|         self.uiauto_params['name'] = self.skype_contact_name.replace(' ', '0space0') | ||||
|         self.uiauto_params['name'] = self.skype_contact_name | ||||
|         # Only accept certain image formats | ||||
|         if os.path.splitext(self.test_image.lower())[1] not in ['.jpg', '.jpeg', '.png']: | ||||
|             raise ValidationError('{} must be a JPEG or PNG file'.format(self.test_image)) | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							| @@ -50,7 +50,7 @@ public class UiAutomation extends UxPerfUiAutomation { | ||||
|         String recipient = parameters.getString("recipient"); | ||||
|         String loginName = parameters.getString("my_id"); | ||||
|         String loginPass = parameters.getString("my_pwd"); | ||||
|         String contactName = parameters.getString("name").replace("0space0", " "); | ||||
|         String contactName = parameters.getString("name"); | ||||
|  | ||||
|         setScreenOrientation(ScreenOrientation.NATURAL); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user