This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to Launch FlightGUI.exe in UFT Developer

Hello,

I exploring UFT Developer and started writing sample scripts to open FlightGUI.exe application using below code , Even also not opening calc and notepad

Please help me.

@Test
public void test() throws Exception {
String appPath = "C:\\Program Files (x86)\\Micro Focus\\UFT One\\samples\\Flights Application\\FlightsGUI.exe";
Aut flightApp = Desktop.launchAut(appPath);
}

================================

allowlist file: 


"allowedAuts": [
{
"fileName": "C:\\Program Files (x86)\\Micro Focus\\UFT One\\samples\\Flights Application\\FlightsGUI.exe"
},
{
"fileName": "%windir%\\system32\\win32calc.exe"
},

{
"fileName": "mspaint.exe"
},
{
"fileName": "mspaint",
"args": ["C:\\devTools\\img\\2.png"]
},
{
"fileName": "mspaint",
"args": ["1.png"],
"workingDirectory": "C:\\devTools\\img"
}
]
}