Welcome back to my voice in tutorial for karate, I guess we can hide this one screws, this one over and over corners, but we'll figure it out. So, okay, so this is my, this is my early cloud cloud based and so remember in the previous class we have created a user story. So that was, you know, who retired about this dashboard 15 minutes or so, okay. And then we went to this plan section, went to user story. And overall, first Actually, we need to understand this, which project and then we went to this plan and, and then we talked about this parent and child user stories. So much So these is us 198.
The roadman interesting. Okay, so here, what we'll try to do is, let's say development is done Nope. Let's, let's see, let's try to understand and development is done. Most has to learn. Now. You know, what we do here is as a distinct perspective.
Of course, you can also work as a development perspective, but we'll go to pass here pretty quick. Then we'll discuss about revisions. Whatever you do to make changes the history gets saved here. We talked about discussion dispute ads. We'll go talk about this past right now. Great.
Go ahead and click on that. Okay, now, low for let's see, let's take an example here. Let's say the term Refer as I'm sorry, I'm stupid don't have to be the local disturb button to see if any developer is there they have their unit test cases that they can write the unit test use. So this is not the appropriate place to write test cases. This is the task. Difference between the past and test cases in specific to Valley is Pascal's time best case of dozen test cases it has steps step one, step two, step three and you executed so that's the major difference here actually technically, in rally specifically, so I'm going to create a task here are normally these tasks are created by leads are your bars, commercial are some places you might have to create buy all by yourself.
Sorry about that. You have to create it. Yes. Now, nobody is going to tell you what to test let's say, Okay, let's let's take it about as a district, I'm a district, sorry, everybody. And I will be, you know more in a party about district perspective. So I'm going to add a new task here.
So we know what is the task so let's say I have this website remember you we went to this website. Now there are various testing that do we as far as testing they do is with advanced smoke testing, sanity testing, functional testing, integration and system integration testing, okay. Some part we do some part is done by the developers right. And then you have this performance testing. Then you have low distress, okay, we will not go in detail in that. That's fair enough.
What We do here in specific is who will do functional testing? Let's talk about this function list. So what I'm doing here is that integration testing. Again, there is a UAT user acceptance testing, we're not going there all these in detail, because we don't have time. And if I don't say, if I don't do here, take it as a homework because I've seen so many testings, right? Sorry.
So you can take it as a homework due date. So smoke this. Oh, by the way, the difference between the smoke testing and functional testing major, actually, there's there's two different things. But I will take this smoke testing app doesn't have test cases from functional testing do so we'll create a task here first before going to test cases. We want to write test cases but but we got to Pass a create a new password pass through. We will create functional testing for GMO online.
Okay, this is what is it an hour to create and with the details because not just thing you want to add more information here, okay, just by doing that is not enough. Okay? So always remember so the state is very important. You want to change it in planning. You have the same thing block, you don't want to block it. If it is already here, go ahead and click on ready.
Task estimation, let's say I will take 10 hours to test scanner scanner it's up to you whatever color you want. I don't think any company has restrictions to come up and say do make sure you follow that that thing is So okay so there's a description here there's attachment and design notes similar to what we have done Oh, we're nowhere near here. Okay, we have about this description here yeah you can put the description out what I put here is to to test functionality have Jimbo online project. So we are doing this functional district only specifically allow teachers to write this. I like this color so for you blue color I will not be using all this most This you can still use it. Sub to you.
For me, it's not required. But let's let's find out let's but you can do it. You can you can utilize this. But for now, if you feel doing this, let's say, you know you're doing smoke testing, I just put it out here for your ease of convenience, smoke testing, sanity testing. Nobody should tell you that you know what testing should be done. You're if you're a tester, you're supposed to know homeless, okay?
Smoke testing, sanity testing, user acceptance testing. Okay, if you're a developer, let's take if you're as a developer, then you need to write as unit tests or unit testing is it distinct from those two, three, testing to get you you still have write test cases. This is a task This is not a test case. The task was supposed to be given by leave all your past but in some cases real scenarios you also have to create some okay from user acceptance testing and then revolution district so what is interesting is interesting but will not go yet so I'll just put it like this and go ahead and click on Create. Now, this have been successfully created and revision change, click on Done. So refresh see here, there is a pass here.
Now, what happens is this is it, this is wonderful. You could change the owner, let's say your, your lead has given you notice ID is assigned for you ta 311. Okay, pm it's past US Mint user story. So the naming convention goes Okay, the owner of the pass is normally the person who execute the test cases supposed to take the burden rain scenarios, the past will be the different you know the test case, the person who write the test case with different areas, radios that also could happen. But we are not looking for that. Okay, now you can assign the suiza terroristic to owner of this task, okay.
And once you've done that, you can click on done. Okay, great. Now what happens is, if you see here, this gets updated to see this 1010 got updated. But we told 20 right, remember, we don't maintain a button we are waiting for 10 good. We'll figure it out that later. Now what happens is you go to the discussion dashboard the next quarter Going home suppose I suppose to get this my task here suppose to have this but there's no burden you guess what we can get this by using features.
The sprinter crowd came from Northeastern burka Shree supposed to be based on the user story. So let's say my user story is corporate owner. Oh my god. I'll have so many. But this is really good. Maybe let's try this is Peter Phillips.
To match me in their power to go ahead and suppose to show up something against Oh yeah. But it's not showing any day here for some reason suppose the smallest Yeah. So normally once you created this task might have to put So Shawn here, but for some reason it's not showing up. So, okay. So that's how you actually, you know, create this first nominee, suppose you should see the access levels based on this access levels, you know, you get to see that. So once you do that, we go back to our industry right here.
How actually you can go you see here, this number one, got it? No, no, you can create a number of paths. Let's say you're only doing functional testing less and I can create one more task. Let's create one more task. How do we do that? Go ahead and click here.
And I'll put as Gershon district now Oops, sorry. The girls interesting for Do more than one and the details and for now I just put as defined because this is not really in the best in regression testing got used to this too bad okay progressing distinct for geo life okay and here So, um so you can you can add this task there are a few sorry the x non positive x from here I use this GMO and Gemma and actually action do good okay great this tags are like whenever for your search purpose actually, whenever you're searching it, those tags are used to always know us. So this is my parent. This is our good and I go ahead and create Okay, so it says the regression testing for demo has been changed Okay, agree. Now let's see here if you see here there are two paths.
Now, this is in define state, that means we are not ready yet. My function, you cannot do the addition testing before functional testing, it's not possible for some development has to be done. Then after development, you have to do this smoke testing if required. Okay, and then you have to start with functional testing. So here's a lot of work to do. All right.
So that's the reason this is defined. I don't want to move In Progress, because there is no point a functional testing is nonsense. Okay? So that's all about dispatch ask. And this past posed on me created by the lead fellow, as I told, you know, somebody brought up this past. So, notice in this look at the revision, a lot of things, 17 updates, you know, a lot of things going on.
So you see right here who was doing what, so your boss will be looking to this way carefully. So you have to be very careful when you're doing this. We'll know why this is change why it is thought and all those stuff. Oops, we will go back again. We go back here, and this and now this is the action. We go to test cases.
We'll just go ahead and so we're not writing test cases for regression in the shop for now. But, you know, we write test cases for a, as a functional district, let's say, I'm a district right? driving test is shown. Here, when you click on this tab, it shows nothing, right? This is nothing. Okay.
So, I want to create my test cases, right? What I want to do is I hover my mouse over this action, see this action, but you won't even have to click it. You just want to hover it over your mouse and click here, new test case. Once you do that, make sure your pop up window is good. Proper windows unplugged. And you know, all this stuff should be unplugged and once you get into it, this pop up window shows up I can maximize things and I want to put it as a changes Guess what?
All this put us on our big change not much tax the same tax you will use GMO. Here's your functional testing jamala goodbye. This is an option for attachment. Because you have this time I take kool aid for this one. What we see here how to be okay. Did you see a functional testing GMO online, in description what we'll do in description to this functionality features you want Oops, sorry.
Um, you know, you can use so I'm using this as a application is web application which I developed. But this is an application which I need to write my test cases. So that's the reason is in this search. Okay, so if you have any attachments, we can add the attachment and point of time, I really don't have any attachment to attach it. But you can do this as owner This owner of the test case, normally the person who created the test is normally unless you're working for a big corporation like Google or Amazon in some places or some companies, you will be writing test cases forever and one guy in testing that for reverse or that will be some scenarios, but here in this case, normally, the person whoever written the test cases will execute the distributor to execute it. So we go to that.
Um, so what's the objective or actually, you know, what, this description can be an objective to test out the functionality and features of in jumaan project description is to write the test cases for you know, two functional functional districts are good to come test cases for Joomla. Get in. Now here what you see. So these red color are mandatory. If you want to experience you can expediate by clicking on this tick tick box expedient. Here, we don't require that.
So we don't do that here right now. So if you if you think that this is a different project, which you have assigned, you can change the project here. If you have access to go to access, this doesn't even show up for you. So don't worry about it. Then what product you can change the word product that means which user story does this test case belongs to? See this is the interlinked?
Okay, whenever you're writing test cases, for what? For what user story, which is a story. So that's a question, right? So this is done. So this is the user story, and I'm right test cases for this what type of home greet here we are know what type of test cases you're writing for here in this case learning function as I told you that is performance regression usability user interface okay acceptance we go for functional okay big assumption and method what method is it automated as I told you we have regression right regression anomaly automated. So, in this case we are going to say manual sorry um then we have this priority So, we this move put it as important and risk medium actually there is something called priority and severity So, it's it's kind of priority priority realities is a severe at the data To defense terms your priority and severity, severity means the impact of bug.
But say if you created a defect, so that is related for bug not for the test case, we are writing this case, right. But there's still the issue, you know, still the similar concept shows up here priority. Why are one word priority you're giving this useful? Sometimes production issues and you want to write test cases production. I personally have never written test cases for production. I mean, who test for production?
Nope, it does that actually. But there might be scenario when you do that. So it will be the priority will be very critical. So here was this precondition. That's good. What's the precondition for this?
Let's say the call to be deployed in Right, we cannot start testing if the code is not there in the testing environment. So let's let's not sure we I didn't talk about this environment right. There are three major environments. There is no dev environment for developer develops application, there is a test environment where testers test application, there is a production environment where customer uses the application. Nobody has access to that, except some specialized team people who are working on it. So okay, so the code.
So this is a precondition code should we apply it SMM is we're not going to test in dev environments, not our job. Maybe you might have to do that. I'm not sure. But it depends on the project. But here in the scenario we just put as coal should be deployed, industrial and what The second scenario does anyone knows smoke testing should be completed. You cannot do functional testing the smoke testing is not any based on the project basically, how the project is and how the brand you know the way the design of the project, but who knows, in this case, let's take smoke testing should be completed.
Okay. Here we go here we just write this. Okay, before we even test cases, we'll just go to here post conditions, right. All right. So we have this post condition So does anyone knows what the ports condition is. The post condition is for regression testing should be completed.
Okay. And the second is code should be applied in production after regression. Let's say we'll add one more actually we just had performance testing should be completed. I mean depends on the project, to be honest but we are I'm just giving as a just as a example, but not really this should be scenario Not always. It depends completely upon it. code should be deployed in production.
Troops are used to a lot of this mistakes okay. Okay, this notes keep showing up, show my work. Okay. Now, this is the fun part here. We have to write test cases in this case. Now, what you want to do here is there's no input, sorry, and there is expected result.
So what are you in putting it here in order to be expecting here? Okay, that's a very good question. Now, let's say this is my application. As we know in previous class, we were talking about designing demo accounts. testing of mediation. Now, here's the thing.
What are you doing validation could enter the URL for you. Now, okay, his thing I'm writing dish cases for now for the Chrome. Let's say you want to write test cases for home browser for Firefox, or Apple Safari, okay? Microsoft Edge, Internet Explorer, so on and so forth. I'm not worried about that. But for now, that is your homework data number.
Here in this case, what I'm trying to say here is enter the URL. HTTPS demo.gov. In, in the Chrome browser, I'm writing for Chrome browser. Remember, I'm not writing for Firefox. I'm not worried at this point of time for any other browser. I'm worried only about the Chrome browser.
But the best and web application you have to test for all of the browsers, one browser is not enough. Doesn't work. If even see here's the thing in the code working One grosser doesn't mean that it has to work in other. In other words, it might get screwed up. So you don't want that. Alright, now, enter the URL in the Chrome browser.
Now, what is the expected result that we can invent guess the expected result is homepage of GMO online should be displayed. That is my expected result. Alright. That's how it should be. So what I'm saying is, I'm writing a dish. That means put that URL for the destination, enter the URL demoed here in the Chrome browser inside and hit enter, link, or start option.
That's what I'm doing here. And I'll just put it here and hit enter and hope Baby of the morning. That's good. That's supposed to show up the bits not showing up, then that's a bug. Right? All right.
The diaper industry in production. Now here is here are the steps now to start writing my test cases, this was just to start up, right districts don't have to, I'll show you five steps remaining is your homework, your previous homework. I mean, you can use the same user story and you can continue to create a test case a new test case in your name and you can do it so. Okay, so you see this icon here, click on this action step. Alright, so you here you have this 12345 now what it does is if I click on one payout field, showed up to boxes shows up prior to hate to panic to buy absence limits. But for an example, I'll just take this one.
Let's see what happens. This thing gets refreshed. And here is the input and expected the same thing where it is. Okay, so what is the input? Let's say I'm trying to test out, see, here's the thing. When you're testing, you're testing everything.
But when you're writing a test case, it is a high level. That means what does it mean by level and it doesn't cover everything, but audit review will see that audit review is very hard. So you want to test everything, but this cases will be in high level. Okay, that's good to know. Now what we'll do here, I'm sorry. I'm, I'm clicking this button.
So what I'll do right here is after this, enter your Oh, we have done this right interview and geo homeland pages. Great. Good. I'll do here is click on interview online button. And on the right, this is my test case. Let's click well let's see what happens.
So the page is navigated to online catalog page. So what is my result? page should be navigated to online. catalog beach, right. Okay. Again, this is my first This tip Okay, so here's the thing when you're writing the test cases, those three things you want to consider, you want to write a positive scenario, negative scenario and boundary values.
So we are not doing everything right now. And there's cosmetic changes to your to see that too, because this is not really a QA class, this is actually in production in addition to usage of the tool, you know, so I'm not giving the whole information but how to open a defect. Sorry, that will be in different QA class that you want to go here are different. So here I'll cover the basics what is required for use this to Okay, so once I've done this, I want one more field, this field is not enough. So I will go ahead and click again, with this one. Again, I have this option 1234.
I'll go ahead again and click one bait to get first that's good to second This is the second step, right? Again, step four, my test case. Now what it shows. Now I'm rolling here, so we'll just put it here. So what I'll do here is enter the value 10, four 3%. Don't enter the value for 3%.
Don't take in the order quantity fee. Sorry, here's his article. This is our recording. So, enter the value 10 for 3%, don't end in the order quantity field. Okay, so once the expert on time and click Click on place an order button okay click on this place in order in order place an order so what happens what is the expected result for this the expected result is you know let's find out okay so we get paid is navigated to Place Order pages here please repeat. So what I put it here is page is navigated to please order page okay.
So this is my second test step. I just put, you know, we do three more and we close this class. So I start again, click on this again, click on one. Now, we are now it is a problem. See the problem here. This is my first test case.
And this is my second test, I'm sorry, test it. But this showed up in between. I don't want that because this is not my second step. This is supposed to be Thursday. Now what I'll do here is I can go ahead and change this to move step down. The moment I do this and now it's in square.
This is my first step. That is my second step. And now this is done if there's a problem in use this the weekend on that Okay, now what I'll do here is click on proceed with auto body the farm will feed with our model. Okay, what happens? Let's find out. The page is now created two pages, navigated to billing information page, billing information page, okay?
Formation. Okay, with pages I'm used to doing main information page. Now. Now I want to write forts. Now I don't want to go ahead again here and do this because it will Shopping between, there is an option here. What I'll do here is I'll go ahead and click on this, which is located into second, no second field value in here I have this option to I can do this.
This is good because this will show up. If I click from here, it will show up in the next line. So I don't have this problem of moving my test case here on this car. This is my fourth step in my steps are not screwed up before you see the solid and I'm using this too much. My test cases are screwing up. Okay, good.
Now we're it's my fourth thing. We fill out this new word is need this car so I used this home for just for information expiring No. So there's an option of if there being a decision different a shipping address, you want to fill up this to be the same. You can use the same year. Okay, what's this all about fourth step is fill up all the information in the billing information page. Okay?
In please place the order button. Okay, so fill up all the information Click on place the order button. So what happens? Let's see. So, online description, so pages. Now what happens is pages navigated to online.
Oops. online stores now this capital an online store should reach okay. This is my fourth step. Now I want to write one more step to this shown here. And the same thing you have the right option with this box and click on one the page get refreshed and get this fifth box shown up here. In this case, we're returned to homepage button.
Remember, you see here So we just click on that button, click on return. Return to homepage bottom. Right. So what it's supposed to do, then guess so homepage of GMO online shouldn't be destroyed. So check it out. Return to the homepage Yes.
Jumo homepage of Gemini. Okay, now once you've done it, writing test cases, click Save and Close. Great. Once you have done this, you see this, this options Motion to reduce a story from sorry, this is the this is my, this is a user story. This is my test cases functional testing scenes from racket. And this is important who is older?
You know what we have not run at? We have three boxes here Who will I guess we have to go to this next class because we are running out of time. Now, I want to edit this, we have not done yet. Oh, the reason why I'm saying you're not done yet, because we won't get into details a little bit more information on this, go ahead and pick on here, this three bucks, right? You have to generate result that we'll do in the next class, probably by Monday by today. I will see tomorrow's training.
I want to get to start this Monday but can I just be one little bit more Okay, so what happens if you have three boxes here, you know the result and edit and copy, you can copy this. Let's say we have done for this one we can change that you have to do for Safari, you have to do for Apple Safari, Apple Safari you have to do for Firefox, you have to move for Microsoft Edge and so on and so forth. Mobile testing, iPad, iPhone, Android, so on, etc, etc. So what I'll do is go ahead and click it, edit. And I want to again, over here, we'll just edit it here. And I'll just put in Coca Cola.
We speak here. Now. What I do here is in this tip right Okay, so we you know, in this step, it's very important, or you can preconditions we do it instead. There's a lot of things to do, right? Guess what we can do this validation input. We know what you can put it here.
Doesn't matter technically you can put anywhere put here. work we do it here we just put it here for ease of convenience. So, this is discusses high level. That means you have to test everything in this page, not just one button. We have just tested one button here. And we have done nothing in this fields.
These are all fields should be tested. Right? You're doing nothing in this is so you have to do that testing because the B, C, D for testers The reason you're hired as a tester because you want to take bumps, right? You want to take a defect. That's the reason you get hired. Right.
So, now what you want to do is you want write some information right here. Because even if your boss is good, there will be an audit review. If you are ready to review do go check each and every test cases. And if they find that the test thesis doesn't suffice for their requirement, they'll tell you where this was tested when it was just why it was not tested. So all these questions will be overwhelming for you. So what you want to do is you want to make sure custard for processing are yours the legal activity We'll talk about this in the next class action district for native value reading scenarios.
Estate for boundary values versus boundary values, because no, guess what? Number three. Then for cosmetic cosmetics in our use are like, you know, let's say, for example, this is a new color it should be green color. Now all this means that there is a requirement and this image should be in the right side, but it's in the left side. All those issues are the cosmetic issues. And sorry and the spelling mistakes, the murder Some spelling mistakes all those things should be no common.
So what you want to do is want to put this because we have not covered everything right? Guess what I put this year in my first test case you can put anywhere but the screen here. I'm desperate for pasture scenario mainly scenarios, boundary values, because the army reviews go check everything. Okay? But since this is a high level document prepared by the tester, so you know, these things will be missed completely. And you want to test this you know, guess what?
The test is for one value 4000 value 10,000 values, how it works, you know, all those things you want to test it but we are not doing here. That's not good because your body We'll check on this thing and see and we'll go question you why it was not okay. And once you've completed this click save and close this one I will stick to this thing is not looking good actually. So it's kind of hard to put here because we are writing test cases not fall in love This should be good because we should be good. So walk meditation yoga, tested for passive scenarios, maybe scenarios, boundary values, cosmetics, animals okay. So, these are the test cases you can write and suppose to change the chrome rhythm.
And now if you go home, I can go home and see. Let's see if there is any This is not working. So I wonder this should crystal Boehner she pitched okay. Suppose I know you can quote here. This ah. So there is more cooling here actually that is, you know, that's the reason it's not showing So what I'll do is choose a project file to have to manipulate a little bit of code that will go where you do that.
But I used to do a lot of change the code here, and that's how I was able to get this task shown up here. There's a little bit change in the code actually, let's try to be do here. We can get query help from here and see if you can use this query. I did the same thing actually. I use this query and put it here and you can see your task. That's how you can Make sure so, we are not done yet.
This was our second lecture for for the, you know, for functional for creating test cases. So this is for basically for the test cases, we have created test cases for the comb browser. Let me show you one thing you can create a test case let's say I want to create this case for Firefox, etc. Okay. So what I will do here is just copy this because the test case remains same. What I'm doing here is just in Firefox I just changed here for Firefox.
And you know, guess what? That's all I do here. And click on save and close hopes See I made a mistake Keep telling people and I do the same thing. Okay, we want to remove this copy of Google. Okay. Click on that and click on learn should be good.
Now if you go into voting this user story, and click on here in here to see this. Here you see this two of my test cases, both of them, but this is for Chrome browser. This is from Firefox. I can copy that again. Let's do one more for him for for the ease of understanding for Safari browser. Now, I don't want this and what I do is Safari browser No, this should be this supposed to be tested on Mac but good on Mac right now so but for me when you're working for the company, they'll give you that one so it Okay, so that's how I can create test cases for this that's pretty much how we run this test case we have done nothing we have just created a test case.
Next class we will run this test case I'm running out of time. We all want to move this for more than one hour because my file but the flat file we like to God because this recording is taking like because I'm recording in mp4 is having some problems or regarding the NDA. So that The file is in GB s one GB two GB three GB so head over to take who might have left who might have time your store, you might also might have got bored listening. And also the final infection please, that gives a problem for you, me to upload it. So I end this class for for now and we'll see to how to run this test case okay in the next class when we do this class, we will talk about how to run this test case. And that will be today for me.
I complete that today. Properly that previous shot to model week of our defects or twice too much work we have to cover defects as well as the report. Okay, two things. So am I missing something else? Okay, so yeah, you'll figure it out. And, you know, we'll just close this class for today.
And I hope you like this class and you know, we'll see you in the next class. Thanks for watching.