SetNetworkConditions(Profile)
|
|
|
Command to select the profile configured on the Network Virutlaizaiont server to test the device under the different network conditions.
Profile: Different network conditions profile which was created in NetworkVirtualization Tool.
Note: Parameter set to None - means default profile without network conditions
Selecting the Profile:
Following is the NetworkVirtualization web portal. On the Profiles tab there is the list of profiles that are available on the Server.
Same profiles should be available on the Silk Mobile. User can choose any of the give profiles on the list.
Setting the device. In this case, android device - SM-G900F
Selecting the profile using SetNetworkConditions command. In the following example it is the profile networkdemo.
Note: Use the Launch command to launch google.com on chrome.
client.setNetworkConditions("networkDemo");client.SetNetworkConditions("networkDemo");client.SetNetworkConditions "networkDemo"self.client.setNetworkConditions("networkDemo")$client->setNetworkConditions("networkDemo");