Skip to main content

SetSimCard

Description

This command assigns a SIM card to a device. 

info

This command is only applicable to Continuous Testing Cloud, Enterprise edition.

Usage

After connecting to a device on cloud using the SeeTest client , you can use the SetSimCard command to assign a SIM card by it's name to this device. 

If an empty String or Null are sent as the SIM card name, any sim card already assigned is unassigned from the device.

info

Replace <server> with the appropriate URL.

SetSimCard

DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");

...
...

seetest.setSimCard(simCardName);