Forum Discussion
- rraghvaniChampion Level 3
Is the error message coming from TestComplete?
How is the application being launched?
- gmichaudOccasional Contributor
I call testexecute in a batch file.
TestExecute.exe "D:\Applfich\Bitbucket_epe\essais_auto_ti\epe\bm\RDP_silent_bm\RDP.pjs" /r /exit /ErrorLog:"D:\Applfich\Log\RDP_log.log" /ExportLog:"D:\Applfich\Log\RDP_exportLog%Timestamp%.mht" /ExportSummary:"D:\Applfich\Log\RDP_report.xml" /DoNotShowLogError in log file.(RDP_log.log)
The Application Frame Host process is not running.
The test run has stopped because your test project is configured to stop on errors.
The project suite execution has been stopped.- rraghvaniChampion Level 3
On the machine that you are running TestExecute on, ensure there are no other instances of TestExecute running. You should have TestCompleteService15.exe running,
In your batch file, provide the full path to TestExecute i.e.
"C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\TestExecute.exe"
Also, if you were to manually launch TestComplete via clicking the icon. Do you get any error messages appear?
- gmichaudOccasional Contributor
Yes
- rraghvaniChampion Level 3
Using your local machine that has TC installed to automated an application hosted on a VM, via remote desktop will not work.
What you see on the VM is "streamed" data which makes up the images, which we see as windows, dialogs etc.
You need to have TC or TE installed on the VM to automate your application.
- gmichaudOccasional Contributor
TC is installed on the same VM that i run the script.
- gmichaudOccasional Contributor
And sometimes it's working.
- gmichaudOccasional Contributor
It's not solved i click Marked as a solution by mistake.
- rraghvaniChampion Level 3
You do not need to automate the Remote Desktop dialog.
If you have TC or TE installed on the VM, create a batch file and use either https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/command-line.html or https://support.smartbear.com/testexecute/docs/running/automating/command-line/command-line.html with the appropriate parameters to run your automation. You can the create a Task Schedule to run your batch file, on demand or based date & time.
- gmichaudOccasional Contributor
I am on VM and i need to execute some scripts on another VM i need to be connected by Remote desktop protocol ???
TC is not install on the VM that i want to execute a scenario.
- rraghvaniChampion Level 3
It will not work because "What you see on the VM is "streamed" data which makes up the images, which we see as windows, dialogs etc.". TC will just identify the whole window and not the controls within the VM.
- gmichaudOccasional Contributor
Its working sometimes.
I cannot install TC on every computer a want to use.
How can i use it ??
- rraghvaniChampion Level 3
Automating the Remote Desktop Connection dialog will work fine,
But once you have connected to your VM, that is when it will not work!
Have you tried, what I had mentioned "Are you able to identify an applications objects i.e. windows, dialogs, buttons etc being hosted a VM, via another computer that has TestComplete installed?"
- gmichaudOccasional Contributor
The problem is when i run my code i get the application frame host is not running.
- rraghvaniChampion Level 3
Yes, I understand that.
Hypothetically, assuming there's no issues with mstsc.exe, and you have logged into the VM. What do you plan to do, after you have logged into the VM?
Related Content
- 10 years ago
- 10 years ago
Recent Discussions
- 5 hours ago
- 4 days ago