In part 9 I show how to fix a bug reported by the tester, how the tester can verify the bug fix and finally how to close the bug.
hi my name is julio cassal and in this
video i will show you
how a developer can fix a bug reported
by a tester
how the tester can verify that that fix
and finally how he can close the back
remember we are using visual studio 2010
beta 2 and also team foundation server
beta 2
and test lab manager beta 2. so
i have received the notice that
the tester has created a new bug for me
so what i'm going to do right now is to
open visual studio
and see which are my current box
so i will log into team foundation
server
as a developer of course
okay and in the right hand side
i will go to my work items team queries
and see my bugs
you can see i do have a bug here
okay and i want to see the information
about this
let's see okay here are the steps
you can see here the steps that the
tester performed
he she opened the application didn't
enter book type
and then clicked search okay application
crashed
let's see the this attachment
let's see how how much information do we
have we can see clearly there's an
exception here apparently an argument
new exception
seems like book types not being passed
to the function
this is very useful let's continue we
can see we do have video links here
which is
really really useful so let's click here
see what what we get
you can see this is the video
reproduction of what the
the tester did while he was trying to
check this specific scenario you can see
there's the bug
he didn't just enter a book type so it's
pretty
easy to understand that okay let's just
close this for now
what else do we have here let's see
this is the test configuration windows 7
i88
the applications that were running right
in that moment
we can see this action lock
which will tell me um what specific
actions were performed
into the application okay so you can
even see
from what directory the application was
was run and most importantly
for each step which steps were performed
so for example for click search
okay here the the user first click at
the main window title bar then click at
search
okay then well um well then just click
the close button
because this is not really recording the
actual the actual order
uh windows dialog that uh that was
opened
so let's just close this we do have some
more
system information that we can actually
see here in system info
we can know that the no the name and the
domain of the
the machine the version windows version
you can see that the locale of windows
the available memory you know a lot of
information related to the computer
which
is also really useful we can also see
the test cases
that are associated with this specific
bug you can see this is the this case
that the tester was trying to
to to perform and here are all the links
related to to this back
okay so now that that we saw all that
information maybe we can just
fix this back so let's close this
and let's go to this employee
consultations bookstore
okay
so here we are
and now let's run the application see if
we can reproduce the bug
okay we're going to debug the
application
starting right now
okay there we are we will not enter a
book type and click search
so there's the bug you can see
value cannot be new okay
this this window in the right side which
is the new intelli trace
it would allow you to just jump back to
any specific point in the application
if er the applica the information that
you're receiving right now is not really
enough for you
so for example i can i can go back to
the deception
to this order section to click it search
you see you can go back as much as you
want
okay this is really not really
complicated
so it's pretty obvious that this book
type is not coming not really coming
okay so going back to the main
window.saml we can see that this text is
going blank
so it's pretty easy to fix let's just
stop this
fix this quickly so let's just say
you know we do have another another
function
which is this one get booked list that
will not uh
will not ask for any book type but will
just return
all the books that that's the one that
we want right here
so
let's just uh do this
okay you can see i just checked it out
the the source code and the right side
because i'm going to make change
let's say if
string dot is null or
empty
type text box that text
okay we will do something
else we will do what we were just doing
what we will do if there's
no text in the type text box let's just
return all books
which should fill the requirement okay
now let's run this again
click search okay wait a little bit
and there we go there's all the
information from all the books
so we just fixed this bug what we have
to do now is to
check in this change
of course always associating this
checking
with the appropriate work item in this
case it will be this bug
box 47 i will just resolve this this bug
and click check in
okay that's good let's close
close all these documents and now let's
take the role of the tester that wants
to verify
that the bug has actually been resolved
so let's open test lab manager
let's login as the as a tester
okay now let's go to the
track tab and let's say if we have any
new bug assignment
to us as a tester let's click run and
there you go we do have a resolved bug
which is bug 47 that is associated to
our test
so let's see if that is true let's go to
test
and let's try to run this again okay
let's
run
this time we don't really need to create
an action recording we just want to
to round the steps in the test see if it
passes okay let's
open bookstore
there we go do not okay open application
passes do not enter a book type passes
and now
let's click search wait a little bit
and there we go the information is right
there so we can say that
this last step just pass it and end the
test
let's close this
okay then now going back to this
this this main ui window
you can see the test is now marked as
passed the green bar is here
and we can also go to the tracking
tracking window
go to my box open this this box and mark
this as
closed safe and close and that's it
so i hope you like this like this i'll
see you again in the next video
see you again
No comments:
Post a Comment