--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/iRdu66YhJC0J.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/KRAZ9h1J8w4J.
Hi Jim,I am new to this group and was searching how can i execute a script in multiple instances of IE at the same time in a single machine and saw your reply on new IEDriver and IEDriver.exe.Actually, I am trying to execute my test automation script in multiple (more than one) instances of IE browser in parallel, but unable to do so. As suggested in seleniumhq.org, i have downloaded latest "IEDriverServer.exe" and added the same in %PATH% variable. I am using TestNG xml to execute the script. A snippet of testng.xml which I am using is as below
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name=" Regression" verbose="1" parallel="tests" thread-count="3"><parameter name="URL" value="https://qamain1b.qa.gtnexus.com/desk/welcome.jsp"></parameter><test name="Test" preserve-order="true" parallel="classes"><parameter name="browser" value="*iexplore"></parameter><classes>
<class name="org.gtn.p2p.commercialinvoice.adjustment.AddChargesandDiscountPOI"></class><class name="org.gtn.p2p.commercialinvoice.adjustment.AddChargesandDiscountPOI"></class>
</classes></test></suite>I am using IE9 in Windows7 64 bit OS.Am I doing anything wrong. Please help.Regards,Parikshit
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/nFGH5EeMMaIJ.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/87YKKdRQLkAJ.
Hi Everyone,
Quick question, Can IEDriver and RemoteWebDriver work together?
I am running from my machine connectiing remotely using remote webdriver and from there run a vm. It works perfectly with chromedriver but not being successful when doing it with iedriver
There is my code:
DesiredCapabilities cap = new DesiredCapabilities();
cap.setJavascriptEnabled(true);
cap=DesiredCapabilities.internetExplorer();
cap.setPlatform(org.openqa.selenium.Platform.VISTA);
cap.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
cap.setCapability("jenkins.nodeName", "LondVDI045-Slave"); //availableSUT
cap.setCapability("seleniumProtocol","WebDriver");
System.setProperty("webdriver.ie.driver", "C:\\IEDriver\\IEDriverServer.exe");
try{
driver = new RemoteWebDriver (new URL(WebDriverConnection.getDriverURL()), cap);
driver = new InternetExplorerDriver(cap);
driver.manage().timeouts().implicitlyWait(3, TimeUnit.SECONDS);
pega = new ServiceInteractionUserAccessManager(driver);
accManager = new AccountManager(driver);
m_logger.info("Initialization Done");
driver.manage().window().maximize();
m_logger.info("Pega URL: " + WebDriverConnection.getPegaURL(" "));
}catch (Exception e){
System.out.println("Server not active, please check and restart RemoteWebDriverURL=http://myserver:4444/wd/hub");
e.printStackTrace();
}
}
I am getting the following exception
org.openqa.selenium.WebDriverException: Error forwarding the new session cannot find : {platform=VISTA, seleniumProtocol=WebDriver, ensureCleanSession=true, browserName=internet explorer, jenkins.nodeName=LondVDI045-Slave, version=}
I would very much appreciate any help. From what i have been reading I gather that I need to download the stand alone server and put on the server where I want to run the tests from. I have put it on both vm and server machines and still not successful.
regards,
Mateus
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/79cbcfa1-fca6-45e1-8c81-80dbaf425328%40googlegroups.com?hl=en-US.