Run registry file on Web VM using DCS
To perform registry changes before starting a Web Automation session using the desktop-web customization service, you can use the script pm-install-reg.yml
. This script, which executes a registry file, is available for all clouds.
The registry file currently needs to be uploaded to the cloud by Perfecto Support.
Copy
Map<String, Object> resourceArgs = new HashMap<>();
resourceArgs.put("timeout", 120);
String[] regfiles = new String[]{"File1.reg","File2.reg"};
resourceArgs.put("fileslist", regfiles);
capabilities.setCapability("customizationScript", "pm-install-reg.yml");
capabilities.setCapability("customizationScriptArgs", resourceArgs);