Good morning.
Welcome to Learnvern.
What we are going to see today is what is a Scenario? Our next practical is what is the Scenario.
Which means the functionality that you have checked, how do you represent that.
That is the reason for Scenario.
What will be the definition of Test Scenario? So, come guys, we will go ahead and see the next Test Scenario.
okay? What is the Test Scenario here? What will come as a Scenario here? First thing is what is the definition of Scenario? What does it mean? A test Scenario is defined as any functionality that can be tested.
You can call that scenario, what I just said.
The stories and requirements that come.
What do you do of those requirements? You take those requirements ahead for testing.
What do you call it there? Scenario.
So, it also has other meanings such as Test Conditions, Test Possibilities, so what are all these things? You can call them a similar word for Test Scenario.
In some places in testing, they say that there is Test Condition, okay; they even call it Test Possibility.
When you sit for doing the Test case, even at that time, it is said, ‘what was the test condition?’ Condition means what was the scenario.
Like when you go to some places, you explain the scene there.
There was such a scenario like we enjoyed in this way.
So, even that is a scenario that you told.
Such a condition happened there, that is, such a thing happened there through which this problem aroused.
Even that was a scenario, you used the condition there but it was a similar word.
A Test Scenario is a statement, describing the functionality of the application to be tested.
Again, I have told you it’s another definition that you can represent there in this way as well.
It is used for end-to-end testing of a user and is generally derived from the use cases.
Oh my God! They are talking about use cases.
So, guys what does use case mean here? Like if there is an actor, what all processes he has to do, how he has to handle the case, how will he do it? That happens through use case where the sequence of action should be performed by using the actor.
Clear? That is use case.
Even the use case is in the sequence.
Like, you tell me about any login scenario.
Anything that you see, any place you go to, any website you go to, how does login happen there? What is the scenario of Login? When You do the registration first, if my account has not been created here already or if The account has already been created.
So, accordingly, what will you do there? If the account has already been created, you will directly login there.
You will enter a valid email ID and a password there.
Correct? what will be valid there? We cannot login, if you have entered anything problematic one.
Even when the ID is not created this can happen.
These scenarios need to be thought about.
What is possible and what is not possible.
Clear? All these things you have to tell there as per the scenario.
Clear? All these things you have to generate there and show based on the scenario.
What is its advantage? Scenario testing can be carried out relatively faster than testing using test case.
Why? When you do the Scenario, there you have checked as per yourself, what all had happened there.
With the test case you got to know first that this thing has already been made in it.
But you saw it positively or negatively, that is a different thing.
But do it by describing it, so that you get to know how it happens.
It is called as Test Coverage here.
So, the next phenomenon which is told here is that it can ensure good test coverage since the test scenarios are derived from the user stories.
okay! So, taking those user stories you do this kind of work there.
It saves a lot of time.
Hence, these are better with projects having time constraints.
So, here your time also will be saved, if you have done it in this properly in this way.
Clear? So, this is the main advantage of the scenario.
But sir, how will the scenario be made? What will we have to do? Think ! Take any example, whose scenario I want to show you.
So, guys Learnvern’s website is already available.
So, we can show the scenario of Learnvern’s website.
For example, if we see the entire scenario, it will take a lot of time.
Even if we sit for 1 or 2 hours, still we will not able to complete it.
Clear? We can take a small module of it and what we can do there is, you can check the scenario there.
So, guys, what will we see here practically? We will practically see like there is login here, so what was the scenario of login? Only login scenario.
Clear? Okay guys, we will now go to the login’s scenario.
When I open my in notepad, what will we keep in this scenario? The most important, if you want to make the story with scenario.
So, there is a requirement of the Test Scenario.
The 2nd most important thing needed here is Test Scenario Description.
How you have described the scenario.
So, both these things I have to show here.
Clear? So, we will open the Excel and start it practically. Okay guys, we will start in this, how we will do it for the scenario? So, first we will open the Learnvern’s website.
So, here in Chrome, I opened the Learnvern’s site.
What do I have to do in this site? There are a lot of things here, a lot of modules.
If we, do it for the entire site, it will take a long time.
So, better is that you do it later.
First you understand this example and start making scenarios in it but sequentially.
But now here I am taking a small module which is called login.
I will click on Sign Up with others, so that you can get email and password here.
So, guys in this way I have to make scenarios based on the logins.
What are the scenarios you can make for login or to sign in and how will you represent it under test case, on which you can fire a number of things and do it.
Clear guys? So, here I have to do it for Learnvern.
So, first of all I will go into Excel and make it here Test Scenario ID and I will write here Test Scenario description.
Now in both of them, I have to do Wrap Text, I have to increase my font size.
Clear? And you can make it bold or use any colour that you want here.
Clear guys, here the width of the Scenario Description cell will be wider.
Clear? And here as per yourself, you can set anything properly, so that you can properly see it and you enjoy working.
The Scenario ID, you can set as per you.
okay! If you want to make it unique you can use 1, 2 and 3, you can make it unique in this and any possibilities can be made in it as per your wish.
So, first of all you are talking about the login, any user or student or any person, will go to the Learnvern site and login only then he will be able to access all the things which we had seen in HLR.
Correct? At the time of requirement, we had told that it happens in this way.
Whenever you make a scenario, where does it start from? Mostly it is from verify.
You read the definition of test.
The functionality that is already being tested.
It has happened, means it has been verified.
Clear? Verify if the user or any student will be able to login with a valid username and password.
Valid username and password here.
Clear? Now, what will you do here? Like here I talked about wrap test and here the font also I will make it this way.
Clear? So, whenever the user will login in Learnvern.
That means that there is a username and email is also there.
He will insert the password.
Whenever he will login it should be valid.
First possibility or first scenario I have made is this.
Second you could have made that, might be the login will not be required.
So, again verify, if a user cannot login with a valid username and password.
Sometimes it happens that we have inserted it correctly but login doesn’t happen.
Why? Sometimes you can make a mistake or sometimes there can be a problem from the server’s side as well.
Clear? Sometimes it can happen and sometimes it cannot happen.
Sometimes there can be a problem in the database.
Anything can happen.
I have kept a negative thought in this.
Clear? So, this can be a negative point for me.
I can think in that way that I can bring a negative point in this but I have just made it so that you can give it a thought.
Okay! What happens there is if I tell you the other negatives, I can also write that verify the login page for both, when the field is blank and submit button, means the login button, is clicked.
In case, you have not inserted the data in any of the fields.
I have thought about that as well.
Like there is Learnvern.
I have not inserted anything and clicked.
Are you getting the validation here? So, this also I have thought that if I click on the submit button means I clicked on the login button, maybe it will get logged in.
But here there is a validation, so that is the reason it is correct.
But I have put a negative thought in the scenario.
Even this can happen.
Clear? Apart from this what can happen in here? For example, what can happen there? So, what have we done here? If we have thought negatively.
If suppose this problem comes, this is what I have thought negative.
But we have to think negative because these things also you have to verify.
But what can happen apart from that? Think that you lost your password, which means we call it forgot password.
If I have to check even that? Clear? So, you can even write here, verify the “lost your password” functionality.
Suppose you have forgotten the password.
Now I don’t remember it.
So, what will you do? Clear? So, all these concepts you have to undertake there.
When? At the time of making the scenario.
Clear? So, these things you have to see there.
Suppose you go in lost your password.
There also you will have to enter something like the username, email ID.
You might have to enter something.
If you pass that and after that you will get the password in the mail or it can be made visible to you on the screen.
You can keep the functionality the way you want to.
But here it is already made so, it will directly come in the mail.
So, you see it here, when you go into lost your password, so here it comes, you put the email ID, as soon as you click on forgot password.
Here there is a message written, we will send a link on your registered email.
So, it will go on your registered email.
And then you can even change the password.
So, write here verify the data or email, must be entered into email box or text box.
It should be send link into your account.
If the link is sent there and if you click on that link.
You will get an option of changing the password, that means new password, then below comes confirm password.
And as soon as you change or update the password.
Automatically, the same password gets updated there.
Clear? So, I will verify here, verify the data in password field, this is either visible as asterisk or bullet signs.
Why? If the password should be there compulsorily, only then you will put the password.
Write here, verify the new password, it must be entered and update with your old password.
Clear? You have forgotten the old password; you don’t remember it.
This thing will overwrite that.
So, that you have verified.
Now you check that, that password has changed.
The new password has changed, now you login and see.
Write here, verify if a user or student is able to login with a new password only after he or she has changed the password.
So, guys in this way you can create the entire scenario of website by keeping login and registration as the base.
Clear guys? So, you understood why it has to be done in this sequence.
When I first logged in, I thought positive.
Then I put these 2 negatives here.
Clear? If I had forgotten my password while logging in, I did something regarding that.
And in it how the link is sent and how it is changed.
If the password has to be put compulsorily, then there should be asterisk there.
I even thought about that and then I changed in it.
So, my old password was there, which I had forgotten.
The new password should overwrite it compulsorily.
Only then you can login again into it.
So, guys you can make the scenarios in this way.
Clear?
Share a personalized message with your friends.