microsoft / WinAppDriver

Windows Application Driver
MIT License
3.68k stars 1.4k forks source link

Sendkey is not working. #1625

Open YeonwooJeong opened 2 years ago

YeonwooJeong commented 2 years ago
    Session.findElementByXPath("/Pane[@ClassName=\"#32769\"][@Name=\"데스크톱 1\"]"
            + "/Pane[@ClassName=\"#32770\"][@Name=\"네이버 MYBOX 탐색기\"]"
            + "/Edit[@ClassName=\"Edit\"]").click();

this is working. but

    Session.findElementByXPath("/Pane[@ClassName=\"#32769\"][@Name=\"데스크톱 1\"]"
            + "/Pane[@ClassName=\"#32770\"][@Name=\"네이버 MYBOX 탐색기\"]"
            + "/Edit[@ClassName=\"Edit\"]").**sendKeys("nd12345");**

this is not working? what's problem?

https://user-images.githubusercontent.com/8816386/139402413-bbf4ac6d-d5a5-41fb-b888-c6480e2cb765.mp4

이미지 2

Shakevg commented 2 years ago

@YeonwooJeong Could you please post exception text and WinAppDriver Console log

YeonwooJeong commented 2 years ago

@YeonwooJeong Could you please post exception text and WinAppDriver Console log

========================================== yes. here

POST /session/7243BA19-6DC9-4C3D-9350-7F6BC0538A85/element/42.1376386/value HTTP/1.1 Accept-Encoding: gzip,deflate Connection: Keep-Alive Content-Length: 39 Content-Type: application/json; charset=utf-8 Host: 127.0.0.1:4723 User-Agent: Apache-HttpClient/4.5.2 (Java/15.0.1)

{"id":"42.1376386","value":["nd12345"]} HTTP/1.1 500 Internal Error Content-Length: 133 Content-Type: application/json

{"status":13,"value":{"error":"unknown error","message":"An unknown error occurred in the remote end while processing the command."}}

image

liljohnak commented 2 years ago

There is a sendkey issue. https://github.com/microsoft/WinAppDriver/issues/507

YeonwooJeong commented 2 years ago

There is a sendkey issue. #507

oh my god... is this for real?? Why do you only support American keyboards...