Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Sep 23, 2019 23:20

Problem

Sometimes there is a need to perform registry changes before starting Web Automation session

Solution

This can be achieved using Desktop-Web Customization Service.

There is a ready script pm-install-reg.yml available for all clouds which is executing registry file.

The registry file currently need to be uploaded to the cloud by Perfecto Support.


        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);