Forum Discussion
tristaanogre
7 years agoEsteemed Contributor
This is DelphiScript... not Delphi... so, if there are certain commands, modules, etc., that are part of the Delphi IDE environment, they are not going to be here.
Based upon what you are wanting to do, you should look into using the WshShell object that's built into TestComplete and utilize the Exec method on that object. Your code might then look something like
procedure initializeDatabaseForTesting; begin WshShell.Run('cmd.exe \c sqlcmd -S mypc\express2014 -i C:\TestComplete\tests\restoredb.sql) end;
Related Content
- 13 years agoNightSpirit2
Recent Discussions
- 2 hours agoSubhraDas