Launching the Desktop Application
I am trying to launch a desktop application using testcomplete but its not getting launched. So i did some sresearch and got to know that its happening because of the path i am giving in variable but if i use same path suing run command then applicaiton gets open. So i checked with notepad application which gets open but my application is not opening becase of an extra space given in folder name.
So can anyone help me how to pass path if path has an space between folder name -
Code is as below -
Dim appPath = "C:\\App\\Ellie Mae\\ApplicationName.exe" ' here folder Ellie Mae has an space between Ellie and Mae, so application is not opening
So can anyone help me how to write the path when there is an space between folder name?
Like in command prompt you must enclose path into quotes.
In case of VBScript it will be like this:
Dim appPath = """C:\\App\\Ellie Mae\\ApplicationName.exe""" ' three quotes at the beginning and the end
Also you may consider to add your application to Tested Applications and start it using TestedApps functionality: https://support.smartbear.com/testcomplete/docs/testing-with/tested-apps/index.html