Am working on a banking application. Our requirement is to execute tests in parallel in one system.
A) Below is how our application responds to selenium parallel execution :-
Does not allow multiple logins in IE
Allows multiple logins in chrome and FF [During automation we create new profile every time, so I presume that selenium creates new browser profile every time ]
We are able to execute tests in parallel using firefox and chrome without any session issues.But while executing on IE our application logs out from the second instance automatically.. I have tried launching IE in private mode using below IE capabilities , But still facing problem in IE
DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();
capabilities.setCapability(InternetExplorerDriver.FORCE_CREATE_PROCESS, true);
сapabilities.setCapability(InternetExplorerDriver.IE_SWITCHES, "-private");
InternetExplorerDriver driver = new InternetExplorerDriver(capabilities);
Manually if you launch two IE in private mode with two different logins, it is working fine, Am getting issue only when automating via selenium.
We are using our inhouse framework for running multiple instance. we are not using testng or other unit testing frameworks
Could you please help me over come this IE session issue?
Please let me know if you need more details..
Thanks in advance..
EDIT:-
Below link says lot about how to design application not to share sessions between tabs...But I did not found any solution for my issue..