-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am trying to use this code but getting error #8
Comments
What error do you get? You've just pasted a line of code, not the error message. Also what's your environment (OS, Python version, 32 vs 64-bit) |
I am using Windows 7 64 version. Error Message. Please help: org.openqa.selenium.WebDriverException: The path to the driver executable On Tue, Jan 12, 2016 at 2:10 AM, David Luu [email protected] wrote:
|
ok that's just strange. what is your (desired) capabilities passed to RemoteWebDriver? It seems to me, based on the error, that you are passing the wrong capabilities and so WebDriver thinks you want IEDriver and you haven't defined that properly. If you really want AutoItDriver, then you want to follow the capabilities defined here: https://github.com/daluu/AutoItDriverServer/blob/master/sample-code/SeleniumIntegrationTest.java#L16 (lines 16-18) Also make sure you have started AutoItDriverServer (https://github.com/daluu/AutoItDriverServer/blob/master/autoitdriverserver_python/server.py) on the right port. Your line of code shows 4444, the default for AutoItDriverServer is 4723. |
I am using the same code mentioned in your forum Do I need to start hub n node?
|
You have to run the server to connect to it. There's a way to enable Selenium grid support, but I haven't documented it yet. See issue #7 for some details. So for now, easiest to use it standalone (not with Grid). If you look at the readme, you start the server via:
passing help option for more details. To set port to 4444 (because 4723 is default) you would do this:
only after you start the server can you connect to it. If you don't have Python & the dependencies set up, read the readme instructions: https://github.com/daluu/AutoItDriverServer#quick-start--serverimplementation-notes |
Thanks. I will try and confirm back On Tue, Jan 12, 2016 at 11:22 AM, David Luu [email protected]
|
Hi Daluu, I have one scenario wherein we have to automate assessment of our iOS
Please share your ideas for automating above scenario. Regards Nitika On Tue, Jan 12, 2016 at 2:10 AM, David Luu [email protected] wrote:
|
iOS automation is not supported by AutoItDriverServer which runs on Windows only. I would think you have better luck asking about that scenario at http://discuss.appium.io or https://groups.google.com/forum/#!forum/ios-driver, and as such use tools like Appium or ios-driver. If you are testing a mobile app scenario that integrates or affects a desktop application, then AutoItDriverServer can be used to handle the desktop side, you would use 2 driver instances then. The mobile driver (Appium/ios-driver) handles the mobile app, and another driver instance for AutoIt. Perform some actions on mobile side then validate changes from AutoIt/desktop side, and vice versa. I don't have a sample of integration with mobile app, but there is one for web UI with Selenium, the technique should be the same for both. |
I am getting error in below line
driver = new RemoteWebDriver(new URL("http://localhost:4444/wd/hub" ), capabilities);
The text was updated successfully, but these errors were encountered: