Running automated tests on mobile devices using built-in actions

From within your action lines, you can control which mobile device your test is to execute on with the built-in actions: assign device, connect device, and use device.

	        url                                   capabilities               name
assign device   http://your_appium_server_ip/wd/hub   {Your_JSON_Capabilities}   device1
			
	        name       session id	
connect device	device1    session1
			
	        session id
use device      # session1

When you no longer need to continue the tests on the target device, it is highly recommended that you terminate the connection with the target device by using the disconnect device built-in action.

```
                     session id
disconnect device    # device1
```
Notes: 

If you want to switch to another mobile device during a test run, you can use these 3 built-in actions at the line where you want to start connecting and using the new device.

For example:


Related information

assign device

connect device

use device

disconnect device


Copyright © 2023 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(800) 322-0333