[x] I have verified that my issue does not occur with Appium and should be investigated as an Appium Desktop issue
The problem
Appium UI Inspector cannot identify our windows application. The application i am trying to identify the element is developed using Delphi language and falls under Winforms/Classic win32 app.
Source XML after launching session:
<?xml version="1.0" encoding="utf-16"?>
Appium or Appium Desktop?
Appium Desktop.
The problem
Appium UI Inspector cannot identify our windows application. The application i am trying to identify the element is developed using Delphi language and falls under Winforms/Classic win32 app.
Source XML after launching session: <?xml version="1.0" encoding="utf-16"?>
import io.appium.java_client.MobileElement; import io.appium.java_client.unknownPlatform.UnknownDriver; import junit.framework.TestCase; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.net.MalformedURLException; import java.net.URL; import org.openqa.selenium.remote.DesiredCapabilities;
public class SampleTest {
private UnknownDriver driver;
@Before public void setUp() throws MalformedURLException { DesiredCapabilities desiredCapabilities = new DesiredCapabilities(); desiredCapabilities.setCapability("appium:app", "C:\K_Fleet\KMSupportShipping\Tarjelina\Services\APIServer.exe"); desiredCapabilities.setCapability("platformName", "windows"); desiredCapabilities.setCapability("appium:automationName", "windows"); desiredCapabilities.setCapability("appium:deviceName", "WindowsPC"); desiredCapabilities.setCapability("appium:newCommandTimeout", 3600); desiredCapabilities.setCapability("appium:connectHardwareKeyboard", true);
}
@Test public void sampleTest() {
}
@After public void tearDown() { driver.quit(); } }
Environment