SeeTest Client - SetPasscode
info
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
Description
Use this command to set a passcode to the device.
The passcode is defined by the Cloud administrator. Therefore, the command does not take any parameters.
info
- The command works only on iOS remote devices.
- For a list of supported device languages for setPasscode, see Mobile Studio - Device Passcode.
Code Example
Java
client.setPasscode();
If it fails, it throws an exception and your test fails.