Whether to go for TestNG or Junit for UI Automation? [closed] - selenium

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Planning to build a automation framework using selenium with java.
Quite confused to execute the testcase, whether to go with testng or junit.
Please provide your suggestions...

If you are having lot of dependencies and input constrains you can opt for TestNg. It is having many annotations which controls your test suite in a proper way.

Check out this link. It compares JUnit 4 and TestNG.
I personally use TestNG as it provides more annotations and dependencies. Everything is explained in an article above.
Hope it helps!

Related

Suggest best reporting tool with selenium webdriver [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have done with my selenium webdriver script.now,I have tried TestNG and XSLT but still manager is not satisfied with output of generated reports. please suggest me best reporting tools for selenium.
I use following reports while working with TestNG and Selenium.
ReportNG: This is similar to TestNG report however looks far better than TestNG.
http://reportng.uncommons.org/
Maven SureFire Report: if you are using maven project you can have maven surefire plugin and generate a report, it's also far better than that of TestNG.
http://maven.apache.org/surefire/maven-surefire-plugin/
ExtentReport: this is my favorite. It's bit tricky to configure but worth it. It has extentx server as well which stores historical data.
http://extentreports.com/
http://extentreports.com/docs/extentx/
Selenium itself does not provide any reporting features. Reporting is provided by the platform you are using to run tests. As you mentioned yourself, tools like TestNG, jUnit or even Cucumber. Perhaps there are some extensions to these testing frameworks that can provide better results.
What exactly your boss is unhappy with? Perhaps you can tune some settings to improve the current result?

Good Selenium WebDriver Extension? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I noticed that the webdriver doesnt have much support for .net. There are plenty of functions for java and ruby but C# is kinda lagging far... behind.
Does anybody know of any extensions classes or libraries that help C# testers. Currently converting tests from Watin to Selenium and I'm starting to realize selenium does not have a ton of support for things like the table class, select lists, ect.
You could also try. We use it, and love it.
Selenium WebDriverSEd Nuget
Selenium WebDriverSEd GitHub
Shameless self-plug (because I'm on the dev team for this framework):
Try: http://webinator.codeplex.com/
Have you downloaded the C# Client Driver from Selenium? http://selenium.googlecode.com/files/selenium-dotnet-2.17.0.zip
I'm using it and I can use XPath with it as well:
_ieWebDriver.Navigate().GoToUrl("http://www.google.co.uk");
IWebElement queryBox = _ieWebDriver.FindElement(By.Name("q"));
queryBox.FindElement(By.XPath(""));
For Table Class with Selenium, you may like to have a look at FITNESSE to be used with Selenium.

Tool for JSON API Documentation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Is there a tool or an easy way to generate/maintain documentation of a rich RESTful JSON API?
I also would want to publish and maintain (as executable documentation) it, something like what relishapp provides. An example.
The application is Restful Ruby on Rails 3 application, tested using cucumber and R-Spec controller tests.
You say you have Cucumber tests already - they are your documentation. They may just need some work to be readable.
For output, you can use Cucumber's built-in HTML formatter.

Load testing tool that can send PUT/DELETE methods [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am finding load testing tool that can send PUT/DELETE requests.
Neither ApacheBench nor JMeter supports these methods.
After several hours' googling, I found SoapUI that looks good.
Do you have any other recommendation?
Command line tool like ApacheBench will be better for me.
The Grinder is a decent load testing framework that also supports PUT and DELETE.
Jmeter supports put and delete methods as of of versions > to 2.5 ( didn't Check for others)

Eclipse plugin for TestNG coverage [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Does anybody know about an Eclipse plug-in to analyze code coverage for TestNG unit tests?
EclEmma can be run on TestNG test suites. You can also run a group of test or a given TestNG class with it. It requires the TestNg plug-in
On EclEmma plugin, choose "coverage configuration..." and select the TestNG tab.
Yes EclEmma is the best one. You can also try maven based cobertura which is also good enough.
I also use EclEmma , ever had a look at Clover ? - very , very nice , but not open source.