15b-Introduction to TestRail
welcome to test Case Management Systems intro to test rail what we're going to learn today is an overview of test Case Management Systems what test rail is and how QA teams use it executing test cases writing effective test cases and then finally I'm going to show you how you can get set up and start practicing a test case management system is a software tool typically web-based used by companies to organize manage and track the testing process especially test cases it helps quality insurance teams or QA ensure that test cases are well documented systematically executed and efficiently tracked test Case Management Systems main functions are test case creation organization executing and result tracking the popular Enterprise test case management systems are test rail Zephyr and Q test but these Enterprise Solutions require subscriptions and companies pay for each user such TCMS are fairly expensive and not every startup can afford them open sources like kiwi testlink and nitrate can be installed and used for free or for very minimal payment usually supported by a community of developers all right let's get to practicing all right first we'll start by executing test cases in test rail we'll open test rail by going to the website uh we'll see the interface it looks like this just put in your email address and your your password and we'll click in login you'll be greeted by your dashboard area and your projects that gives some metrics about all of the different projects that you have ran and for the sake of our tutorial here let's say that we work for Google and we're going to be running some test cases on Google Maps here we have the Google Maps Suite that we've created and we're just going to click on test cases this shows all of our test cases that we have entered in for our Google Maps project these are the all ones that are available here to create a test run we'll go to the top right here we'll click run test the name by default will'll say test run and then the date that's fine we can leave it as is uh references and milestones we don't need them for the moment uh your manager can help you set that up assign to we can set that as me or yourself and the descript we can give it a description like it's a daily smoke test now we want to Define all the test cases that we want to have inside of our test run we can include all the test cases or we can specify specific test cases we can do that by clicking change selection notice it says zero selected right now and then here we can choose individual ones or we can choose them all let's go ahead and choose all three and then we'll hit okay once we've done that we'll hit ADD test run and then now we have some metrics as we go along testing all of our test cases are down here in this little arrow right here we'll just select that notice how it collapses and expands it so that's our first test case that we're working on our title says that we're going to verify that a user can search for restaurants in Google Maps we'll follow the steps for each test case so we'll open Google Maps homepage in the top left corner we'll type in restaurant and then we'll click on the search icon our expected result in order to pass this particular test case is going to be a list of restaurants are displayed on the left side panel and then restaurants are marked on the map okay so let's see if that happens if we actually test it uh here we have a map of Denver Colorado we're going to type here in the search bar we're going to type in restaurants and automatically it shows some restaurants on the leth hand side bar and then some items marked on the map here and they all look like restaurants okay so let's say that's a pass we can say pass and next and then automatically it marks it as pass or green and then we'll move on to the next test case here verify that the user is able to switch into to Google Street View mode all right we'll do that by opening the Google Maps homepage which we're already there in the bottom right corner click the yellow street view icon and then we'll drag and drop the icon on the blue map area our expected result is the user taken to Google Map Street View mode here's our little uh yellow or orange guy and then wow there's a lot of streets here so we'll just drag and drop and see what happens and it looks like we are there in the Google Street View mode we can pan around um so we've satisfied that test case we can come back here and say pass and next our next one is we're going to verify clicking on the spy glass icon in the empty search field takes the user to the Google search page right so we'll enter the search input field click on the spy glass and it'll say that we're searching for something but for the sake of it let's say that this didn't work it doesn't pass how do we enter in a fail for this so we'll hit add result we want to change our status from past to failed right and if we want to include some comments we can do that we can enter our version of software if we have that available and how long or any IDs that we had from our bug tracking software we don't necessarily have to put all of those in all the time it's dependent upon your company and then we'll click add result and just like that we are done with our test run okay so now uh we can move on back to our test Run results and this shows that we have 67% passing now let's see how we can add projects and test cases into test Trail let's imagine that we need to create a project for the Google login functionality and we'll do that by going to the right and clicking add project we'll select a name like Google login and then go to add project it'll say successfully added the new project great we go back to the dashboard our new project will display first above here so we'll click on test cases to add test cases to the project we'll click the ADD test cases button here or on the right side and now we want to give it a title let's say we want to verify that the user is unable to log in with invalid password so we're going to have a valid user us name and an invalid password our preconditions are that we must have a valid Google account because we need to have a valid username or email address and then our steps we're going to include this here with a numbered list we're going to go to google.com number two click the login button three enter a valid email address like test1 [email protected] and then four enter a invalid password our expected result what should that be the user is unable to log in with a valid invalid password great now we can click ADD test cases or if you have a whole list of test cases to add you can click add and next and it'll bring up this form again above here in our section here we can create uh test cases by default it'll be under for Section this is a folder our template is going to be test cases text our type is going to be what kind of test plan are we running is it regression performance security your smoke let's say it's going to be part of our smoke Insanity our priority every test case has to have a priority this one's going to be critical because if we can't log in then um then the users aren't going to be able to access the rest of our website and we'll hit ADD test case great and now we can either add another or we can go back to our project let's go back to our project and see what kind of test cases we have we have one test case and now if we wanted to add a subsection to test cases maybe we want to have a subsection for negative test cases we can do that by clicking add subsection and then we can also just drag this down into that folder area and select move here now if we wanted to create a folder we're going to go over here onto the right and click add section this will create a folder for us um another way to categorize things so let's just say this is a login functionality and click add section so now we have this whole other section we here we can use to organize our test cases and it's as simple as that into adding projects and test cases this demo covers the majority of tasks and actions you could perform as a QA engineer in testrail while working in a real software development environment now I'm going to show you how you can practice using test rail on your own as mentioned earlier test rail is an Enterprise tool that requires multiple licenses and commonly used by development companies however testrail is currently offering a free one- Monon premium option allowing anyone to sign up and use the tool free for a month no payments required and we only need an email address we can start by navigating to test rail.com and then we can select try for free and then we'll just fill out this form here it's 30 days free no credit card required U we'll say my name is John do we'll put it in an email address probably want to use your email address a company name is can be any company name right uh let's say it's blue pants dog our country now this one's kind of unique I've never seen it grouped by continent before I'm in the United States so I need to go down to North America and then we'll select how many users will be expecting to access this it's just yourself so you'll select one and then here we need to enter in a web address some sort of name that you're familiar with uh and it's case sensitive and number sensitive so we can say uh like blue pants dog and it will cycle to see if this is available for us notice if you put some capital letters in here it doesn't work like hi ah uses an invalid format right so we have to use only lowercase and then we'll say I agree to test rail Cloud terms of service and then if you want to keep updated to that you can press this button so then we'll create account all right and then you're going to just go back to your email address and you're going to confirm that link and then it'll have all the details you need to start using test rail free for about 30 days so we can start practicing let's go back to test Rail and then let's start learning about how to create a project let's add some test cases let's group those test cases into folders as we saw we add a test run and then we'll execute that test run