assign device

Assign a logical name for a given capability of a target mobile device. This name may then be used in the action connect device.
NameDescriptionTypeModifier
url

URL Appium server.

StringNone
capability

Set of keys and values, in JSON format, sent to the Appium server to define what kind of automation session to be launched.

StringNone
name

User-assigned, “friendly” name of the capability.

StringNone
None
This action may be used within the following project items: test modules and user-defined actions.
The following settings are applicable to this action: remove double quotes from cells.
Assign name ‘device test’ for the given capability and then use this name for the action ‘connect device’.
                                
                                    	url	capabilities	name
assign device	# appium url	# appium capability	device test
&nbsp			
	name	session id	
connect device	device test	session test	
&nbsp			
	session id		
use device	# session test		
&nbsp			
	location		
navigate	https://google.com		
&nbsp			
	window		
check window exists	[doc title=Google]		
                                
                            
  • This action supports the <ignore> modifier. If the string <ignore> is present as the value of any of the arguments, or any argument contains an expression that evaluates to <ignore>, the action is skipped during execution.

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400