Attach/associate Selenium WebDriver Automation scripts with TFS Manual Test - selenium-webdriver

I have test scripts in Selenium Webdriver using Java language. I want to attach/associate these test scripts with the manual test cases in MS-TFS. I have already done the integration between TFS and eclipse using the Add-on provided by Microsoft. Due to this I am only able to check-in/check-out the code in TFS. But not able to associate the test scripts with manual test cases.
Is there any solution for this?

Related

Implementation of automated workflow testing

I have doubts on how to implement test automation in the company where I am currently. I was wondering what workflow do you suggest?
The project I will be working on uses, on its back-end, the Java language. At first, I want to propose the use of Selenium Webdriver with Java, but some gaps remain:
How would I integrate with problem tracking tools? (Mantis or Jira)
A team member suggested using Python with Selenium Webdriver, is it interesting? (I am afraid)
When developers are committed to the QA environment, how would I do automated testing automatically?
Thank you in advance for your help!
With the evolution of AUT (Application under Test) the project is sure to scale up vertically and horizontally. Hence to maintain a healthy Test Coverage you have to set up an Automation Test Suite to validate the Regression Tests.
Mantis and Jira both can be integrated using either of the Selenium clients Java and Python on demand.
While for Java clients testng is a popular framework, for Python clients you can use the unittest framework.

Does C# with NUnit supports Allure features like Steps, Features/Stories, Parameters

We use Visual studio, NUnit, Selenium web driver and C# to write our test code. My question is can we use Allure feature such as Steps, Features/Stories, Parameters with our stack or is it just supported with java based test framework?
I dont see any documentation about the implementation of these features other then java.
Appreciate your response.
Yes, you should be able to use Allure features.
Take a look at the Allure C# port. You will also need the Nunit adapter.
The events you can use are listed here.

why selenium web driver does not have a GUI?

I saw selenium IDE has a GUI. but why selenium web driver and selenium RC don't have a GUI. I am asking this question, because I am trying to develop a UI automation system by using selenium web driver with a GUI?
remember selenium is a free (open source) automated testing suite so that have diferent tools for automate, in this case selenium web driver lets you automate web applications through the "webDriver", so that is not neccessary a UI for it. Here I attach you an image explaining all selenium test suite and its evolution
Selenium test suite

Continuous integration for automation tools

I am trying to find out as to which CI (Continuous Integration) tools are available for automation tools such as QTP, Selenium webdriver, Waitr and GEB.
Leaving aside QTP...there are multiple CI tools (Open source and paid) which are compatible with Selenium Webdriver & GEB & Watir..will focus on what we have used...
Jenkins (Open source)
I have personally used it and found very flexible with numerous plugins available as per flavor of repository and post build actions.
Best part is this is compatible with Selenium Webdriver & Watir.
Gradle (Open source)
Since we are talking about Geb (groovy language), i would recommend to use Gradle tool. Since it has awesome compatibility and easy to configure.
Not that Jenkins can't be used for Geb, i would prefer to stick with Gradle when it comes to groovy.
There are other open source tools(hudson etc) and as well as paid tools(bamboo,teamcity..etc). It all depends on what all parameters to be addressed as per project or company in your build integration...to select a tool.
I would suggest come up with ur own requirements and then start evaluating any tool.
If you looking for which automation tool is better for CI?
If That is your question, I would suggest Thucydides framework with selenium webdriver. This framework has a great support for CI with abilities to define stories, steps and others.
http://www.thucydides.info/
QTP is a costly tool but automation is faster and efficient with it. We don't have support like the Thucydides framework for CI in QTP but it can be used nonetheless. QTP also supports windows application testing as against selenium which only supports Web browser testing (Testing of web applications run in a browser)
Hope this helps you.

Debugging xUnit tests in Visual C# Express?

I have written xUnit tests for my C# solution.
Visual C# Express does not integrate with unit test tools, so people usually use external tools, and indeed I have used the external xUnit test runner so far.
But now I would like to debug a particular test within Visual C# Express, because this test crashes the xUnit test runner.
I am thinking of creating a dummy executable project that just references the unit tests project and calls the test.
Any smarter idea?
If you're willing to upgrade to Visual Studio 2012 Express for Windows Desktop, you can use the xUnit.net runner for Visual Studio 2012. Otherwise you might be able to attach to the test runner's process (Debug -> Attach to process...) and debug it that way.
I'm not sure if this functionality exists in the Express version, but you should be able to do Tools -> Attach To Process, then attach to the xunit test runner application (make sure it's running). Place a breakpoint in one of your tests, and when you Run the test(s) in the xUnit Test Runner, you should be able to debug like normal.

Resources