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
```
注意: 

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 © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

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

Tel: +1 (650) 572-1400