query

TFS 2013 Tutorial : 40 -How to create Test Case Plan using TFS 2013 Web Access



Sharing buttons:

welcome to jack brothers in this video

we're going to learn how to create test

case plan using TFS 2013 web access so

here's my server I'm going to open

internet explorer and connect with my

TFS in my case is tech brothers TFS port

8080 and TFS of the URL so we're going

to go ahead and put that URL up here in

internet explorer and if you have TFS

access this page will appear for you and

here's my team project if you don't have

a team project then you can browse and

go to the collection and select your

team project if you're using the web

access the first time you will not see

the team project up here you need to

click on browse and go to the team

project so up here is my team project

I'm going to go ahead and click on team

project and up here since we're going to

go ahead and create a test case plan

we're going to go up here you see home

code work build we're going to go ahead

and click on test the test interface

appears in front of us so there are

multiple options to do that but first

thing that we need to create a plan test

plan so we're going to go ahead and

click on new and up here there are

different options for the test plan one

is the test plan and static suite

requirement based suite query-based

suite just so that you know what suite

is in Microsoft cheetah's Team

Foundation web access or in excuse me or

in Microsoft a test manager suite is

really a collection of your test cases

and also if you wanted to put the

requirements you can put it in there

let's say the suite is basically goes

back to a project a big project and big

project have many requirements and many

test cases all that all those case

requirements and test cases you can put

in one suite and that's called test plan

a static suite or requirement based read

if you have certain requirements which

almost every project has you can create

a requirement based suite right here if

you wanted to create a static suite

static suite is that you just create a

suite and you decide whether you want it

to put requirement in there or not or

you just want it to go ahead and put

your some of your test cases in there

you can do that so our query based suite

if if you click on that if you have

already the requirements your test plans

are already on TFS all you wanted to do

is create a suite for your team and give

access to that particular suite where

they can access that those requirements

your test plans and everything you can

do that as well so in this particular

video we're going to go ahead and create

a requirement based suite so we're going

to go ahead and click on that up here if

you see that it brought us to a query in

Team Foundation server when it comes to

the run query that's not like sequel

server or dot C sharp or anything that's

not really you know code that you need

to write the query is basically a search

feature you can search based on these

fields up here these are the filters

right here if you are working in a

complex environment where there are a

lot of projects there are a lot of work

items and there are a lot of areas and

iterations and there are a lot of other

things that's happening and it would be

hard for you to scroll down and go here

and there if you just know your work

item name tag you can add new quads up

here if you click on that you can put it

right here you know whatever you wanted

to put in your where clause when you

click on that after you done with your

query when you click on run query it's

going to give you the results based on

your query the query is the field is

team

project if you are looking in some other

project you can click on here if up here

is a test three types tries to all the

project that's been tries you can do

that team projects and watermark and all

those this is this is really a great

stuff and there are a lot of lot of

options for you to use so I would

recommend that at least if you're not

even going to use that you should go

through these these options so that you

would know next time you work on a

project where whether as a tester or as

a TFS user just versioning controlling

and all that you should know that what

option you get in the query so we're

going to keep it a TT team project for

now so and we're going to go ahead and

run the query and based on that query

since our project a test plan and up

here is on requirement based it brought

all requirement for us that's already in

our system so we can choose any

requirement basically and you know start

working on that once you have the

requirement you can attach all the test

cases that you will put in one suite

you can attach back to that particular

requirement let's say your requirement

is add login feature to the front page

which you have created already if you

don't know how to create a requirement

please watch my video I have put put up

a video creating work item requirements

using web access and once you have

created the requirement you can go ahead

and choose that requirement and that

requirement you will notice right here

has appeared up here and now there are

cases up here let's say that you you

don't like you were not looking for this

particular requirements you can go ahead

and delete that in your test plan this

is not going to delete from TFS this is

just going to delete from your test plan

so we're going to go ahead

and up here search for another

requirement and right here is give

access space to the vendor so we're

going to go ahead and open that up so

this is my requirement and right now

this requirement does not have any test

cases so what we're going to do is that

in this particular requirement we're

going to create a test case and attach

it to this requirement so we're going to

go ahead if you have already the test

cases in your system you can add

existing test cases if you don't have

you can create test cases on the fly so

we're going to go ahead and click on new

you you have an option new test case new

test case using grid grid I will cover

this option in another video but let's

go ahead and do a new test case so up

here you will create a test case I'm

going to just go through that I'm not

going to create it I'm going to actually

use it one of the existing one so you

just go ahead and put the title of your

test put the tags on that and assign it

this up here assign it to this test case

to our tester and the state is always

going to be design if you're creating a

new one once you created that you can

change the state as well so up here now

you can put the steps what the steps a

tester should take in order to complete

this test case so test requirements

links attachment if you have documents

related to this test scenario then you

should put it up here in attachment if

you have the documents somewhere like

your SharePoint or shared directory you

can create basically a link and that

person the tester will go ahead and

click on the link and it will open up

for you you don't have to really attach

everything up here you can create all

kind of links here so we're going to go

ahead and cancel this one and we're

going to go ahead and use existing

so these are my test cases right here so

we're going to go go ahead and use this

test case all right as you can see the

test new feature login so this test case

is active right here

once we run this test case particularly

run a test case then we can if it passes

we can go ahead and mark it as pass/fail

or not applicable or block the test that

shouldn't happen at all because it's

causing issues if it's especially if

it's a build process automated process

that it can cause a lot of issues so

we're going to go ahead and keep this as

active and once you're you're done with

that you can go ahead on that particular

test and click on the open this or you

can right click on that particular test

and click run test once you run that

another window will open and it'll show

you the steps up here now I need to let

you know up here that there is a

difference between running the test in

Test Manager Microsoft test manager and

microscopic sess in Microsoft test

manager you will get some graphical

interface right here recording feature

you can take screenshots you can do a

lot of stuff that you can't do here up

here you still have an option about 70%

of options in web access that you can

create a barbecue which you can do in

Microsoft test manager you can pass or

fail the test right here if you fail you

get a reason and especially this web

access is very useful for the folks that

who just you know went through the

detailed test run before and they just

wanted to see that the particular things

that they are looking for whether they

passed or not so based on that you can

go ahead and run your test and make a

you know pass or fail and once you're

done then you can go ahead

save your you know save your test case

and test plans I hope this video helps