I am writing my first code for appium.I am trying to open calculator by passing location to desirable capabilities.
I am passing location of the calculator to desirable capabilities as c:\windows\system32\calc.exe
And when I run my code , I am getting error as
Failed to locate opened application window with appId: C:\Windows\System32\calc.exe, and processId: 230124
And now if I run the code , then it works fine. It opens calculator , clicks on number One.
Could anyone help me with this?
Why passing the location of the calculator is not working ? And what is that value I am passing to key âappâ (Microsoft.WindowsCalculator_8wekyb3d8bbwe!App) , which causes the code to run successfully ?