disconnect device

Logically disconnect the target device.
NameDescriptionTypeModifier
session id

Session ID of the currently-connected device.

StringNone
None
The following settings are applicable to this action: remove double quotes from cells.
                                
urlcapabilitiesname
assign device# appium url# appium capabilitydevice test
 
namesession id
connect devicedevice testsession test
 
session id
use device# session test
 
location
navigatehttps://google.com
 
window
check window exists[doc title=Google]
 
session id
disconnect device# session test
  • The primary value of this action lies in allowing your test to terminate the connection with the current device.
  • This action supports the <ignore> modifier. If the string <ignore> is present as the value of the argument, or the argument contains an expression that evaluates to <ignore>, the action is skipped during execution.

Copyright © 2025 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