Skip to content

Getting "The Exception Unknown software exception (0Xe0434352)" when trying to launch the app. #572

@winsri02

Description

@winsri02

I am getting the "The Exception Unknown software exception (0Xe0434352)" when trying to launch my WFP application. When i launch the application manually it opens successfully.

===below is the code i am using.
DesiredCapabilities desktopCapabilities = new DesiredCapabilities();
desktopCapabilities.SetCapability("app", "Root");
var DesktopSession = new WindowsDriver(new Uri("http://127.0.0.1:4723"), desktopCapabilities);
//Assert.IsNotNull(DesktopSession);
try
{
DesiredCapabilities appCapabilities = new DesiredCapabilities();
appCapabilities.SetCapability("app", @"C:\Program Files\XXXX\YYY\ZZZ.exe");
var session = new WindowsDriver(new Uri("http://127.0.0.1:4723"), appCapabilities);
}
catch { }

===And in WinAppDriver i see
POST /session HTTP/1.1
Accept: application/json, image/png
Content-Length: 128
Content-Type: application/json;charset=utf-8
Host: 127.0.0.1:4723

{"desiredCapabilities":{"app":"C:\Program Files\XXXX\YYY\ZZZ.exe","platformName":"Windows"}}
HTTP/1.1 200 OK
Content-Length: 176
Content-Type: application/json

{"sessionId":"6DE0BEE3-CDE3-4B39-884A-912F6EB60703","status":0,"value":{"app":"C:\Program Files\XXXX\YYY\ZZZ.exe","platformName":"Windows"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions