My code is as follows :
from appium import webdriver
driver=webdriver.Remote("http://127.0.0.1:4723" , desired_caps)
After running this code , calculator does get open , but after that error is thrown as :
"Failed to locate opened application window with appId:C:\Windows\system32\calc.exe , and processId : 230124"
But now if I change the code and pass value for key “app” as :
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 ?