m_essaid
7 years agoValued Contributor
Windows R command
Hi,
Is there a way to send a command with TestComplete as if it was a executed through a Windows-R key combination ?
Thank you,
Mehdi
Hi,
Is there a way to send a command with TestComplete as if it was a executed through a Windows-R key combination ?
Thank you,
Mehdi
I think this could be a solution :
TestedApps.Clear;
TestedApps.Add('C:\WINDOWS\system32\reg.exe', '', 1, true, 'C:\WINDOWS\system32');
TestedApps.reg.Params.SimpleParams.CommandLineParameters:= 'import c:\yourRegFile.reg';
TestedApps.reg.Params.SimpleParams.Activate;
TestedApps.reg.Run(1, true);