Open stefdaems opened 9 years ago
Error code = -532462766
Hi,
It looks like the first activation after the install of an app succeeds on windows 10, but after the second time it fails. Could it be possible that the security rule protections on the app directory in Appdata becomes corrupted?
Kind regards Stef
015-08-31 14:03:17.720 [Verbose] WinAppDriver: Delete directory: C:\Users\nsetesting\AppData\Local\Packages\XXXX.XXXX_c5vekn1z7ww04\TempState 2015-08-31 14:03:17.720 [Information] WinAppDriver: Activate the store app; current working directory = [C:\Users\testing\Desktop\tools\WIN10 automated testing], AppUserModelID = [Telenet.Yelo_c5vekn1z7ww04!App]. 2015-08-31 14:03:17.735 [Verbose] WinAppDriver: PID of ActivateStoreApp.exe = 3016. 2015-08-31 14:03:42.369 [Error] WinAppDriver: Error occurred. WinAppDriver.WinAppDriverException: Error occurred while activating the store app; code = 255, STDOUT = [], STDERR = [ Onverwerkte uitzondering: System.Runtime.InteropServices.COMException: De app is niet gestart. (Uitzondering van HRESULT: 0x8027025B) bij ApplicationActivationManager.ActivateApplication(String appUserModelId, String arguments, ActivateOptions options, UInt32& processId) bij Program.Main(String[] args) in c:\WinAppDriver\winappdriver-master (1)\winappdriver-master\src\ActivateStoreApp\ActivateStoreApp.cs:regel 17 ]. bij WinAppDriver.Modern.StoreApp.Activate() in c:\WinAppDriver\winappdriver-master (1)\winappdriver-master\src\WinAppDriver\Modern\StoreApp.cs:regel 144 bij WinAppDriver.Handlers.NewSessionHandler.Handle(Dictionary`2 urlParams, String body, ISession& session) in c:\WinAppDriver\winappdriver-master (1)\winappdriver-master\src\WinAppDriver\Handlers\NewSessionHandler.cs:regel 159 bij WinAppDriver.RequestManager.Handle(String method, String path, String body, ISession& session) in c:\WinAppDriver\winappdriver-master (1)\winappdriver-master\src\WinAppDriver\RequestManager.cs:regel 51 bij WinAppDriver.Server.HandleRequest(HttpListenerRequest request, HttpListenerResponse response) in c:\WinAppDriver\winappdriver-master (1)\winappdriver-master\src\WinAppDriver\Server.cs:regel 47 2015-08-31 14:03:42.416 [Verbose] WinAppDriver: Response (Status: BadRequest, ContentType: text/plain): WinAppDriver.WinAppDriverException: Error occurred while activating the store app; code = 255, STDOUT = [], STDERR = [ Onverwerkte uitzondering: System.Runtime.InteropServices.COMException: De app is
logging I'm receiving on start of the app.
I am also seeing an error with the activate phase for modern apps in #12
2015-11-18 15:52:31.089 [Information] WinAppDriver: Activate the store app; current working directory = [C:\WINDOWS\SysWOW64], AppUserModelID = [a02b50fe-bb55-4be5-8bd9-6c2f93cef175_vr9ykqv283qqw!App].
2015-11-18 15:52:31.111 [Error] WinAppDriver: Error occurred.
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at WinAppDriver.Modern.StoreApp.Activate() in z:\work\winappdriver\src\WinAppDriver\Modern\StoreApp.cs:line 128
Installed webdriver on WIN 10 tablet. Installed Twitter app on the device.
I open the twitter app myself several times, without any issue. I started winappdriver and initiated via a second program to open twitter. Shortly after twitter is opened, the twitter app crashes.
Error occurred while activating the store app: code = 255, STDOUT= [], STDERR = []
If now I want to start the twitter app myself via the menu it crashes over and over again.