in winAppDriver v1.0, there is a new feature “Attaching to an Existing App Window”.
please refer the details in https://github.com/Microsoft/WinAppDriver.
and I am using robotframework+appiumlibrary+Appium+winAppDriver to do the automation of my windows application.
i want to use the new feature mentioned above in Open Application keyword in robotframework appiumlibray
e.g
Open Application platformName=Windows deviceName=WindowsPC app=Root automationName=appium
Open Application platformName=Windows deviceName=WindowsPC appTopLevelWindow= automationName=appium
it failed when opening the handler, in the appium server log, it is said that “Option ‘app’ is required”.
then if i add the app argument as below:
Open Application platformName=Windows deviceName=WindowsPC app=Root automationName=appium
Open Application platformName=Windows deviceName=WindowsPC appTopLevelWindow= app=Root automationName=appium
in the appium server log, there is winAppDriver error: “invalid argument: bad capabilities: specify either app or appTopLevelWindow to create a session”
so how can Appium support this new winAppDriver feature? how to make this work?
thanks!