WinAppDriver version 1.2.99 - Need help to rectify the issue - {"status":13,"value":{"error":"unknown error","message":"Could not find any recognizable digits."}}

Manickavelu Thayamathy 0 Reputation points
2024-04-17T11:44:01.26+00:00

Step 1 - Posting POST URL.png

Step2 - WinAppServer is running and providing could not recognize data error message.png

I am sending the following POST url to create a session in WinAppDriver version 1.2.99 using postman

POST http://127.0.0.1:4723/session

and I have sending the url to WinAppDriver by the API in Body - JSON option

{

  "capabilities": {

    "alwaysMatch": {

      "app":"C:\Windows\System32\notepad.exe",

      "platformName":"Windows",

      "deviceName":"WindowsPC"

    },

    "firstMatch": [{}]

  },

    "desiredCapabilities": {

    "appTopLevelWindow": {

       

    }

    }

}

But After clicking on sending in postman,500 Internal Error is occuring

Windows Application Driver listening for requests at: [http://127.0.0.1:4723/]

Press ENTER to exit.

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

POST /session HTTP/1.1

Accept: /

Accept-Encoding: gzip, deflate, br

Connection: keep-alive

Content-Length: 286

Content-Type: application/json

Host: 127.0.0.1:4723

Postman-Token: 49f58185-02c7-4f30-a30f-a540dc6fd377

User-Agent: PostmanRuntime/7.37.3

{

"capabilities": {

"alwaysMatch": {

"app":"C:\Windows\System32\notepad.exe",

"platformName":"Windows",

"deviceName":"WindowsPC"

},

"firstMatch": [{}]

},

"desiredCapabilities": {

"appTopLevelWindow": {

}

}

}

Output


HTTP/1.1 500 Internal Error

Content-Length: 99

Content-Type: application/json

{"status":13,"value":{"error":"unknown error","message":"Could not find any recognizable digits."}}

Kindly help me to rectify the above could not fine any recognizable digits.

If you have proper POST URL with json for creating a session in WinAPPDriver for getting the success message - HTTP 200 OK. Kindly mention POST URL and capabilities.

WinAppDriver is running in Administrator user only.Step2 - WinAppServer is running and providing could not recognize data error message.png

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,629 questions
0 comments No comments
{count} votes