steve-fenton / seleniumsuperdriver Goto Github PK
View Code? Open in Web Editor NEWA WebDriver that distributes commands to multiple drivers in parallel.
License: Apache License 2.0
A WebDriver that distributes commands to multiple drivers in parallel.
License: Apache License 2.0
Hi. Currently, I'm writing a test case to run parallel of browsers.
I'm using SuperWebBrowser and it is really nice.
However, I realized that my browser controlling layer of programming can not get the result of test step for each browser when I used SuperWebBrowser.
It seems like they (browsers) work as a simple web driver and do not offer a way to get status of each like this way for example: "If a certain browser in a step get failed, the info sent back will be 'fail' regardless the running of other browsers/ If all browsers (set up like only one SuperWebDriver) run successfully in a step -> that step gets success.
Please help me to obtain information of every browser in every step of the test case.
I intend to use those info for my test report containing the test info of each browser.
Thank you a lot!
Hi Fenton,
Great job for a great tool that support multiple drivers in parallel and very helpful for my team.
During a period of time using it, i got some problems with random method (that was already asked in issue #8 ) and IJavaScriptExecutor
method doesn't work for multiple drivers.
Could you please add 2 methods above to your project? they are kind of important things for my team to develop a testing framework.
Thank you
Giang
Hi steve,
Thanks for your email. ๐
I have new issue when using super driver.
On super driver, when we create a variable for parallel execute. It's the same out put.
But some applications, we can not use 1 data for testing ( e.g. create new account, we can't create 3 account at the same time when executing parallel ).
So, I hope you have idea random variable for super driver.
Could you please help kindly review my request or suggestion your idea ?
( My Team download your script and try to find solution )
Thanks,
Tinh
The following step fails currently, because Firefox still has the cookie after deletion has been requested. Chrome and Internet Explorer do actually delete the cookie.
[Then(@"the test cookie should be gone")]
public void ThenTheTestCookieShouldBeGone()
{
var cookieJar = DriverSingleton.Driver.Manage().Cookies;
var cookie = cookieJar.GetCookieNamed("Test Name");
var ckie = (cookie as SuperCookie).GetSuperCookieContents().ToList();
// Issue: Currently, some drivers don't respect cookie deletion!
Assert.AreEqual(0, cookieJar.AllCookies.Count);
}
Is this a FirefoxDriver bug or is the Super Driver framework doing something wrong?
When a mismatch exception is raised, it would be useful if all of the values could be accessed in a sensible way.
@Steve-Fenton do you still support this project?
I am using this and having some problems. could you please help me on them?
thank you
Hello Fenton,
I want to use the Selenium.SuperDriver for crossbrowser testing in xunit. Unfortunately I get following error:
Method 'GetProperty' in type 'Fenton.Selenium.SuperDriver.SuperWebElement' from assembly 'Fenton.Selenium.SuperDriver, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation."
Any ideas? Thanks in advance!
Hi,
I want to use this functionality in my own project so i can run my tests in multiple browsers at the same time.
Regards,
Kelvin
[FindsBy(How = How.Name, Using = "anElementName", Priority = 0)]
[FindsBy(How = How.Name, Using = "differentElementName", Priority = 1)]
public IWebElement thisElement;
Suppose the element is available in second priority.With normal webdriver we are able to find element but when we try using SuperWebDriver it is throwing an error.
Most WebDrivers support ExecuteScript nowadays. The absence of this method on the SeleniumSuperDriver is probably because the IWebDriver does not have the ExecuteScript method.
At this time this means the SuperWebDriver does not suit my specific needs.
Nevertheless. Thank you for creating this project. Maybe in the future i can add the method myself.
Hi Steve,
Firstly, Thanks so much for SuperDriver solution which is helpful with my project.
However, when we use it with selenium webdriver 2.53, We saw issue between SuperDriver and IWebdriver. Error message displays when you use manage() of IOptions with SuperDriver. You can use current project, upgrade Selenium Webdriver and see this issue.
If you need screenshot or any information from me. Please let me know.
Thanks and Best Regard,
Tinh.Do
Support for alert dialog interaction.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.