Forum Discussion
I use cmd alot now, I create environments for my apps.
for example :
first, I kill all cmd processes
then :
TestedApps.Add('cmd.exe', 'mylocation\mybatchfile.bat', 1, true, '');
TestedApps.cmd.Run;
Then I wait till the end of the batch execution with this wait procedure
p := Sys.FindChild('ProcessName', 'cmd');
while p.Exists do
begin
IsClosed:= p.WaitProperty('Exists', False);
if not IsClosed then
Delay(3000, 'I wait for the end of the files copy');
p:= Sys.FindChild('ProcessName', 'cmd');
end;
Thanks Guys,
I saw that the approach calls for creating commandlines which create new TestedApps which can be validated early.. user inputs with command arguments can be created in advance,
Edit: Is there a specific reason we have debug, profile options?.
I got the Results from this Link.. https://support.smartbear.com/viewarticle/70910/
The application "MyTestAndroid\TestedApps\TestedApp.exeArgument1 Argument2" started. 18:22:34 Normal
Application domain created: DefaultDomain 18:22:34 Higher
Thread Create ID: 53324 18:22:34 Higher
Thread Create ID: 58744 18:22:34 Higher
Module Loaded: C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib
Thanks a Lot guys for the Support.:heart:
Related Content
- 12 years ago
Recent Discussions
- 60 minutes ago