Want to manipulate registry with a keyword test
I'm rewriting delphiscript tests to keyword tests because delphiscript has been deprecated and I prefer keyword tests. It's a huge undertaking and I don't want to switch to a different scripting language and have to create a new Project file because that will take several months and I would be trying to keep two projects in synch with my normal daily work. So, could someone send a print screen of what this would look like in a keyword test, please?
function DeleteRegistryKey();
var Key;
begin
Key := Storages.Registry('Software', HKEY_CURRENT_USER);
Key.DeleteSubSection('SomethingFoo');
end;
Thanks!
Hi,
While DelphiScript has been deprecated, it was not disposed of and can be used without any restrictions.
Keyword tests do not have something like Registry operation, so you may consider either Run Code Snippet one or create your custom operation.