Repository navigation
Closed
Description
Hello,
I have started using WinAppDriver, and found that it is perfectly capable of attaching to my application written in Delphi 5 and interacting with elements. However when using an updated version of the Application written in Delphi 2007 (Delphi 11) I encounter the following error when initialising the webdriver as an IOS Instance...
Test method Automation.Features.CustomerFeature.AddCustomer threw exception:
OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://127.0.0.1:4723/session timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out.
at System.Net.HttpWebRequest.GetResponse()
at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
--- End of inner exception stack trace ---
at OpenQA.Selenium.Appium.Service.AppiumCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Appium.AppiumDriver`1..ctor(Uri remoteAddress, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Appium.iOS.IOSDriver`1..ctor(Uri remoteAddress, DesiredCapabilities desiredCapabilities)
this error is thrown on the following line
Driver = new IOSDriver<IOSElement>(new Uri("http://127.0.0.1:4723"), appCapabilities).StoreIt();
Whole method...
public static RemoteWebDriver Driver { get; set; }
public static void Init()
{
var appCapabilities = new DesiredCapabilities();
appCapabilities.SetCapability("app", UrlHelper.GetAppPath());
Driver = new IOSDriver<IOSElement>(new Uri("http://127.0.0.1:4723"), appCapabilities);
}
Additional Info
- The application does utilise WinForms
- Written in Delphi 2007 (Delphi 11)
- Starts up the program but doesn't attach to the program
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]WinAppDriver Timing Out Launching Delphi 11 App[/-][+]WinAppDriver Timing Out after Launching Delphi 11 App[/+][-]WinAppDriver Timing Out after Launching Delphi 11 App[/-][+]WinAppDriver Timing Out after Delphi 11 application launched[/+]