0
votes

I have to execute certain testcases for app in windows phone emulator. I could able to launch the emulator When I execute command in windows phone Tshell

open-device $ip(emulator) 

Error: open-device : WPCon failed to execute command "\windows\system32\cmd.exe /c reg.exe query "HKLM\Software\Microsoft\Windows NT\CurrentVersion"" (working directory = "") on device $ip: The operation completed successfully. (S_OK / 0x0). WPCon.FunctionalException: Remote: Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

1

1 Answers

0
votes

Tshell works only with connected Devices .it does not work with emulator and to connect with Device,they should be OEM unlocked and Thsell establishes connection with Device using command open-device IP(of device)