2gis / Winium.Desktop

Winium.Desktop is Selenium Remote WebDriver implementation for automated testing of Windows application based on WinFroms and WPF platforms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting an error {"status":13,"value":{"error":"unknown error","message":"Failed to locate opened application window with appId

manikantadeepukolluru opened this issue · comments

commented

I am trying to launch an application using .bat file and i get the error Getting an error {"status":13,"value":{"error":"unknown error","message":"Failed to locate opened application window with appId,. After the launch, the application login screen will change to Mon.exe. Can some suggest?

import unittest
from appium import webdriver
import time
desired_caps["app"] ="C:\Program Files (x86)\APP1\launch.bat"
driver=webdriver.Remote(command_executor='http://127.0.0.1:4723',desired_capabilities = desired_caps)

We want the solution to be in Python language