TestComplete launches 32-bit cmd.exe (i.e. cmd.exe*32 process)
We need to invoke a test application via command prompt. The application is a 64-bit app and NOT supported on 32-bit.
What I need?
1. Invoke Command prompt from TestComplete (using VBScript). Windows 7 64-bit is being used.
2. Run application using command line arguments
3. Further processing....
Where I'm stuck?
Unable to launch "cmd.exe" using TestComplete. Using any of approaches below "cmd.exe*32" process is launched. When we run our application "32-bit Windows not supported" is shown (which is probably a custom application message)
Approaches (all of them launch cmd.exe*32)
1. Add cmd.exe to TestedApps (more specifically C:\Window\system32\cmd.exe) and then using TestApps.cmd.Run(1, True)
2.Using WScript:
Set oWShell = CreateObject("WScript.Shell")
oWShell.Run("cmd")
Note: When launching command prompt manually via Windows > Run > cmd, cmd.exe is launched.
It seems really silly to me, so coming straight off to the forum for urgent help.