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.
- Public Continuous Testing Cloud - https://cloud.seetest.io/wd/hub/.
- Dedicated Continuous Testing Cloud environment - Your own domain. For example: https://company.experitest.com/wd/hub/
- On-premises Continuous Testing Cloud environment - Your designated URL. For example: https://company.com/wd/hub
SetSimCard
DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");
...
...
seetest.setSimCard(simCardName);