Hello
I am trying to use winappdriver to automate a desktop app with appium, howver the app name as shows powershell (4th row has spaces)
how can I lucnh the app with this capability as it shows error not recognizing the path
from appium import webdriver
from appium.webdriver.common.appiumby import AppiumBy
from appium.webdriver.common.mobileby import MobileBy
import time
desired_caps = dict(
app='C:\GC 22\Dispatch Console\GC 22.exe',
platformName='Windows',
deviceName='WindowsPc'
)
def test_console():
driver = webdriver.Remote(‘http://127.0.0.1:4723/wd/hub’,desired_caps)
time.sleep(6)
driver.quit()