Run Automation UI Testing through Selenium and Coded UI Without Build from TFS

2.5k views Asked by At

Our web application codes are stored on SVN instead with TFS. We are trying to set up our automated UI testing.

These are following tools our team are considered to use. - Microsoft Test Manager (Create Test cases associate with User stories) - Coded UI (Connect to TFS and Microsoft Test Manager) - Selenium (Automated UI coded) - Team Foundation Server 2015 (Test cases and User stories)

Web Application with URL

We only want to configure automated UI testing for our website. Is there any way to run the set up the automated testing without build through TFS?

Thank you and any feedback is appreciated.

3

There are 3 answers

0
Prageeth Saravanan On

So here is the thing,

  1. Coded Ui is not a connector to TFS & MTM it by itself an automation framework/tool like selenium
  2. You don't need both Selenium & Coded UI for your automation. You only need either of it

If all you want is to get started with automation for your application, you can do it just with a version of visual studio which has Coded Ui. (The latest supporting version is Visual Studio 2015 Enterprise edition)

See this like to know How to create Coded Ui Tests , see this link to know how to Run a Coded Ui Test

0
PatrickLu-MSFT On

It's based on your workflow. Whether your app/code is on-premises or in the cloud, you can automate build-deploy-test workflows and choose the technologies and frameworks, then test your changes continuously in a fast, scalable, and efficient manner. And just as Prageeth said, Coded Ui is an automation framework/tool just like selenium.

In TFS either code ui or selenium test more like continuous testing. The workflow is such as bleow:

First make sure that your app still works after every check-in and build using TFS. Find problems earlier by running tests automatically with each build. When your build is done, review your test results to start resolving the problems that you find.

Add some related tutorials for your reference:

If you insist on without building from TFS, you could also use the Code UI function with VS on local.

0
Tara On

You can setup Test controller and Test Agent VMs in MTM test lab. This will allow you to execute your automated tests on Test Agent directly in MTM. Otherwise, you can execute Coded UI tests locally in Visual Studio.