The Complete Quality Assurance Course - Learn QA from Scratch | Victor Gorinov | Skillshare

Playback Speed

  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x

The Complete Quality Assurance Course - Learn QA from Scratch

teacher avatar Victor Gorinov, Automation QA and Programming Instructor

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Lessons in This Class

57 Lessons (6h 24m)
    • 1. Welcome!

    • 2. Introduction

    • 3. SDLC Software Development Life Cycle

    • 4. Agile Methodology

    • 5. Software SCRUM Team Members and Responsibilities

    • 6. Different Types of Testing

    • 7. What is a BUG

    • 8. What is a Test Case

    • 9. How to Create Test Cases

    • 10. Black Box Testing

    • 11. White Box Testing

    • 12. Cross Browser Testing

    • 13. User Acceptance Testing

    • 14. JIRA - Bug Tracking Tool

    • 15. What is Regression Testing

    • 16. What is Exploratory Testing

    • 17. Volume vs Load Testing


    • 19. Interview questions for Manual QA Engineers

    • 20. C# or Java Which One is Better

    • 21. Introduction to Programming with C#

    • 22. Install Visual Studio - Your IDE

    • 23. Understand Basic Programming

    • 24. Variables in Programing

    • 25. Boolean True or False

    • 26. Creating Simple Calculator

    • 27. Creating Simple Greeting Program

    • 28. If-Else Statements

    • 29. Switch statements

    • 30. For Loops

    • 31. While Loops

    • 32. Methods

    • 33. Arrays

    • 34. Selenium Automation Introduction

    • 35. What is Selenium

    • 36. Create First Project and Install Selenium

    • 37. Write Your First Automation Program

    • 38. Use NUnit for Your Testing Automation Framework

    • 39. Assert in Selenium Get Page Title and Assert the Result

    • 40. Element Selectors ID, ClassName, XPath

    • 41. Facebook Automation Program

    • 42. First Steps and Installing Postman

    • 43. Understand Postman UI

    • 44. Create your first API request

    • 45. What is Collection

    • 46. How to Run Collections

    • 47. Variables in Postman

    • 48. Postman Scripting and Snippets

    • 49. How to create and manage Environments

    • 50. How to Create first TEST and use Snippets

    • 51. How to Debug API Request

    • 52. Run Postman from the Command Line Using Newman

    • 53. Learn Workspaces

    • 54. Run Collections using Collection URL

    • 55. How to Run SOAP Requests in POSTMAN

    • 56. Chain Requests

    • 57. Thank You!

  • --
  • Beginner level
  • Intermediate level
  • Advanced level
  • All levels
  • Beg/Int level
  • Int/Adv level

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.





About This Class

Start Learning Quality Assurance in 2020!

★★★★★ "The course is very informative and helpful. The tutor explains the subject very clear and in a friendly manner. I will watch it one more time. It definitely worth to buy. Success"

★★★★★ "This is one of the best QA software testing courses, everything was useful and explained very well."

★★★★★ "Great automation tips and tricks, definitely worth it!"

★★★★★ "Useful, in-depth walkthroughs. Instructor is knowledgeable, genuine and speaks in a calm, paced manner."

★★★★★ "The best course for starting out with testing software. Every beginner QA should watch this."

★★★★★ "Thank you for this useful information! This course is easy, not too fast and not too slow. Everything is explained clearly and to the point. I recommend this course!"

★★★★★ "A good beginner course for someone who is looking for a QA profession. Very nice presentation!! Thanks."


You will learn different ways of Software Testing and everything you need to start your first job as Junior Automation Quality Assurance Engineer.
This course will give you the foundation and confidence to enter the IT Industry as Automation QA Engineer.

You WILL Learn:

  • What is a Test Case and how to write a Test Case

  • What is Software Development Life Cycle

  • What is Agile - Scrum and Kanban

  • Different Types of Testing

  • What is a BUG?

  • Black Box Testing

  • White Box Testing

  • UAT - User Acceptance Testing

  • Regression Testing

  • Cross Browser Testing

  • JIRA - Bug Tracking Tool

  • Basics of Programming

  • What is Selenium in Automation

  • Create your First Automation Project with Selenium

  • NUnit Automation Framework

  • Assertions in Selenium

  • Element Selectors - ID, ClassName, XPath

  • REST API Testing with Postman (Back-End Testing)

You don't need any experience to enroll, you will be guided step by step through this course .
You will also get Bonus Materials to help you from the beginning.

This course requires work in the beginning - just like any other thing in life.
But the best thing in the world is when your start making positive changes in your life.
This course teaches you the simplest way to enter the IT field - Quality Assurance!

If You Are Someone Who:

✔  Want to Become Quality Assurance Engineer

✔  Want to learn Software Testing

✔  Want to Change Career

✔  Want to achieve Financial Freedom and Enjoy Life

Get Started Today!

Meet Your Teacher

Teacher Profile Image

Victor Gorinov

Automation QA and Programming Instructor


My name is Victor Gorinov and I am a Software Automation Engineer and Online Instructor.

On Skillshare I'm teaching IT Courses - mainly focused on Programming for beginners and Quality Assurance both Manual and Automation.

My passion is teaching other people on topics I'm knowledgeable about and seeing their results.
I have always been fascinated by the endless possibilities that we have in our time and the opportunity to reach millions of people with a single click of your mouse.

I am currently working as QA Consultant and in my free time I'm teaching people through digital channels. I am also involved in freelancing, affiliate marketing, investing in the stock market, selling private label products on Amazon and more.

I'm pass... See full profile

Class Ratings

Expectations Met?
  • Exceeded!
  • Yes
  • Somewhat
  • Not really
Reviews Archive

In October 2018, we updated our review system to improve the way we collect feedback. Below are the reviews written before that update.

Why Join Skillshare?

Take award-winning Skillshare Original Classes

Each class has short lessons, hands-on projects

Your membership supports Skillshare teachers

Learn From Anywhere

Take classes on the go with the Skillshare app. Stream or download to watch on the plane, the subway, or wherever you learn best.


1. Welcome!: Welcome to the Complete Court Officials course where you learn how to become a full stack tasting engineer. My name is Victor, and I will be your teacher for this course. I am Automation K engineer, and for the past few years, I could be working for big companies. Have the kay consultant. I have designed this course for anyone who wants to become an engineer, menu or automation. You'll learn everything. I am also a patient instructor who wants to share his knowledge with people who are just starting on their career. I have designed this course for anyone who wants to learn the quality assurance profession and want to start their first job in the anti field or just want to learn these Venables killed. We will start from the very basic we will learn Corte Assurance Manual tasting. We will learn about the software industry has hope. After that, we will continue with learning the basics for grooming. After that, we will out made our test cases, so we will learn alternation, they think, and we will create your front and automation tasting with selenium and bacon. This with post. If you're someone who wants to become a K engineer but doesn't know from where to start these courses exactly for you. You don't think inexperienced to enroll. You just need to be open minded and traded to learn If you're ready to learn now, take action and role in the course. I thank you for your time and I look forward to see you in the first listen. 2. Introduction: hello and welcome to my course on how to become quality assurance engineer for beginners. In this first video, I want to welcome you to the course. And thank you so much for being here. I appreciate you as my student, and I want to ask you for your review for this course. It's really important for me to have your feedback to improve my courses. I'm always improving on my courses and trying to make them the best possible for you. So if you have any suggestions and feedback, please leave me a comment. Send me a message. Tell me what you like and what you didn't like in the course in very port. Important for me. Please leave me your review. Thank you so much. One more time for being here. Now, let's not waste any more time and start with the first lesson. 3. SDLC Software Development Life Cycle: Hello, everyone, and welcome to the course. Once again, I want to start this first lesson by explaining what is the is the L. C. Or software development Life cycle. And the software development Life cycle is a systematic process for building software that ensures the quality and correctness off the software built is the Elsie process aims to reduce high quality to produce high quality software, which meets customer expectations. The software development should be complete in the pre defined timeframe and cost. And basically, the software development Life life cycle is just a process for developing software. And you may be asked this question if you're going toe interview for a junior developer, key engineer, and basically the whole process starts with requirements. And if you're a customer, for example, until you want a website, you're going toe to this company, which is creating websites, and you're telling them that you want to create, for example, this website like you did me. You want to be ableto applaud courses and people towards them and to leave reviews and comments and to be able to purchase from your website. All of these is the requirements. So the customer, the client comes with his requirements. This is the first face off the software development life cycle after you have older requirements from the client and you know what exactly you should be building as a software product. After that, the design faces coming into place, and this is the face where the U A or the U X designer on the front end developers or create are creating the design or how the Web site or the platform is going to look like they're building the design and they're giving it to the client. The client is giving his feedback, and this process may take a while until the client is satisfied with the final version off the design. And the after that, after we have older requirements and the design is created in the client have approved the design. After that, the next face is the implementation. This is where the developers and programmers are starting to coat the the actual software after the coding after the after the some functionality is being developed and this ready for ah, they think here it comes the next face. After the implementation of the software has been done, it comes time for for us a secure engineers or software testers to taste the software or taste the functionality that the developers have been creating. Usually during this face, we find a lot of books or defects, some things that are not the same with the requirements that the client have given us in the body beginning and the in the tasting face, we may give something back to the develop back to the developers, back to the implementation face. When it's ready, it's coming back toe tasting. If it's not okay, we'll bring. Bring it back to implementation. When it's ready, it's coming back to tasting and win. The key engineers testers are saying that everything is okay and dysfunctionality. This product is ready to be delivered to the client. Then we give this product to the plant when when the product is actually created and tested . And it is what the client have Bean asked for in the beginning. Then we give we deliver this product to the client and after that comes the final face, which is evolution or or maintenance. Basically, after these face, we're just making sure that there are no problems in the client care can use Hiss product, and I want to show you another picture, which is basically the same thing. But with other Graf, I want you to I want to make sure that you understand this is very important because this is the foundation. This is how all the all the big companies, the big outsourcing i t companies are working. And you need to know how everything is working, how everything is connected because we're not working alone. We're working in a team always, and you need to collaborate with everybody and to be on the same page so we can deliver the best product possible for the client. And again, the first face, either requirements the client is coming to us in is giving all the requirements and it is giving us older requirements about the product. After that. Ah, the design face start. It's starting. Cantor. The designers are making on the design for the Clanton after he approved the design. Uh, we're starting to create the actual project. This is the implementation face or the coding off the project. This face is done by the developers. After that, we're coming to the tasting. This is our job as a K engineers were testing the product, and if everything is OK and after the product is has been tested and it's approved by us, we're deploying the product of production, and basically the clan can use the product and from the final face is maintenance. We're making sure that everything is working as expected for the next months, and the client can use he's software. This is basically it. This is the software development life cycle, and you need to know this. You need toe. Be aware that you're going to work with other people and who is going to do exactly which face off the development. The final goal is to create the software, which is in line with the requirements that we get in the beginning from the plant, and everybody's going to be happy in the end. So if somebody is asking you this in the interview now, you know what is the software development life cycle? I hope that was useful. Now let's continue with the next lesson 4. Agile Methodology: Hello and welcome to this video. Now we're going to talk about agile. So what is agile? If you look for agile software development into Wikipedia, you're going toe. Find something like this. I'm just going to read this for you, and after that I'm going to explain it with my words. Agile software development is an approach to software, the development under which requirements in solutions evolve through the collaborative effort, off off self organizing and cross functional teams and their customers and users and users . It advocates adaptive planning, evolutionary development, early delivery and continual improvement, and it encourages rapid and flexible response to change. The term agile was popular popularized in this in this contact, the term agile was popularized in this context by the manifesto for agile software development. The values and principles exposed in this manifesto word derived from the underpants, a broad range off sort of software development frameworks, including scrum and kambon. So to explain this in a shorter way with my own words, I would say agile is a set off principles and values, and the aim off agile is to create a better software. The actually the aim off agile is to be ready for for changes in tow. Update things to get feedback from the client as soon as we're ready to give something to the clamp so he can give his feedback right away and we can improve things and this is the whole concept off our job. The whole concept is to be Toby agile to be quick, to improve things, to become, to become better and better every day, to live us to deliver software fast so we can get the initial feedback from the plant. And basically, that's the principles and values in order to create better software and to deliver faster software software, probably you have heard of Scrum and Cambon. These are the two most popular frameworks off agile, and I have been working in scrum and Cambon teams and I know are the benefits off off both of them and the The main difference is that in scrum, you're working in into sprints, so basically you have a user story or or remains a functionality that the team is going to create. And um, we're estimating this functionality with store IQ points. And, uh, for example, our sprint is going to be two weeks, which means that we need to create this functionality for two weeks. You have a time frame for which you need to create this and you're working into sprints and teach Sprint. You're delivering something to the client. A small portion off the software is being delivered every week or every two weeks, depending on the length of the sprint in Canberra, you don't have a time frame to deliver something to the plant you're constantly delivering . So you you don't have springs like one week or two week, two weeks. Everybody's taking something from the camp on board as soon as he is ready, working with something else. So if you're a developer and you you have a task, you finish your task. A soon as you're ready with our task, you're going to the board and you're checking wallet. Is that next? Think with the highest priority and you're taking that and start start working on that so there is no time frame. For example, we want to deliver the specific think for one week you're working on something, and when it's ready, your stand starting the next thing which is in line and that this is basically the the difference. I like scrum bitter because you know each day what exactly you're doing and how much time Hefford for it. But both of them are great ways for developing software and the also the base off agile and the the foundation off this methodology toe. To be flexible and toe improve yourself and your team every single day comes with some meeting since some things that have been proven to work well. One of these things is a daily meeting daily stand up meeting with your whole team, for example, what we were doing in my team every morning, 10 o'clock in the in the morning. We're having a daily stand, the meeting and everybody's telling, and everybody's explaining just for one or two minutes. What is he working on? If he have any problems, have any blockers? If he needs help with somebody else from somebody else and what is he? What he did yesterday? What is he doing today and what he's going to do tomorrow? And the the point of this is to give everybody on the same line so everybody knows his colleague. What is he's calling working on and when something is going to be ready for tasting for, for example, so they'll stand up. Meetings are really important and really helping with development, developing software and having a better communication with your team. Another thing. Kiss if you're working, working in on scrum, agile scrum, met methodology or principle in the end, off your sprints or Indians off your week or two weeks, you have a refinement refinement meeting where you are talking with your team. Basically, during these 12 weeks during this print. What what? I have been working good. What he had been working well and you want to continue doing that? What was not working well, what you can improve and if you have any, suggest suggestions for the next week for the next print and how you can make the process better. This is agile, basically in towards making everything better every single day and improving in the delivering faster software, getting feedback and just constantly delivering better and better software in the yeah, there is agile. Basically, you care for daily stand the meetings when you're working, working in agile environment. In the beginning, when your work starting work on the new functionality, you have a planning meeting where you're creating tasks for everybody. So everybody knows what exactly he's going to do this day, tomorrow, the day after tomorrow, how much time he has for this task for the other task. And basically, for the next one week or two, you have a plan, a written plan that you need follow and you need to execute. And this is really helpful because you're not wondering what exactly I'm going to do. You go from, Where should I start? You have a planning meeting where you're talking about these things and making sure that everybody's on the same page. And in the end of the sprint, the refinement meeting when you're saying what went well, what when bet and how to improve the process for the next print. Basically, that is agile set of principles into methodologies, toe deliver, better software and to deliver faster, too, and get feedback from the client in order to improve the software. I hope that was useful. Now let's continue with the next lesson 5. Software SCRUM Team Members and Responsibilities: Hello, everyone. And welcome to this. Listen, now we're going to talk about what is a scream team and what is the role off each member in the team? And the scrum team is a collection off individuals usually between five and nine members, could be 10 11 but between five and find is the typical scrum team working together to deliver the required product. And, um, when you were talking about this crime team, we're talking about the the scrum master, which is which manages the scrum process. This may be the project manager. He may do this work or you may have a project major and a scrum master. Also in this crime team there is, ah, developers beckoned and front end developers que engineers. So, uh, if this can be manual testing or automation tasting or both of them, you may have business analysts. This is the person which is taking all the requirements and basically making all the documentation and making sure that everybody understands the business point of view off the product. You may have architect, which is usually this is a really, really senior developer, which is which knows everything about the all the technical things in the technical stock, which is required for the product. For example, if the client client comes only with his idea and he doesn't know which languages are good for this pro product, and he just given idea, the architect is the person who is telling, For example, we're going to use Java for these or C Sharp is going toe to be suitable for this kind of project, and he's developing the framework and all the necessary taken cough things in the product. The product owner is part of the clients clients team. This is a person who is responsible for the delivering of the product until the product owner is responsible for looking after the product for extended period of time and is accountable for achieving product success. So this is the person who is constantly in in touch with the team with stakeholders and is updating everybody on how the the the product has been developed. And I know that this graph may see a little bit no for a little bit of too much for you in the beginning, so I just want to I have created this file for you. Just tow to have it is Ah, something a little bit simpler. Eso you may say so. The the scrum team, the team that is developing the product consists usually off a project manager, the person who is managing the project, who is creating all the tasks. All the who's creating the user stories, who is managing mainly everything in the product with contacting the client side of the business owner, the product owner and basically, he said, he's the link between the scrum team and the client Screw muster. This Maybe this role in my previous team was done from the project major. But usually this is the person who is making sure that everybody have everything needed in order to do their job. And there are no problems in the into the development in the problem in the product. The developers this This consists of front end and back, the beckoned developers. Next exchange nears. This can be manual or automation tasting designers. These are the people that are making the design of the project. This is early in the the early into the office after the requirements face, the business analyst is the person who is making sure that every everybody has the right documentation, the right requirements and everybody understands the business logic off the off the product and from the client site. There is a product owner, basically a person who is constantly in touch with the team with the Scream team and is asking how how is everything going where you're making demonstrations into this to this person and showing him what is the progress? And he's basically the person who is responsible from for the product from the client side and we as a cure. Engineers were standing here, and our job is to test the software to make sure that everything is in line with the requirements and were part of this crime team. I hope her that was useful. This is really and say essential. Before we start talking about testing and according to insurance, you need to have a general idea in the overview off how everything is working, what is the process off developed developing software and after that we're going to go deep into the into the quality assurance into tasting profession. But this is really important to to keep on overview off how everything is working because we are not working alone. We're part of the Scream team and the basically, this will help you if you know exactly what role and what part of the team everybody is doing. And if you collaborate with all of your colleagues, it would be much easier for for you to do your job. So I hope that was useful. Now let's continue with the next lesson. 6. Different Types of Testing: Hello there. And welcome to this tutorial Today we're going to talk about the different types off tasting and the I want to give you the basics here, off the different types off tasting can't we're not going toe dive deep into each one. We're going toe into the later stations. We're going to learn about the most important ones, But the as a beginner, I want you to just know the basics and to hear about different types Types off tasting. Because when you goto interview and went when somebody is asking you, have you ever heard hurt off integration tasting, for example, you can say yes, this is a part of a functional functional pasting and there was done by this person just to have a general overview for the types off they think And, um, the foundation think that I want you to understand that this is that there is two types off tasting in general in general, functional tasting and nonfunctional tasting. Functional tasting is everything related to the functionality? Is this functionality working or not? The non functional testing is related toe not directly to the is the function anti working or not, but is the functionality working fast enough, is it? Ah, a little bit slow. This is the performance part. This is the non functional tasting. So when you're testing the functionality on the looking for for defects into your on, you're tasting If the functionality is working or not, this is functional testing when you're tasting the functionality for being too slow and, for example, not working as expected. When you load the website with 2000 users, this is non functional tasting. I want you to understand the difference once when somebody is asking, you just know this and the functional distinct includes unit testing, which is done by the developers, not by us by by engineers. And we can say that unit testing is testing individual components. Developers are writing unit unit tests to test individual components to see if they're working as expected and integration tasting. It's ah, if you link all of these units together, are they working as expected? Asses a hole, for example. You have think you have been small things that are working fine. The unit tests are covering that. These 10 small things want you notice is covering one thing the second unit taste is covered in the second thing, and the they're these 10 things are working as expected, has a different units and integration tasting is to check is when these 10 units come together. Are are they working as expected when they're integrated? The unit these air integration tests also assistant testing, sanity, testing, smoke tasting interface. They stink regression testing it and accept interesting these air the functional tasting. Again. We're going to talk more about the most important ones in the later stations. I just want you to give a general overview here. Nonfunctional tasting is a performance testing load testing, stress testing, volume testing, security testing, compatibility, testing, recovery testing, usability, testing and compliance testing. There are many, many magnetized types off. They stink, and even more than what we have here are a lot more than that. But you don't need to know everything, especially in the beginning. You're not expected to do everything. For example, when you're applying for a junior key an engineer, you're not expected toe do performance testing, usually performance distinct and security testing their completely different jobs for for completely different types of people. If you're a cure engineer, usually you're you're going to do a za general Que engineer you're going to do this? Case is you're going to execute the manually You're going to do test plant this execution your After that, you're going toe. Decide which test case you're going toe automate. And this is the General que engineer Role toe. To make sure that the software is working as expected, you need to know older requirements and basically you're responsible for the for the quality of the product. But the performance they think, is a complete different think. And people are doing this another job. Sometimes, For example, if you're using J Meter to to see also the security tasting or white white hat hackers, these are also people that can be defined in a different category. So my main point here is that you don't need to know everything in the beginning. I just want to give you an overview toe. I want you to know what are these roles and water these testing different types off tasting doing, And, uh, you need to know that in the beginning, when you apply for a job, you're not expected to know to be responsible for each of these types off tasting. I want you to just to hear about them. Because if somebody is asking you now, you know about these kind of things Is not something completely new to new to you. And when you start working and when you're in a company in a project, you have a better and understanding about about all of these things. Now I want you just know that generally there two types of testing, functional and nonfunctional. And just to hear about all of these things in the later sessions, we're going to talk about some of these kinds off tasting. Now, let's continue with the next lesson. 7. What is a BUG: Hello, everyone, and welcome to this lissome. Now I'm going to explain to you what is a book. A software book. A software book is an error flow failure or fault in the computer program or system that cozy to produce on incorrect or unexpected result, or to behave in unintended ways. The process off finding and fixing books is Trump as debating the debugging and to say it with my own words because I copied this from Wikipedia or some somewhere on the Internet. To be honest, uh, to say we tweet my own words, a book, it just something that is not working as expected. It can be anything if, for example, where I'm expecting this note. Part puts plus plus toe open when I click two times. If it's not opening, this is a book. Everything that is not working as expected is a book. It can be a huge thing, something that causes millions of dollars or something that causes even, ah, human human lives. If we're working in a health company and which is, for example, developing some medical things, this is really, really important, or if we're working for our car company and we're working functionality where the software is for examples self driving car. And there is a book in the software that means that this car can crash and humans can die. So this is really, really important for us to do our job and to make sure there are no books nor no major books or if you're working in ah aircraft company. Yeah, the pressure is really huge because you know that if there is a book, something that is not working right in the into the aircraft into the plane also people can can can be damaged. So this is really, really important. So it depends on the type of project that you're working rather than the book can be really a big, big type off severity or ah, it can be something that is just going toe to cost money to the client. So just to summarize a book is something that is not working as expected. A simple is that if you know, you know a system, you know, the requirements, how something should be working you you do your task. And if the end result is something else, it's not working as a as expected. This is a book, and I want to click quickly show you this article about about the history's most expensive software books. Just to show you what is the impact that can be done by finding books and by doing our job and making sure that the software is he has the necessary quality. And there no major books. For example, this Marina one spacecraft book that cost $18.5 million. So basically there is some Marine spacecraft that, uh okay, let's let's read this this from the beginning at 18.5 milion, the Marina One Spacecraft is the least expensive book on our historical, released in 1962 a programmer incorrectly transcript a crucial formula when writing the spacecraft source. Quote the lack off a single superscript bar coast. The rocket overcompensate is trajectory as it launched, veering dangerously dangerously off its intended flight path. Jinya. So there was a book in the rocket that's a pretty big deal, and it costs the company $18.5 million this is the least expensive book into this list. If we go to the more expensive ones, the oh my God, $96 million. $475 million the most expensive one was $500 billion. So the Y two K book might be the most expensive book since sees the development of computers. Yet many don't stop and think of its coast because the resulting Clark skill computer disasters never happened. So that was a book was, ah, book across multiple types off software that reduced the calendar years in data sets Toby start as the last two digits off the year to save space. In other words, a computer would read 00 and the end of the date as 1900 Note. 2000 That's a pretty big issue. The issue could have Coast major books in government financial, scientific software and more and more headed. He did not being addressed so that there is a huge book Coast think a lot, a lot of money to the governments and a lot of people. But, uh, this is just something that causes money. This is the better type of books. The the worst part is when, as I said, if you're working into the health industry, when it comes to developing developing communications for people or if you're working for Ah, as I said, a car companies something that is responsible for people's lives or airplanes or something like that. It's really crucial toe. Find these books and to make sure that the software is going toe work as expected, because the worst thing that can happen is to somebody to get hurt. We don't want that. And if you're working on a project and on the software that is going to be responsible for people's last, it's a pretty big deal and you want to find these books. I assume that's possible and just wanted to tell you how big the impact this can have. So find your books like I'll see you in the next lesson. 8. What is a Test Case: Hello, everyone. Today I'm going to explain what is a test case. First I'm going to read this description writer, and after that I'm going to explain it with my own words. So but this case is a set off conditions and variables under which a tester will determine whether a system under test satisfies requirements were works correctly. The process of developing test cases can also help find problems in the requirements or design off on application. So basically a test case is a set off steps that you execute in order to to verify the defection. Ality is working or not, and when we start writing test cases in the next station, you will get this even better. But I want to show you this example of a test case. So this is a test case template. Just toe. Get familiar with this with this terminology. After you start writing them and you're right, a lot of these cases you'll just become better and better, and this will become really easy for you. Now don't get don't. If this is really confusing for you in the beginning, this is normal. Don't get frustrated. You'll learn with this course goes with the later stations, and I'm sure that you'll become better and better every day. And you can start your Your work is the que engineer in no time, I am sure. So a test case is ah, conditions just steps that you execute in order to verify that the functionality is working or not. And facility this this case templates. Ah, all of these tips are not necessary. Everybody has a different style off riding this cases. I will show you mind in the next video. But the lead Just check this one. There can be a tests with i d test case I d. This is not necessary and telling you once again taste case summary. Okay, this is the basically Uh huh. No, this is not the name of the this case. Okay, There is ah, related requirement. Prerequisites. This is important. Any prerequisites or preconditions that must before feared prior to executing the test. So some necessary things that need to be executed before the test. For example, if you need a specific version off a browser, you're going to say it here in tow. The pre requisites at this procedure step by step procedure to execute the test. Okay, these are the steps. There's data in the links in he user names and passwords. For example, that you're going to need for the test case. The expected results. Something really important. Expected result off the taste Mandiant The actual result off the test and the status off the taste really important. This can be best or fail, depending off the end result of this You make if created by you, put your name here. Date of creation executed by So this test can be executed from another person. Date of execution and taste environment. Okay, this is the example off the test case. Eso test case Ah. Summary verified that clicking the generate coin bottom generates coins. This is basically the name off the test case. Okay, prerequisites. User is authorized. So before executing the before starting to execute this case first you need to out rice with ah user. And also coin balance is available available. You need to make sure that these two things are done before executing the test. That means the prerequisites after that comes the taste procedure. Basically, this is the best steps. The first thing. Select the coin denomination in the denomination field. I don't know what is this, but this is just the first step of this case. Apparently, second step entered the number off coins in the quantity filled and 33rd step click generate coin. This is a test data. So we're going to enter these things quantities, Okay. And after that, we have expected result. So the thing that should happen is going off the specified the nomination should be produced if the specified quantity is valid. Okay. And a message, please enter. A valid quantity between one and 10 should be displayed if the specified quantity is invalid. So this is the expected result. What should happen and a the end off the test case. The actual results is something that actually happened. This can be the same with the expected result, which means that the taste will pass and the actual result can be different from the expected result, which means that the test will fail. Okay, here we have. In the actual result, If the specified quantity is very the result this is expect okay? And just say that and the state was we here for fail or pass remarks this is a simple test case. Okay. Created by John Doe. Date of creation executed by Jane Doe and date off execution. This can be This can be different dates from the creation date and the person executing the test could be different than the person creating the test. It's really important toe, right, really understandable and simple taste cases because most of the times, uh, other people are going to look your at your test cases after some time has passed, for example, you're working for this project and you right in this case it with cases and you execute them. And the two years after that, for example, you're not working on this project anymore and another person is coming and he want to read , told the documentation to get familiar with the project. He's most probably going to read your test cases. So make sure that you write them really simple, really clear, really systematic. So when another person is looking at them, he can understand what happens. Okay, It's he what we have here, why didn't do this? Case is as far as possible, right? This case is in such a way that you taste only one think of time. This is really important to make them simple. Okay. Do not overlap or complicate this cases Attempt to make your test cases atomic. So basically what I said just now, make them the simple as possible. Ensure that all positive scenarios and negative scenarios are covered. Of course, you're You make sure that you're covering everything language. So right in simple and easy to understand language. Yep. Use active voice instead of Pacey Voice. Do this. Do that. Okay. Use exact inconsistent names. Form feels etcetera. Basically be specific. And so another person can know exactly what he should do when executing your taste case on the characteristics or for good this case accurate. Exact The purpose. Economical, No unnecessary steps off or words traceable, Capable of being traced to requirements. Yes, very important. Repeatable can be used for to perform the test over and over again. And reusable can be reused if necessary. So to summarize this case is just the verification steps that you need to execute. And in the end of the test case, after you execute the tapes, the steps, you have end result. And if this if this result is what you expected the test is passing. If the XP the end result is not what you're expecting from the requirements, then the test is failing. So this case, you just steps that you execute in order to see if something is working as expected. Now, in the next step, I'm going to show you how I'm writing tests. So let's continue with the next lesson. 9. How to Create Test Cases: Hello, everyone, And welcome to this tutorial. Now I'm going to teach you how to write a taste case. This is really important for your career as a cure engineer. You're going to write a lot of test cases, and you're going to execute a lot of these cases, and this is the first tip off becoming a K engineer. It's something that if you develop this habits off, creating really simple this case, it's your Your work is going to be much easier and which maintainable into in the future. So usually you're going to write your test cases into ah project management system like Jura, for example. But I want I want to teach you how to write your test cases from scratch in north, but for example, because if you learn to do this after that, you will be able to write them anywhere. And it will be much easier for you when you hear for template when to get to the system and you have first step seconds that 33rd step and everything is explained really easy. It will be much easier for you to create a this case if you learn how to do how to create this case is now from scratch into note, but later on it will be much easier for you. So we'll create our test case absolutely from scratch from scratch here in North Pat and, for example, and and, uh, let's say that where we want to test a log in page, let's go toe of websites. I am DB, for example. I am db I think you know this website. It's a huge marketplace for movies. And, uh, let's say we want to taste this logging, but also signing after that signing with IMDb. And we want to test this blogging for this sign in form. Okay, so let's go back into the dashboard page and let's open our north. But the first thing that the first thing that I want right he's the name off the test case . So we need to hear if in our mind on overview, what we're going to taste, what will be the expected result? So I want to taste now that with unveiled credentials, I will not be able to logging into the system, So I want to taste it. If if I right here some a fake email, which is obviously not right. And some password, which is not correct. I will no be able tow logging. So let's create a test case for that. So the name off the taste case will be user is not able to log in with invalid credentials . This will be my test case name. Usually you will have, uh, this written into the project management system system. But Tyrell, right here, case thing just toe. Just for you to get familiar with that. After that, uh, we will have some pre requisites. For example, of this is just on example here, um, I need I don't care. Google Chrome late this version, for example. Um, next thing, I will have faced data which will be, uh, use their name and pass fast words that I'm going to use for the test case for years. Their name will be keep you at gmail dot com. And the password will be my awesome boss works after. Let I will have taste steps. Okay. Here. I will give my first tip, which is Goto. I am DVD dot com. No, the first tape will be open. Google chrome. Second step will be Go to that would have a double you That I am db dot com Step three will be So I'm here now the step three will be click on signing. So click on the sign Botham, The fourth step who be okay. So, uh, I want to make sure that you're following me. The first tip. Okay, let's do it from the beginning. First tip open Google from Okay, I'm opening the from second step is goto imdb not come. Okay, I'm going toe. I'm db dot com Third step is click on the sign in bottom. Okay, I'm clicking here. The next step will be click on Sign in With I M D B k I click here, so click on Signed. What was the the bottom sign with imdb? Okay, with time. Deeply. Que After I click here, the next step is to um right the email. So this actually here would be email. So the next tape will beat right this email here. So the next tape will be enter and this email in tow the e mail field. Okay, step number six will be entered. The passwords enter my awesome passwords in the last words fueled and the next tape will be click sign in click Sign Sign. Okay. And after that, we should very fight that the user is not logging with these invalid credentials. So after that, we will have expected results. And after that, we will have actual result. Okay, Sold. Expected result should be You are not able to look in the system. Error message is displayed there. A message for wrong. That's an error message is displayed. Actual results. Okay, take your results. So I'm not ableto logging. So the actual result is I am not able to look in the system Error message is this plate or you can see user So, user, it's not able to log into the system. And here user is not able to walk into the system. So let's go through these taste case one more time. I'm closing the tap and this is the whole test case. Usually I'm I'm putting images here in two. The expected results into the actual result. So it's ah, even more clear and understandable for the person who is reading the test case. So let's execute this test case right now. Usually from the test case name you. You should you should be. You should already know what is going to happen with this test. You should write the name off the test case in a way that when somebody is reading the name of the test case, he knows what is the this test case about and what he's going to paste. So when I read user is not ableto logging with invalid credentials. I immediately know that I'm going to test a logging functionality and I'm going to taste that with invalid credentials. I should not be able to log in. So after the disc, his name? I have prerequisites need to have Google Chrome latest version. Okay, I have this before executing the test case. I have the taste date here that I'm going to need for the test case. And after that, I'm starting to execute the taste steps. The first step is to open Google from Okay, I'm opening the Google from second step Step number two is Goto. I'm Devi not calm. Okay, I'm putting this into the euro. Que step number three click on the sign in button. I click on the sign in bottom. The next step is click on sign in with imdb. Okay, I click on signing with time the B, the next step is enter this email into the email. Fueled I'm doing this. Step number six, enter this passwords into the password field. I'm doing this. Step number seven is click sign in I click signing. Now Expected result is the user is not able to log in the system. Error message is this plate. This is exactly what is happening. I am not able to log into the system with invited credentials. So this test case is passing. They have your actual results. User is not able to look in the system. Error message is displayed, which means that the test results, um, passing or just best. So this is our test case. We're tasting that we're not able to looking with invalid credentials. Another test case, for example, of course, can be, um, user is ableto logging with valid credentials. And, uh, you're going toe have the almost the same steps you're going to open Google from. Go to imdb dot com, click signing button click signing with time DB. After that, enter this email will be a valid email. So really user after that, enter valid password for this user and click signing. And the expected result will be that you're logged in with your email into your password. So you're into your user account. The the actual result. If you're looked into the system after that, then that this case is betting if you're not able to logging with valid credentials, then the case is failing. I hope that you get this and, uh, and now for homework to get better with test case, I want you to write this taste case that I just talked about. That user is able to log in with valid credentials. Make this just like I did it here, step by step with the test date with steps, and in the end, you should be able to logging with valid credentials. This can be for fun for another website or doesn't matter. Just make sure that you have valid credentials and you can log into a website. Make this just practice writing test cases. And if you you can make a test case like this in tow. Note. Pat. Trust me, it will be much easier for you later on when you're using systems like Juror to create your taste case and you have everything systematically put and you just put the steps, the results, the that this result passing or failing. It will be much easier, but do this in the beginning. Make sure that you understand this. Make sure that you can write it like this like this, and it will be much easier for you later on, also into the expect result. In the actual result, put Screenshots, this will be much easier for the person who is executing the test case. Also, when you're writing books, you find the book and you want toe. Explain a book to somebody Toe developer developer, for example, Put screenshots or even short videos explaining what is the taste case where the book about it's much more easier for another person to know. What are we talking about? No practice. This writes a few test cases right in this case that I told you about about the logging functionality that you can walking with valid credentials. Just practice practice this. You'll get better now. Let's continue with the next lissome 10. Black Box Testing: Hello, everyone in this video, we're going to talk about what is Black Box? They stink. Black box. They stink. Also known as behavior, clothes books, specification based or I twi tasting. He's a software is a software testing methods that analyzes the functionality off a software application without knowing much about the internal structure. Design off that item off the item that is being tested and compares the input value with the output. Very the main focus in black box they stink. Is the functionality off the system as a whole? So to put this into a simple words, black box testing is testing the functionality. As a user. Just try to look at these like the taste cases that were writing. For example, you have an input field, and, you know, after this input field, what should be the expected result or the output. But you don't know anything about the internal structure about the coat, the actual coat off because the program this is black, both black box testing when you're tasting the functionality off a software, but you don't know anything about the coat, the internal structure. So basically you're giving input to the system and you know what should be the expected output and you're very fight the the output. So this is how you determine if the test cases passing or failing by the the output. The actual result. But you don't know how things are working in the back. It's like a black box. That's why it's called Black book tasting black box testing because you given any input and you know what should expect in the end without knowing what is actually happening in the back of the program. This is why it's called Black Box, because you only know what should be the actual results. But you don't know hell. Things are working in behind. So Black books tasting is testing the functionality off a software like a user. 11. White Box Testing: So what is a white box testing a white books? They stink also is known us clear tasting glass box. They stink or structural testing. This is a tasting technique which evaluates the coat in the internal structure off a program. White Books tasting involves looking at the structure off the coat. When you know the internal structure off a product, this can be conducted to ensure that the internal operations performed according to those specifications, and all internal components have bean adequately. X exercised the Buddhists into a simple words again. White books testing is fixed. I just think the internal internal structure off program in the black box testing you don't know what is happening behind behind the scenes. You don't know what is the program actually doing in the white books tasting? It's exactly the opposite. You know the coat. You know what the program is doing in your tasting exactly that. You're testing the internal structure of the program and you're testing if everything is working as expected. Basically, we're tasting the coat off the program and by tasting the court, your tasting, the a lot of things you're tasting the cold coverage, the components tasting unit testing and basically also security tasting. So the different with the difference between black box and white, both books distinct is that in the black box they think you're testing the functionality. You shift input, uh, that you're putting the test, IP and you have outputs so actual results. But you don't know how thinks things are working in the back. The white books, this think you're tasting the internal structure. So in the black books, you're testing out the external structure. As a user, you're tasting the functionality in the white books, distinct. You're tasting the the insight of the program, the internal structure, and you're tasting the coat of the structure. This is the main difference between black books and white box tasting. Now, let's continue with the next lesson. 12. Cross Browser Testing: Hello, everyone, And welcome to this lesson in this. Listen, I'm going to talk about cross browser testing and what is this and why you should know about it. So Cross browser testing IHSAA process to test way publications across multiple brothers. It's logical, right? And cross browser testing involves checking compatibility off your application across multiple Browse where browsers and insurers that your Web application works correctly across different Web browsers. This sounds pretty simple, but this is something important that I want to talk about, just for a few minutes to just to let you know about this. Uh, usually, when you work in a project when the client is giving his requirements, he's saying the which browser this application should work, for example, were a company that our employees air using only Google from, and you're were using the latest version off Google Chrome. And this is the browser that we want to use for this application. Our requirements are only for Google from, so it means the discipline. Cation does not require testing with other browsers like Internet Explorer Explorer and Mozilla Firefox and, uh, H, for example, or Opara and safari. This application, his hever requirements. Only these applications have requirements to work. Only with Google from another company, for example, can come and see our employees air using Internet Explorer. And also we're using Mark. Always we have for Apple computers, and we're using safari. So we chef. So we want this application, Toby, working in Internet Explorer and Safari and also we want toe use our application on mobile so this application have to be tested on Internet Explorer on safari. So on mark always and also on Mobile, you need to make sure that it's working as expected on your phone as well, because this is their requirements. And the cross browser testing is something that should be talked about in the beginning of the project, when the you were talking with the client about the requirements and if they say they only need one brother, this is good for you, a secure engineer. But if they want this application to be working five different browsers, you need to check everything case and every functionality that it's working on. Muti browsers platform so on different browsers again, something that you have to be discussed in the beginning with the client in the requirement face. But just just to let you know that sometimes you may need to taste the same things into a different browsers in tow, Firefox into Rome, into Internet Explorer in toe edge, Safari Opara and stuff like that and Mobile also. So now, after we know this, let's continue with the next lesson. 13. User Acceptance Testing: Hello, everyone, and welcome to this tutorial. So they were going to talk about you 80. Which things for user acceptance Day stink? So what issues, er acceptance, testing, user acceptance Testing is the process of very frank that a created solution software works for the user, and this may sound very, really easy, but its its not that easy in the real world and user acceptance tests consists off a set off test steps, which verify if specific requirements are working for the user. So to put this into a simple simple where it's, I would say, user acceptance, they think is tasting from the users. From a user point of view, you're logging into the application, and you're tasting like you will do if you were in your home and just trying to see if this site or application is working as expected. But this is not that simple, because there are a lot of things that should happen before the U 80. So, as I told you in the beginning of the off this course first the client comes and is placing his requirements so client needs lead toe his requirements. After that, the implementation off the design after that. The coding after that. The unit testing after that, the integration testing after the system tasting This is our part. As agree engineers were testing the system and at the end off this cycle is coming the acceptance testing, the U. S. User acceptance, testing and in order in order to get to this face this final face, we need to make sure that everything is implemented as expected. Everything is working is expected. Older requirements are met. We have bean testing the system over and over again, and we're so sure that everything is working us. It should be working that we're giving the system to the client here. And we're saying, Cure you have your product. Now you can taste is if everything is working. This is expected. And when the client is testing the the application application, this is basically the d. The user acceptance testing. He's coming hiss. He's tryingto break the system. He's just typing, called kinds of things and just things that really users would do when they're using the application. That's why it's called user acceptance testing because the user is testing the application . The client is testing duplication, but he's acting like on end user and the these air just steps executed in Lord in order to verify tit. Everything is working as expected. Now let's continue with the next lesson. 14. JIRA - Bug Tracking Tool: Hello, everyone, and welcome to these tutorial today we're going to learn what is Jura and Juror is a tool Developed. Developed by Australian company off last season, it is used for book tracking, issue tracking and project management. The name Jura actually comes. It is inherited from the Japanese worth Gojira, which, which means Godzilla and the basic use of this tool is to track issue and books related to your software. It is also used for project management. The Jura dartboard consists off many useful functions and features which make him blink off issues easy. So to explain it in my own words, because this is copied from the Internet, juror is just too, where you can track the progress off your software, the progress off the product and also a to where you have all the documentation. Well, the the requirements about the user stories that up about about the functionalities and also tracking the progress in the books in the software. It's basically the whole project is in the system and you manage the project from there and I have prepared some screenshots here toe show. What exactly is Jura and how it looks like this is Ah, abort a typical board injera and these columns. Here you can modify them. You can have more than these four columns. Usually you'll have to do in progress after that in development after the in testing kinky A and the Final one is done, and the the main concept here is that everybody have a task, and the this one right here, for example, is a task in the comb toe. Do. So it's not implemented yet, and he should be done. So developer comes here and he doesn't have anything to do. He grabs a task from here, and he moves in the dusk in tow, in progress after he's ready when it's here. By the way, Once, when it seemed this column, everybody can see that, uh, this person, it's working on this task and everybody's on the same page. So you know which colleagues air working on what and how much time they're going to spend on this. After that, you're taking the task from here in public, in putting it into a tasting column or ready for tasting something like this. After that, when the tester the curate this is us, we're testing this task and we're moving the task in tow. Done. Usually the process is something like this in your truck. The whole project. Here, let me show you another screen like this to do. After that, you move it into progress after that, Awaiting Q A When the curies taking the task and starting to test the functionality They put the task here in this column in key. And after that done. This is a typical scrum team Jura Dashboard in the last one that I want to show you is this one. This is the back look, This is also in Juror and this is basically you can put your whole project here into the back. Look, you put all the stories with all the documentation or the requirements, all the acceptance criteria. And when you open a user story which is basically a functionality, you can see all the tasks that are related to this user story. It's just assistant to truck your project with simple words, and you open your this user story and you can see all the tasks related to this story. For example, there 10 developer tasks, five k tasks, toe design tusks and, uh, You can see also the test cases that are created. You're creating the test cases into the Jura. They're also linked into the story. You can think of this like it's like one document. And when you open the document, you have everything linked on. It's really easy to track everything into this document, and this is basically how you manage the project. Let me show you the website of the jurors and, uh, how they're showing here basically the same board that I showed you. Now you can plan truck release report everything injury, basically. Ah, here's a release board which which releases are in progress, which are not released, which are released yet, but you don't need to know. And I think about this yet. It's too early for you for a junior, Kate. Um, and you can you can see the Basque Open in progress of the review. Final approval don't basically can modify these columns. Just remember, that juror is ah development tool for tracking for tracking and main. Drink your project and the developers the case. Everybody's is using this tool in order to be in line to know, to know your colleagues to no water, your colleagues working on how much time they're going to spend on something. If something is going to be ready for testing today, tomorrow, basically you're managing the project and everybody's on the same page. 15. What is Regression Testing: in this video, we're going to talk about regression tasting. So what is regression tasting? Regression? Testing is defined as a type of software testing to confirm that the reason programs or code change has not adversely affected is existing features. Regression testing is nothing but a full or partial selection off already executed test cases, which are really executed to ensure existing functionalities work fine. This that testing is done to make sure that new coat changes should not have side effects on the existing functionalities. It ensures that the old cold steel works one of the new court changer changes are done now . I will try to explain this with my own words and to make it a little bit more simple. So it's pretended to hear if, ah, a program that is working fine and the developers air working on something new that they want to implement in the project. And they're developing this cold for a center, a certain amount of time in the new functionality. Israeli, When the new functionality is is being implemented, toe the already existing project. You want to make sure that the new functionality is working properly and also everything before this functionality is still working properly. So basically, with regression testing your very find it, the old functionalities are still working after the new changes. Basically, that the new coat didn't break the old functionalities. Regression testing is basically executing old this cases and doing old tests to verify that the old functionalities are working after you have made some changes in the project. And it's really useful when you have some alternation here. Because when you have automation tests and there is something new, a new functionalities is being developed. You can run the automation tests, and they're going to tell you if the old functionalities are are still working and this is going to be executed automatically. But even but you can never out meat everything the whole project, so many old testing is always necessary. I just wanted to let you know what is this regression testing? Because you may hear this, you may be asked on interviews. You'll you'll know a lot more than this when you start working, when you get your feet wet and get into the fields into Diet e field. But the for now, just remember that regression tasting is being executed verified that old functionalities are working properly after the the new coat, the new functionalities air being implemented. So you want to make sure that the new functionalities air working, but they're not breaking the old program and everything is working as expected. 16. What is Exploratory Testing: Hello, everyone in this video, we're going to talk about exploratory testing. So what is exploratory testing first, Like always, I'm going to read something that I copied from the Internet. This is like like the General documentation off the Exploratory Taste Inc. If you search for eating Google, and after that, I'm going to explain it in my own words. So exploratory testing is all about discovery, investigation and learning. It emphasized personal freedom and responsibility off the individual tester. It is defined as a type off tasting where test cases are not created in advance, but testers chick system on the fly. They may know down ideas about what taste before taste execution. The focus off the focus off exploratory testing. ISS more on testing as a thinking activity. Their scripted tasting you design test cases first and later proceeds with test execution. On the contrary, exploratory testing is a simultaneous process. Off test design and test execution all don't all of them at the same time scripted. This execution is usually a no thinking activity where testers execute the test steps and compared the actual results with the expected results. Such this execution activity can be automated and does not require many cognitive skills. Though the current trend in software testing is to push for automation, exploratory testing is a new way of thinking. Automation automation has its limits. So to put it with my own perspective, in my own words, exploratory testing is just trying to find books without having any scripts in mind. You just go into the system and try to break it, just enter the software and try to do anything that comes up, comes up into your mind that you can taste as a corner case. This this consists off anything you can think off. Just go into the system and try anything you can think off to break the system, and I will give you an example with the IMDb I am db dot com pitch, for example, If I want toe this logging page and I don't I I have already executed my test cases, and when you create this cases and execute them step by step. Of course, you think about them when you create the test case. But when you're executing that this case, you're just like your focus is limited exactly to the steps off the test case. So step one. Do this step to do the Step three. Do this and verify the results at the end. But sometimes and I'm seemed saying this from my own experience. I have find a lot, a lot of books when I'm doing exploratory testing just by exploratory testing. I mean, I'm just going into the program and try to break it with anything that concept into my mind . For example, if if I want to taste this logging page without the cases I want to do exploratory tasting first, I'm going to try ranting writing something like this and some symbols like this, and to put some passwords and try to enter, I will try toe put miners in front, and after that, put some email to see if this is going to work. I will try to put only special characters to see what is going to happen. I will try to toe put for example Ah, big kind off character. So I'm going to copy this. I'm going to face this multiple times to see what is going to happen. Just trying to break the system with anything that comes to my mind and this is called exploratory testing. Just trying to break the system and tryingto test the system with anything that you can think off. We don't without having a script, and I have found a lot off a lot of books back doing by doing this because you don't have any framework that say's, There's limiting Q. And you're just trying toe do anything that comes into your mind and sometimes by just clicking and everything and trying to break things. A lot of the times you're breaking things, and this is how you can find a lot of books. And trust me sometimes this is helping a lot. Not everything has to be scripted. Of course, you have to scrimp int scripting to make this case is, but exploratory testing is also very important. Now let's continue with the next lesson 17. Volume vs Load Testing: Hello, everyone. In this video, I'm going to explain what is the difference between voluntary sting and load tasting? So volume tasting is a type off software tasting that is performed to taste the performance or behavior of the system or application under the huge amount of data. Volume Tasting is also cold fluid testing, and it is a type off performance testing. In the other hand, load testing is a type off software tasting that that is performed. There's the performance or behavior of the system under the expected load off. A really, really world low testing is also a type off performance tastic, so they're both type off performance testing. So far, so good a little bit more about violent tasting volume. Tasting is software testing performed to take the system under huge load data data. LOHT data lost. It is they stick during volume tasting in volume tasting clothes. Huge volume of it volume tasting is used to measure the throughput off the system. Volume tasting makes the system capable off real world use. Volume testing saves maintenance cost and volume tastings. Chicks System's response time so low tasting low tasting is a software testing performed to test the performance of the system under riel Life Float data loss is not tested. The ring little tasting in low tasting clothes in loads is customers expect expectations based Lo tasting is used to measure the performance of the system. Though tasting makes the system capable. According to the end user, it doesn't safe maintenance coast and low tasting chick systems performance. And if you didn't understand any of this, I want to explain it just with one or two centers, two sentences with my own words. Try to to remember it like this because I know that it can be a little bit if you're confusing, especially in the beginning. And a lot of people are missing the what is the difference between the two things? So if you didn't understand anything, from what I just read now ignore all of this every and remember it like this. Try to imagine that you're tasting uploads functionality off a website. Your software is a website that you have applauding functionality and you're tasting this volume. Testing will be tasting this functionality with a huge file, so of file with increased size, Vote tasting will be testing the functionality with multiple small files, so volume tasting is applauding. One file with huge file and floor tasting is uploading many small files. For example, 2000 small faults again. Volume tasting is your uploading one huge file, and you're trying to see if the system is going to respond accordingly. If you upload one huge file so you're in place, increasing the for the volume of the file and flow tasting kiss applauding many, many small files were increasing the LOHT. Basically, that's it. That's the difference between the volume and the low tasting. I hope that makes sense and you understand it. I just want to mention this because when you go to the interview, you may be asked these kinds of questions so it try to remember it with the with the except with the applauding example that I just gave you 18. WHEN SHOULD YOU AUTOMATE: Hello, everyone. In this video, I'm going to talk about automation. And when should you move? When should you move from manual toe automation? They think, And the the answer to that is basically, when you have tasks that you did your repeating over and over and over and over again. Then you want to think about automating these tasks than to avoid repetitive work. If you're doing one task 15 times per day and you're basically doing the same things in clicking the same bottles over and over again, maybe it's going to be smarter to automate this task and to run it automatically every single day and to forget about it in the future. But this is just the simple answer. The more comprehensive answer is that not everything can be automated. So it's automation. Something really nice, really cool, something really necessary, absolutely. Automation is the way to go, and the automation is going. This is the future. Everything is getting automated basically, and this is definitely the future. You want to learn automation, but if you don't have any experience in testing and you're just starting out, do you want to learn automation from the beginning, absolutely not. I think you should first start with manual testing, and you should learn the basics. You should learn the basics like rink and the requirements from the client and knowing how the whole process the software development life cycle is working. You should know how to write this case is how to execute this case is, basically, you have to be a really good manual K or manuals tester in the. After that, you can move on without nation. I think you should know should learn automation, but only after we have a really good foundation and understanding off the whole process. So automation is definitely something that you want to learn. It's really powerful to automate tasks in tow. Have them running in the in the back and you just check the results. But what In the beginning, you should definitely learn your basic tasting skills, your manual skills, your understanding of the whole process, and only after that you should learn automation. And, uh, something very important is that automation, uh, cannot be done to every single task. You cannot automate everything. First off, all automation is is it looks. It's something that takes a lot of time. Not everybody can do it. Not everybody has time to do it. Because sometimes in your project you care deadlines. And your client wants this functionality to be done and to be delivered to him as soon as possible. And you have a deadline and you don't have timeto create automation dates. So you're just manually tested. Try us trying your best toe. Do it as soon as possible so you can release toe production in the plant. So the client escapee, if you give more time and you hear somebody that can do automation tests, then you can start implementing implementing selenium, your selenium, you I automation tests. But they take a lot more time and also need not everything can be automated. So automation is the way to go. But first learned your basics, your foundation. And after that, move on to automation. 19. Interview questions for Manual QA Engineers: Hello, everyone. And welcome to this, lissome. I'm really excited that you're being here because this is the end of the course now, and you should be ready for applying toe your first create job and this whole course keep being preparing you for your first K job. So the interview questions will that I have prepared for. You are basically, uh, everything that they told you so far in this course, and I want to ask you these questions now these questions now and to answer them once again because I want you toe, understand all of these and to hear if some kind of answers when you're going to your first job when you're applying for your for job and you're in tow, interview a lot of these questions. Actually, all of these questions I have, Bean asked when I first started applying for K jobs. So I want to teach you how to a handle on interview process and how toe make a good impression on somebody and how to land the job. Was the menu okay, engineer. So, as I said, the whole course is basically a preparation for your first job, But let's do it once again in this video. So the first question that I have put here is what do you know about the software development life cycle and the When they ask you this, you should say what I told you in the beginning of the course that software development Life's life cycle is a process for developing software product, and the first face is coming with the requirements from the client. After that, when you have all the necessary requirements is coming. The design face the U A, or UX designer is creating the designs for the client. And when the client approves need designs, then the implementation face comes. This is the coding face, and the developers are actually creating the product After that. The case K engineers are testing the product, and if they approved the product after that, the software application is is being deployed to the production. That means that the client gets its product, and after that, the team the scrum team is maintaining the product. So something like supporting the product of them to the next six months. This is what the software development life cycle is. Next question is what is a test case again. You shouldn't. You should know all of these things. You can watch the previous stations, but here I just want to answer with we quite quick answers that this is how you're going toe to react in tow and toe. Answer these questions if you're on interview. So what is it? This case. But this case is implementation off piste steps. And when you execute them, your very frank certain functionality. Basically, this case is just a test the steps that you're executing. And in the end of the test case, you're verified that the functionality is working or not working as expected. What kind of testing do you know Here? You should say that they're mainly there two kinds of tasting, functional and nonfunctional. The functional tasting are related to the functions off the product and nonfunctional is related to the performance of the product. Just like a told you in the earlier stations. And here you can. Also, you can also say all kinds of testing that you can think off, for example, unit testing, integration, tasting stress testing, volunteers to grow tasting progression, testing, exploratory, tasting, all kinds of testing. Did you know you can just say one or two words for them. You're you're really going to shine and you're going to look really good. If you say, like 10 10 types off tasting, can you? You can say one or two words about each one of them, and this is for Junior K. Of course you're going to show what is a book. A book is every single thing that is not working as expected. So basically, we have requirements. You know how something should work, how this functionality should work. If there is something that is not working as expected, it's a book. So everything that is not working as expected was the difference between white books and black box distinct with black box testing que shaver input. And you're just very frank, the final, the expected result. But you don't know what is happening in the back of the program. So you're testing the functionality from a user point of view in the white books. They think you're tasting the internal site off the program, so basically are testing the coat. You're tasting the security and you know exactly what is happening behind the seas. What is exploratory testing? Exploratory testing? He's trying to find defects into the system without having a script and the steps to execute your logging into the system and you're trying to break it with everything that comes into your mind. You're just exploring the system and tryingto find defects. What is unity and who is doing? You get these things for user acceptance tasting, and this is done by the user. So after the implementing, off the product after the very verifying the product from the key 18 and after deploying the product, then the user, then the client, the final user can do this user acceptance distinct in Lord in order to verify that the product is working as expected, this is the final face off, the on the off the product development. What is cross browser testing? Cross browser testing is testing the application in different browsers in order to verify that the application is working, as expected in different browsers. For example, Firefox Safari, chrome Internet Explorer and you can also say mobile applications Well, what is the difference between volume and flow tasting? Here? You commission the example that I gave you earlier in this course with the upload functionality, so volume tasting would be increasing the volume off the file. So one huge file with increased size and flow tasting will be many small files uploaded to the system. For example, 23 4000 files about small files uploaded to the system. Can you out meat? Every test case? No automation, something that have to be really carefully thought. And some test cases are just not applicable for automation. Automation is really powerful, too, but you should first do your manual testing. You should know how the application should work, and after that you can decide which these cases should be automated. But not every single test case should be automated. What is regression testing? Regression Testing is verifying that old functionalities are are still working as expected after applauding new functionalities, basically verifying that the system, they're verifying that the new coat is not breaking the old one. What is Juror used for Juror is, Ah, project mangement tool and book tracking tool, and it's used for manage your project and toe, create user stories and tasks basically toe mange the project into truck. The progress off the team. What are you going to do if you find a major defect in the system you're tasting. If I find a major defict defects in the system and tasting, I'm going to report the book immediately, toe the developers into the project manger of the team. So everybody knows about this, and the developers can start fixing the problem as soon as possible. And the project manger can do the documentation if something has to be done related to the client. And after I report immediately to the team on going toe, create a book report explaining everything about the book about the defect, how I how I found the defect going toe touch gree shots. Basically, this question is it's a common sense, but I just wanted to answer it for you because this is something that I have, Bean asked on the interview. And that's it. These are the questions that time belief are more than enough for you to start your first key a job. I'm sure that you are going to do it just fine. These air the foundations off the menu. Okay, Engineer, the junior menu cure engineer. This is a job that allows you to enter the I T field, and we all know that this field is really rewarding and we have a lot of benefits, a lot of perks, good salary into this field. So you can you can become, ah, just a engineer and change your life and change your family's life. That's why I want to help you. I want to to teach you all of these because I was a few years ago, I was working something completely different than the the salary. The salary was not even nearer to the salary that I'm taking a secure engineer. So I think everybody can learn these things. Everybody can apply them. Everybody can find a job and really change his life for a better. So I hope that you learned a lot from this and I was here in the next listen. 20. C# or Java Which One is Better: Hello and welcome to these video. Now I'm going to talk about what are the differences between Java and C sharp and which programming languages better and honestly, I don't want you to think about programming languages like that, like one is better than the other. And I know that a lot of people were comparing them and they're so hardcore Java fans or so hardcore see shop fans. But what they want you to understand is that a programming language is just a tool, and different tools have different purposes. So, for example, if you're going to build ah, game in unity, of course you're going to use C sharp for that. And if you're going to, if you want toe become 100 developer in the developed 100 applications mobile applications , you're going to use Java for that. So my point here is that programming language language is just a tool, and one programming language is not better than another programming language. They're just used for different things and depending on on what you want to create, you're going to use a certain language. But don't be like these guys that they're saying hold Java is the only programming language for me, the world time, not using anything else. Be open minded. Try to learn as much as you can on nothing that you need to learn 50 programming languages . You need to specify in something, and we become really good at that. But you also need to be open minded and accept to learn other things as well. So what are the basic differences between the languages? Both C Sharp and Java are object oriented programming languages. C Sharp is new words, so Java was created by Oracle and it was created before C sharp. So C Sharp is the more recent language. And a lot of the things in C Sharp are basically the same. Like things in Java, it's, ah, old programming languages here, the the same basics in the same programming foundations. So again, don't be one of these guys. That is only hard core, one programming language fan off course, their differences in the languages. But like I said, the the basics, the foundation is basically the same. A lot of similarities in C. Sharp and Java Java is a complex web based Kylie concurrent application where C shape C sharp is weapons game development. Popular form up for mobile development. Basically a lot off big companies and big applications are using Java because Java has been here forever, like Facebook uses Java's longest other programming languages. Amazon uses Java and the other programming languages, so you can see that a lot of big, huge companies air using it. It's you can say more stable because it's on the market forever. On the other hand, C Sharp is created by Microsoft. It's a newer, more recent programming language, Java. But it's still Ah, on the market for a lot of years. And people have start starting toe appreciating to realize how good, good of a programming language c sharp piece. It's basically no. A lot of the things in C Sharp are the same, like Angela, and you can use C Sharp also for whip development as well. Asan is very popular for game development with unity. Java is suited for complex with based concurrency. Project in C. Sharp is based treated for game development projects, which I think C Sharp is great also for development and the tools the I D that we're using for Java. It's clips need beans or intelligent idea. I personally like the intelligent e most of these. Ah, and forced you sharp. We're using visual studio. I think both of these i d. Id's our great intelligent and visual studio. So, like I said, the programming language is just a tool that you're using to create something, and depending on what you want to create you're using, you're going to use different languages. See, shop and Java have a lot of similarities. Basically, that the basics off the language is absolutely the same. You just need to get familiar with the syntax and you're good to go. I My advice here is, uh, don't look at languages like this one is better than the other. Try to be open minded. Try to learn as much things as you can, and later on, when you put it on your CV, for example, you have been working on one project from Java and the other one in C sharp. It will look good because you have experienced a lot of things and you have knowledge in a lot of things, not only in one programming language. So think of this as an opportunity to learn new things you'll see that a lot of the things they're similar in the two languages. They're both great languages and their great, depending on things that you want to create with them. 21. Introduction to Programming with C#: Hello and welcome to the introduction to programming with C sharp. Thank you so much for being sure and taking this course. I hope that you're going to get the value that you came here for. You're going to learn a lot of new things, and I hope that you have this mindset off learning because programming is not easy. But I believe that with the step by step tutorials, I'm going to teach you. You're going to do amazing. If you care for any questions throughout the course, please ask me single message. Give me your comments. Your questions. Here in the culinary sections, I'm always improving on my courses, it making them better. So your feedback is really important for me. Also. Please leave a review for the course because it's really important for me. And health helps me reach more people like you. Thank you so much for being here. Now let's start with the first lesson 22. Install Visual Studio - Your IDE: in this video, we're going to install visuals to you, so let's go into Google and type visuals to do in the search box press enter and click on the first link. You need to end up. You're on the Microsoft page and you're you'll see visuals to you, I d. E and when you over here on the download button, you see community professional and enterprise version click on the community. This is basically the free version that we need so you can see that it was downloaded installer and click Yes, before we you get started, we need to set up a few things so that you can confuse your installation. OK, continue now. We're waiting for the downloading and installation to complete. Next, you'll see the screen right here, and we need to select exactly what we want to install because visuals to do. If all burnt bunch of options. As you can see, we can install a darknet, the Desktop Development Desktop development with C plus plus I spared dotnet Web development note Js development bite and development or ah, game developed month mobile development of developed development, all kinds of things we're going to need only this one dot net desktop development. So click on that one and click install. Not now. And we have to wait a little bit for the downloading and installation. The complete. Now, now, after the visual studio is downloaded, click on launch. Uh, it will ask you to sign in, but you can skip that step and click. Not now. Maybe later. Here you can choose your color theme. I personally like the dark one. And this is the one I'm using. You can you use also blue Ah, and light one. But I'm going to choose dark here and start visual studio and the here we end up in the actual visuals to you. This is the start Page. Don't get really frustrated from this page. I know that. It looks like a lot of things opened up right here, But don't get confused. You can even close this one. Don't look at it. Click here in the file New end project. Because that's what you want to do. We want to create a new project in our visual studio. So ah, here we can make different projects. Different kind of projects. But we're going to make console applications. So you make sure that you select here visual C sharp and the cause of application dotnet framework. Here you need toe. Put the name off the application. Our application is going to be named my first project. You choose the location off your project Solution name. You can just leave it like that. Type the name of the project Select console application dot net framework and click on OK and you have just created your first project. This is how you create your first project in visual studio. It's called my first project, so let's continue allow with the Lexx. Listen where we're going to discuss what all of these things mean and some basic programming that you need to understand. 23. Understand Basic Programming: Hello and welcome to the next video. Now in the beginning, I want to show you how you can change the color in visuals to do after the installation have already completed. You can change it from here. Tools, options and on the general you will see color theme right here so you can change it to light, for example to see how it looks. Maybe you like it better. This is the light's version you can know. So choose the blue one. Basically, just no see which one you like best. I personally think that the dark one, this is the best one for my eyes. It's protecting my eyes in a way. So now I I'm going to zoom a little bit so you can see the coat and we're going toe. I'm going to explain the things that you see here and we're going to write our first program. So I know this looks really frightening in the beginning, but you don't need toe understand everything in the beginning. Trust me, this is really important to understand right now that in the beginning it's going to be difficult and you will not understand probably anything. But when time goings goes on and, uh, you basically try new things and learn new things and try Try again and again It will start making sense and you'll become better and better every day. So what are these things that are written here? This is the default. Say things that the fault program that IHS starting when we create a new project on we see something called name space right here. The name space is basically container for, ah, classes and metals inside of the program. You don't need to understand that in the beginning. Just ignore it. You may think of it like, uh, something really big. A big container which contains classes inside. This is the class and inside of the class. We have methods. This is our method. Ignore the class ignored the name space. We only need toe right here inside of these metals. This is the starting point of the metal, and this is the end point of the metal. So we're going to click enter here and we're going to write our court here inside of this method. So it's ah, metal with the name main and the main metal. It's basically the beginning off every program. So when you see main, this is your method. And this is where your program starts every time. Every time when you start your program, it starts from here. And it's going to execute this court between these parentheses here. So this is our main metals were going to make a comment here. Just normally this where you make a comment like this. This is myth food Cold mean, Okay. And we're going toe right, our court here, inside of the main method. Now ignore all of the other things, like strings and all of these arcs and things that are inside of these parentheses. Just follow me right here and right console, which is a class right dot. And now you see what is inside of these class you have here methods which are inside of this class, and you can use them. So we're going to use this metal right here, which is rife line. And if you over, you'll see what this metal does it say's it writes the currents lying Terminator toe the standard output stream. Basically, you want to write something on the console, so we click on that one, and, uh This is how you end your your sentence with with the same economy every time when you want to end your coat and here inside of the parentheses type Ah, double quotation marks and type something like mine. My name is in top your name. I'm going to time Victor, and we're going to run this program with control and a five. So press control and a 500 keyboard. And you just created your first program. You will see here on the console. My name is Victor or your name most off the people when they're starting their starting with the program called Shallow World. So you can type here que lo world press control and a five to run the program and you see on the console it says here Low World, that was your 1st 1st application. If you've just created, you have programmed your first application by yourself. Now again, this console is a class that we're using. We type dot after the name off the class toe, take something from the class and we're taking this metal rife line which, inside of this console class and in the method, you need toe toe type something inside of the metal basically toe call the metal. And with these double quotation marks, this one and this one we have pulled this metal that we're going toe. Give him a strength, a strength. It's a variable type that you're going to learn rate later, but basically it means that you're going to write a sentence. In these quotation marks. You write the sentence, and that is a streak. And we have just called the the right line metal, and we have printed on the console. Hello World. So this is how you write something on the console. Now I'm going to show you how you can read from the console. Or basically, you're asking the user toe type something now again if if we start, the program is going to say hello world because we say it right on the console. Hello world. And if we won't read from the console, we're going to type console dot reid line parenthesis again and semicolon finish. And now, basically, if we run the program, it's it's saying hello world and now it's waiting for us. Type something if we type something now, the program has finished, and with the writing and reading on the console. We can basically ask questions. If we're making a calculator, for example, you're giving ah, first number a second member, and you can get the the some of these these numbers, for example. Now I'm going to show you example not with a calculator. But if we say, hear what thesis? Your favorite favorite number. Now remember, we're writing this on the console because we say rife line. After that, we read something from the console. So basically, we ask the user to type something, and again we arrived line, by the way, I want to show with something something a shortcut. How you can write Consul Rife line If you type c and w in clicked up twice, you're going to write cons or I find this is basically a shortcut. You don't need to type it letter by letter every time. And, uh, we can see here. Wow, that's my favorite number as well. And the king Your guess, What is going to happen right now? Uh, if we start the program first, we see the first thing that we write. We wrote on the console. What is your favorite number and the second line here is a refined. So it's reading something from you. You need to type something. So what is your favorite number? Type 17 and press enter and it says, Wow, that's my favorite number as well. And this is just the simple application that we created. I want to show you how to write and read from the console. This is how we write with the right fine with the relying. You're asking for something to be written on the console. And basically you can create simple applications like that when you're asking something to be given to the console in your typing something in return. Now I want to show you something else. Maybe you have ah noticed that in the causal class there is something called right, not just right line. And I want to show you the difference between right and rife line. If we delete this relying here and we start the program, you will see that both of these sentences are on the same line because we have said right here and after the right you stay on the same line. This is the difference. After the right, you stay on the same land, and after the Rif mine, you're going to the next line. So if we say um, causal rife line here and start the program after this sentence here is finished, we're going to the next line and the this sentence is on the next line. If we say only comes all right, it's finishing the sentence right here, and it's starting with the next one without going on the next time. Now let's continue with the next lesson where we're going to talk about the variables which are really important to understand for a programming. 24. Variables in Programing: Hello and welcome to this, lissome, where we're going to talk about variables. And right now, in the being, I want to tell you that if you're completely new to programming, which I believe you are, these things that I'm going to explain are going to be a little bit difficult for you in the beginning. And if you don't understand them right away, don't be frustrated. Just keep in mind and remember that programming is difficult and it takes some time to understand and you get used to it. So with that being said, I'm going toe toe type a variable right now, and I'm going to explain what it is. So what I just did is I created a variable with the name number, and I say number is equal to five. So this variable number have a value off five. And these things int before the number is called data type and the numbers around numbers like 567 10 they are int and int is sure for integer. For example, if we want toe say this is first number is he called the five in second number is equal to six and so on and so forth. If you create a round number, this is called Integer in for short discovery. Write it. But it's short for inter in these around numbers. If we want to say Ah that the number is 6.5, for example, it's not going to be correct because this is not This is no longer around number the way we have. Ah, decimal point, and this is making the number double. So we say double third number is equal to 6.5. And now this. Correct. Because the visual stood, you recognize that this is a double. This number is a double and is not making a problem if we say it's equal toe. Uh, no. If we say here that this integer is equal to 6.4, for example, you'll see the red line here that's saying that the number is double and the were using integer here, so it's not correct. So use int for around numbers. We use double for numbers with decimal point. There is something else called Float like that, and it's also used used for the small numbers like double and the only difference is that the double ISS more precise than the float. When you're using floats, you can put seven characters. I believe seven numbers after the decimal point, and with double you can put 15. So double is a more precise. Only the precision is the difference. There is also something decimal, which is more precise even than the double. But I don't want to get you confused. Just remember, for dismal numbers, we're going to use double for a round numbers we're going to use in the next variable that I want to show you. That you were going to use very often is strength drink we're using for sentences or when you were writing words for examples. Drink name is equal to John. Okay? And the were were closing here with Sami column and something important when we're writing strings on, you need to put double quotes in the beginning and in the end, off this drink, if we just say John here without the quotes, it's going toe. It's goingto make the problem, and you'll see that it's underlined here because when you're using strengths, we need to put quotes in the beginning and in the end of the off the value if we want to have a variable, which is only one character were using char. So char character is equal to, for example, See, And when we're typing characters, Um, it's like a string, but we're using single quotation marks, no double quotation marks. And this is only when you're we have only one character. When then we use char, we're going to create a really interesting program. In a second, we're going to make a cow calculator. But now I want to summarize what we have just learned, and I'm going to ride here as a comment. So in, uh, we're using when we're creating a variable, which is around number double, we're using toe to make the small number when the number is not round. For example, 10.7 drink we're using for sentences or words and char we're using for a single character. Now I'm going to show something else, which is something that I don't recommend using in the beginning when you're creating variables. But I want to show you as an opportunity because if you see it somewhere, you need to know what it is. For example, far fifth number is equal to 12th and the this is basically the same. Like saying int fifth number is equal to 12. We were using viral when we don't want to, um, toe explicitly say to the visuals to you that this is an integer we want toe the visual studio to recognize this and toe make on integer you can. You can use this for any type of variables. For example, are, um, second name is equal to hope groups Peter some, and now the visual studio's going to recognize this. This think is a strength you can say. It says here it's a string second name on, and we didn't say This is a strength. This is a number. We save our and it recognized the the type off, the off the variable. But don't use this in the beginning. Experienced programmers programmers can use this when they're typing because it's faster and they know what are they? What are they typing? For example, um, the four person types ah var and after that are a or ah non object or something like they know What are they doing but you in the beginning, they you need toe, understand these types data types, and to understand them you need to use the specific type. So interred your double string and Charlie, we're not going to use. But I just wanted to mention it. We're going to use integer, double and strength. And this is what I want you to write in the beginning. Just to to get familiar with them and to know what are you typing? 25. Boolean True or False: I also want to mention one other type of variables which is bull, which which is short, short for Bullen and is basically true or false. So both true or false is equal to this can be true or false only that so just keep this in mind. We're not going to use bulletins in this course. But just just to know that this is also a variable type boo if you see it somewhere and that the value off this if this variable can be true or false. 26. Creating Simple Calculator: Now let's create a simple calculator. I'm and I promise you is going to be really cool. So let's deleting this thing right here. And I'm going to leave this these comments for you if you if you want to just look at them into to see what we did previously. So we want to make a calculator first. We want to ask the person who is on the computer to write first number. So we're going to see consult Rif line pipe your first number. And if we were in the program, we can see that this is here on the console type your first number after that, What we want Ihsaa you want to type number? So we're going to read from the console console dot reads line and the here before the consul Red Line. We want to make this variable, so we're going to say int first number is equal to console refi. Now, I know this is going to be a little bit so for you, but just stay with me now. We have just created a variable first number and we want to read that from the console. But this is underlined because that they fold Very when we're reading from the console is strength. It's not an integer. So we need toe toe cast this number this Ah, this drink into a number. So we're going to say instead you're in dot bars. We're going to basically parse what we're really reading from the console, which is a drink, and we're going to make it a number. You know, it's a little bit tough right now, but it's going to be clear, I promise. You understand this better with time. So we created a variable first number and we're saying, read this from the console and this is going to be a number, not a shrink. If we run the program right now, it say's type your first number and we can write something and the program stops right now . This is what way have created so far. Now, let's say console rife line. Actually, let's make this right. No strife line. So this will be the member will be on the same line after the sentence right here. So stop your first number. We're typing our first number. Now we want to say type your sick, um number type your second number and now we were going to make a second variable, which is second number and is going to be again equal toe into integer dot parse. And we're reading from the console. So condo reads line. We're closing here with Sami column. No, what we have just created starting the program. It's asking for a number and you see, it's on the same line because we wrote conserve console dot right, not rife line. So type your first number five type your second number six in the program And this is what we have created so far. We want now toe what we want to do, for example toe to say the first number plus in the second number and we want to give the result in the end. So we're going to say kuenzel that right And we're going to say the some off the two numbers he's and we're going to create 1/3 variable, which is going to be the sum of the two numbers. And we have, ah, a lot of options to make this, But I want to show you how you can, uh, you can basically say the first woman number, please. The sake remember is our are variable and we're going to print our variable on the council Soul integer some off numbers is equal toe first number plus second number and now we're goingto say console dot right and here we're going toe Put our some off the numbers Now what we have created so far. Uh, first, it's asking for a number type Your first number were writing the number here After at this asking top. Your second number were writing the second number here. After that, it says, some of the two numbers is, and we have created a variable which some off numbers, which is equal to first Number plus in the second number. And we're printing printing the result on the the screen. So if we run the program right now and we see how this is working, type your first number, we're saying we're going to say five. Type your second. Remember, we're going to say 10 and now the sum of the two numbers is 15. But let's make this rife line so it's going toe move on the next line and did you look better? So first numbers five second number is 10 and the sum of the two numbers is 15 pretty cool , right, which have just created a simple calculator that is taking the first number of the second number. And it's ah giving us the result. We can also make it like that if you want to, to multiply these numbers. So first number multiply it by second number on five, multiplied by five and the some of the, uh, not the sum we want to be on the here. We want to say the two numbers Muti flights are and five multiplied by five is 25. The two numbers multiplied are 25. Now, I think this is everything you need to know. In the beginning, I know it was a lot, but just stay with me and ah, I promise you is going to be clear and better in the next tutorials and after a couple of days, when you practice is going to be even better and better. So let's continue now with the next lesson 27. Creating Simple Greeting Program: Now let's create a similar thing. But this time we're going to create a program that greets you in this discourse. So we're going to delete all of this, and we're going to start with the asking for first name. So cold, so rife. Flying. Why this your first name? Okay. And we're going to create variable, which is going to be What if we're going toe to ask for a name? Yes. He's going to be us. Drink. So drink. First name is equal to console reef line. And you will see that this time we don't need to parse anything. We don't need the internal parts they were using before, because this time we're we're creating a variable, which is a strength. And this is the default value off the console, so we can just leave it like that. The first name is equal to console, right? Fine. Now we want to take these. What is your second name? And we're going to make a variable. Second name is equal to Causal Reef lime, and we're going to type. Um, welcome. Plus first name plus space, plus second name. I'm going to explain in a second. Um, que loose? No, but it's making like this. Welcome to this amazing C sharp course for beginners. First name, plus second name. Let's see what we did right now. So it's asking us for a first name. What is your first main? The type? Your first name here. Not mine. I'm going to say, Victor, what is your second name? Marine Off is going to say, Welcome to this amazing see shop course for beginners. Victor Green off. Let's make a little bit better. How can now he if, ah, this comma here? So it's looking better and we did the same thing like our calculator. But we did this with strings and we don't need to parse anything because the console redefined is string by default and we're asking for a first name. We're asking for a second name and we're print. Think the fixed right here. Plus the first name, which is it's taken from here, plus the second name. And I put the the's double quotes cure and the space because which free removed that you'll see that it's going to be without the space right here, the first name and the second. Basically, it says, welcome to this amazing see shop course for beginners, and the after that, it's it's taking the first name and exactly after the first name, it's taking the second name before any space. So after the first name, I want to say, uh, give me one space, and after that, give me the second name. And now if we start again, it will be exactly how I wanted to be. Now, I know that was a little bit too much for you, but it's going to be become better and better with time. Trust me with the experience. And, uh, basically, when you're doing the things that I'm doing No, just watching. I'm sure that your you will become better and better and you understand these things. In a couple of days, you will be you'll understand things that, um, first, it was really difficult for you in a couple of days. They will seem much more on this understandable trust me. So just continue with the lessons. And if you want to become a programmer, you will see a lot of things in the beginning that are not making incense and they're difficult. You just need toe, keep learning, and you're you're going to become better with every single day. I believe in you, and I'm sure that you will become a program or so Let's continue with the next lesson. 28. If-Else Statements: hello and welcome to this lesson where we're going to learn if else state months or or you can say also conditional statements, which is really important. And I'm really excited for this. Listen, because this is the first time that we're going toe to write some logic in our program, and I want you to understand this really, really good and it is going to be difficult for you in the bathing beginning, but just keep on learning and keep on practicing, and it will be it will becoming clearer for you. So, um, again, we're going to make a program, a simple application which is asking for your age, and it's going toe its going to decides. Based on your age, we're going to type some logic which is going to decide based on your age. Are you allowed to enter in a bar or not? So, basically is going to decide based on the logic that we're going to type. Are you too young? Are you exactly on the age that you are allowed or are are you hire? Is your age hired in the Louth? So we're going to use 18 for for our age this is the the age where you're allowed to get into bars and to drink in Europe. So maybe you're if you're living in the states or, ah, some other country. Maybe this will be a different number for your country, but in Europe, this is 18. So we're going to use that number, and again, we're going to write console, All right, flying where we're going toe ask for the for the age of the person. So what is your h? Actually, we're going to use, right, because we want to write the rage on the same line. Now we're going toe to create a variable. As you already know from the previous lesson, we're going to create a variable here here, which is which is going to be a number. So it's going to be integer, So injure H is equal toe in bars because we we want to parse this into into our consults are comes or really flying. Okay. And now we want to type our large. This is the interesting part. You type if just like you see it right here, put the parentheses here. And after that, the curly brackets and, uh what we're going to do. We're going to type here in these brackets here. Our logic. So if h we can say if age is less than, uh, 18 and we're going to print something here, um So if age is less than 18 I want you to print Sorry, you're not allowed to drink and the here, I want you to understand something else which is important we can we can say equal to we can say less greater on the less or equal toe I'm going to show you right now. I'm not going to just talk so we can say if age is equal to 18 will use the equal sign two times. So if we want toe give a value toe, toe something, we use the equal sign one time and when we use it to times were basically checking for something. If age is equal toe this age with one equal son, you're You're giving a value to something with two equal sense. You're checking if something is equal to something else? Um, something else I want to show. We can say if h is less or equal toe 18. Basically, this is going to check. This is this statement is going to be true. Onley. If the age is 18 or less than 18 we can say if he's, uh if it's greater or equal toe 18. So this is going to be true if it's more than 18 or equal to 18. But now we want to say if ages less than 18 we want toe to write. Sorry, you're not allowed to drink basically your toe too young to drink. Now, after this conditional statement, we want to create another one. So if h less than 18 this is going to happen. And else if age is ah bigger or equal toe 18 then we want toe, right? Mm. Okay, you are allowed to enter. So basically, with this program we're checking. If the age is less than 18 were going to say sorry, you're not allowed to drink. And if the H is equal toe 18 or higher there than 18 is going to say, OK, you're allowed to enter. So let's start the program. It's asking us for the age. What is your age? If I say 17 Sorry, you're not allowed to drink. Actually, let's put one space here. And if we say that our age is 18. Okay, you're allowed to enter. Or if we say something greater than 18 for example to 81 it it will also say, Okay, you're allowed to enter. And based on our logic, this program is checking if we are allowed to enter our not so if some think and else if something else. Basically, this is Qari, right? If else statements just you need to practice a little a little bit. Do this. Really? Ah, a couple of times with different members with greater than equal toe less than something and the you'll get better. Now let's continue with the next lesson where I'm going to show you how you can do the same thing, but with the switch statement. 29. Switch statements: Hello and welcome to this. Listen, where we're going to make the same program that is telling you. Are you allowed to enter the bar or not? But this time we're going to use a switch statement, which is basically the same. Like if else statement, it's your providing a logic which is deciding if he's going to do something else or something else. But it's more elegant. Way toe to right, the logical operator operators from for example. Uhm, I'm going. I'm just going to show you the scene tax off the switch statement. So you're you're right switch. And here we say, h after that, the curly brackets and we have cases. So this is exactly right the if and else so in case. Um, in case this is 18 close. All right, fine. No, we will make this 17 in case you're 17 is going to say you are not allowed toe enter and after the the cons are a fine. We need to break. We need to break out of the case now. The second case is going to be if you're 18 and it's going to say you barely made it, you can enter and uh, we break again And the the next cases, if you're 19 it is going to say Okay, Okay, Grandpa, you can enter and we're going to break again. And we have made exactly the same thing, Like using If else statements were basically saying, If you're 17 is going to write, you are not allowed to enter If you're 18 your bill, you barely made it. But you can enter. And if you're 19 Okay, Grandpa, you can enter. And the we made the same that the same think that we made with the if and l statement, But this time we used switch. So we say, Ah, switch after that would put the name of the variable here that we're using in the cases are the if and else statements. So if we start the program now, it's asking for our age. And if we say seven thing is going to say, you're not allowed to enter. If we say we're 18 you barely made it. You can enter. And if we say that we're 19 is going to say, Okay, Grandpa, you can enter. So I hope you You understand what we did right here. It's not just exercise Mom with the switch case statements are righted. The right this five or six times with different examples. And I'm sure you you understand how it works. You just need to write it yourself. Now let's let's continue with the next lesson. 30. For Loops: hello and welcome to this lissome. And before we start here, I want to say that you're amazing and I know that programming is stuff, But you're awesome for continuing with this course. And I thank you so much for being here and not we're going to talk about loops. So a loop basically is a way that it's a smart operation allowing you to loop through something. For example, if you want toe, print the numbers through from one toe, 10 on the console, you can do it, of course. Bite writing konczal rifle and one and, uh, console right flying to conserve rival in 345 And the groups, uh, we can do it by that line by line. If you're wondering how I'm doing this, copy and paste without marking the line. If you're here on this land and you press control and D, you're making a copy of the plan on the next line, that's cool. I'm doing it. So I wanted to show you that we can print the numbers from one to thing like that, of course, in the console. But you must be asking yourself there should be a better way right Ah, smarter way to to print these numbers. This is not really a smart way. If you want to print the numbers from 1 to 1000 does that mean you're going to write this 1000 times? No, of course not. Now I'm going to show you how you can do this. With a four loop, we're going to write the sin taxes. The following So four parentis is we're going to create a variable here in I is equal to one I t's place or equal to 10 I plus plus. Now I'm going to explain what I just did this actually surely want toe to say console, right? Fine. I now what I just did is I have created the four loop in the I have said that I want the loop to start from one toe finish until it reaches, then so less or equal to 10. And I want to print the the variable I which I have said here that is equal to one. So this loop is going toe Come the first time here is gonna print I, which is one. After that, it's going toe increment one. This is what this part here is doing so. First year. Initializing the number here. This is the start point off the group. This is the end point off the group, so it starts from one. It's going toe end in 10 and this is the increment operator. So basically, we don't want this I to stay the same every time. When, when the loops the loop, it's working. So we want the first time. To be one after that is going to increment. The second time it's going to be to the is going to increment is going toe become three. It's going to increment and until it reaches 10 and then after that is going to stop. Now let me show you if you run this and it's printing the numbers from 1 to 10 basically what is doing? It's coming. Sure it's checking. How much is I? It's one. It's printing I and it's it's cream nt with one I plus Plus it's incriminating with one. It's basically the same. Like saying here, Um, I plus equal to one. It's is the same thing is going toe ecri increment I with one. So it's going toe. So as I was saying, it's Ah, the first time is goingto be one is going to increment. After that, it's going to become, too is going to print. It's going toe increment is going to become three is going to print increment and do it richest 10. So if we want toe print from 1 to 100 use, you can see it's printing from want 100. But now the numbers on 101 and really common way off using loops in programming programming is starting from zero because in programming he always start from zero. You'll see this later on in the lessons for a race. If you're using a ray or a list where you need toe, get some value by index, you always start from zero. This I basically means index. So the index here zero and it will end on 100. It starts from zero until 100. Okay, this is how you use for loops on and inside of the body off the loop right here inside of these two parentis is you can you can make conditional statements you can use. If else you can make some more logic into the four loop, you can basically play with it. And that's how you create a simple for loop 31. While Loops: Hello and welcome to this. Listen, where we're going to talk about while loops. And basically I want to show you the same thing that we did in the previous lesson where I want to bring the numbers from 0 to 100. But this time I'm going to use a while loop. So Ah, the syntax is like these wild. And here I'm going toe put my condition So let me first create Ah variable here because in the four loop we had variables in the loop but in the wild Hope we don't have it. So I'm going to say integer I is equal to zero. So we want to start from zero. And I'm going to say while I is less or equal to 100 I'm good. Oops, I'm going to print I. And if we start this program, you feel that this is infinitive infinite loop. And you never want to do this because in sprinting zero basically without ending and this is going to crash your program. You don't want to do this in the wild loop after the you say Ah, What kind of operation you want to do here? You want to increase the value because otherwise this I hear it's always going to be zero. So I'm saying Print I and after that I plus plus which means increase I with one. And now what is going to happen? I will have the numbers from 0 to 100 basically the same what we did with the for loop in the previous lesson. But now we're doing it with a wild hope. We're giving these variable I avail off zero and were saying While I is less or equal to 1/100 I want you to print I and then increase I with one. So the first time it's going to come the program is going to come here into the loop is going toe ask How much is I? Zero. The first time is zero. Now it's going to print. Zero is going toe increment with one. Now I is one and now is going to get out of the loop. Come here again and going toe. Ask how much is I this time? I this one. It's less then 100 There it's coming into the loop is going to print one After that is going to increment. Is going to become, too. It's coming here again and it's asking, How much is I? It's, too. It's less than 100. Then it's comic into the body of the loop. It's printing. It's incremental. It's coming here again. Checking, printing, incremental. Coming here again, Checking, printing, incriminating until it comes here. And this what? This number Here I is bigger than 100 then it will get out off the loop. So this is what we did here with a while Loop. Now there is another kind of group which is called Do while Loop, and it's not used very often, But I want to show you how it looks like and if we want to do the same thing, But we do while we're going to write, do and click topped up. You don't if you don't remember, sometimes the syntax off something, for example, for loop, for example, if you want to write a for loop, but you don't remember all the things inside of the four loop, you remember the name of the variable, the I plus plus and all of that. So you just right for a laptop in the bad the body off Lupin. Everything that you need is going to be created out magical. But I suggest that you first write it later by later to understand how it works in tow. After you can make it by hand, then you can use these shortcuts. So I'm going to create a dual loop. I just typed Duke and click up twice. So here we want to say what we want to do. So we will have a variable again. I is equal to zero. So do Zo, Right? Fine. I while I is less or equal to 100 we want to increment, I hear basically this is the same thing that we did with the four and with the while loop. But we're doing with with do while we're saying do this think right here. Eso print on the console I the increment while I is less than or equal to 100. So these air do and do while loops. I hope you find it useful. Now it let's continue with the next lesson 32. Methods: Hello and welcome to this. Listen where we're going to talk about methods. And maybe you have heard somebody talking about functions. It's the same, like omitted is just another name off a metal. So functions meant medals her the same things. Now we have seen only one metal so far in our program, and it's the main metal, and this is the metal from where your program always starts. So we have bean typing only inside of these brackets here, which is the body off the main metal. But now, if we want to create another method, we're going to go out outside of these brackets and we're going toe type here. So type with me. We're going toe to use the same syntax like here. We're not going toe, make it complicated. So just type static void. Now the name off the mated. For example, if you if we want to write omitted for which is greeting the user wear writing, greet user brackets, curly brackets and now this is the body off the metal. As you can see, we have a mated here and we have a method here. Our program is always going to start from here from this main method, it's going toe execute the court here in this man mated. And after that going toe toe go into these metal. But mm. The beautiful thing is that inside of these main metal, we can call our other metals. And now I'm going to show you how this works. So in the body, off the greet user, this metal, we're going to type cons. All right, Fine. And, uh hello, user. And here, right now, in the body of the main method, we can call the greet user Mitt. So great user. After that, the brackets and the same column. And now if we start the program, it's going to say hello, user, because it went here into the body of the main method and we called this metal right here. Great user. And what is this metal drink? It's executing this court right here comes over. I find Hello, user. So, basically, we're printing this coat when we're invoking this medal right here. Now, if you're wondering, can we put something here inside of these brackets off a method? The answer is yes. This is the place where we put arguments and how I'm going to show you we're going to create another method and we're going toe. Put some arguments to this metal. For example. If you want toe make metal, which is multiplying two numbers, we want to make static, void multiply. And the here you want to put arguments which are going to be the two members so integer. First number on and after that in future second number and we want toe toe. Here's to say what this method is going to do. So Consul right for line First number Mort Applied's by second number. We're going to print that on the console and here in the main metal we're going to call the Multiply NATO, so multiply. And here we need toe pass some perimeters to these myths for it, for example, number three and after. After that. Number five. And what is going to do is going toe call this method you're going to check his body, what is dismantled doing. It's getting two numbers, first number and second number, and it's multiplying then, and it's printing them on the council and here we're saying the two members are three and five and this method is going to multiply the two numbers. So if we start the program we see the result is 15. If we say here six and then we're going to see 60 the metal is multiplying. The two numbers we can make the same with adding the numbers very void at and we're going toe number one. See Number one. Number two in here were saying number one plus number two. And here we're calling the at Metal and we're saying that we want toe toe ad number 10 and number 20. What is going to happen here on the second row will have 30 because this is 10 plus 20. It's giving us 30. This is how you can put some arguments in the metal. And when you're calling the metal toe toe to say with what kind of data you want to work with Now I want to explain to you what this word void means, and it can be a little bit difficult for in the beginning. But just bear with me. I will do my best to make this simple. It's possible all its clean, a little bit. I want to leave this metal at and to work with it only so this void is the return type off the method Right now this method is returning. Nothing void means it doesn't return anything And we can make this method return some data type, for example integer. And if we change these voids toe int We're basically saying this method is going is going to return on integer and the we have to into your numbers here and we have to say here into the body of the metal What exactly is going toe to return to be returned from the middle So the keyword return After that, we say basically want to add the two numbers So we're saying number one plus number two And this is what this metal iss returning is returning integer And this integer is number one plus number two and that if we call here the method at and we were just type two numbers, we will not see anything on the screen because we're not printing that. Anything you remember before we had here into the into the body of the method comes. All right, fine. We have to make it the we have to put this admitted here into the console, right line right here. So at and sure we we type the two numbers that we want toe at until we get the summer off. And now we're going to get the summer off this number and this number which are 10 and five . If we start the program, we will see 15. And now this middle has a returned type off int integer, which are two numbers number one, place number two and the we have added here number stent in five and we have printed them on the console. And this type off writing is making our code much more flexible. And we can we can put some other parameters here. We can return different types and in one of our methods, we can call other methods. And basically, this is how you write your methods with return type. Sometimes you you will want to return to drink a metal. It's going to return strings, but it's working that the same way. If you understand this, that the metal he ever return type, he can be void, which is returning nothing. Or it can be integer or strength. Basically, this is all that you need to understand. For now, in order to continue with discourse into to use metals like this in the simple way. So I don't want to make this too complicated. The remember Only this, and let's continue with the next lesson. 33. Arrays: Hello and welcome to this lesson where we're going to talk about a race. First of all, I want to thank you so much for being here, and I know that a race are pretty difficult to understand in the beginning and a lot of people struggle with them. So I will do my best to keep this listen a simple us possible. We're not going toe dive deep into collections, where I'm just going to explain the basics off a race, the basic concept and what our A es and how you can create a simple array operations. Nothing really difficult because this is really important to understanding the beginning. This is your your basis, like when you're creating a building. The basic the the basic foundation is really important. And if you understand this correctly in the beginning, it will be easier for you later on. So let's create now our first array and wadis Honore array is a collection that you're basically using a data type toe create array, for example, integer if we want to create a ray off integers, we're saying inthe. After that we are putting this square brackets, which means we're creating array After that, we're giving the array Ah, name. Just like when we were creating a variable. So we'll make a ray numbers is equal to int curry. Breck. Ah, square brackets. And now we were saying, let's say five. This will be, uh, hopes. Ah, this is how you create on a rake off integers we're seeing members, which is an array thes brackets means array is equal toe new array, which is including five elements in this array. And when you want toe take on element out of the rape, you are reaching this element by its index. Now we need toe put value toe this indexes because right now we have array off five elements, but they're empty, their zero right now, let me draw this for you because I want you to earn this. Understand this. Right now we have this array. This is our our A. We have five elements inside off the IRA. We have created numbers which is rate with five elements. But right now our elements are zero because the the fourth value off the integer is zero. So if we say right now, Gonzalez rif rif line and the worst Bracker brackets and three. This is the the index off the ray. It's going toe prints zero. Because what we did right now is he wanted to print 0123 you wanted. We wanted to print this element right here. This element and thesis element zero. So that's why we we got zero here in the council. And why Element number three is this element you're wondering. This is the fourth element It looks like, but in programming, we start counting from zero. So this will be the index right here. 01 two groups to three for these air, the indexes. And this is the value. This is the value off the the array. So but index number three right now, this is the index number three we chef element with velo zero. And when we say print on the console, the the element with index three, it's going toe print. This this element right here, which is euro. If we say right here loom bursts three, which is the index off the array on the point Number three is equal toe 12th for example. And now we print this. Ah, this index, it's going to say on the console 12 because right now we have given the value off. 12th to this. How do you delete? Here? Let me see. Okay, with, um, that Okay. And we have given the value off. 12th here on the index number three, this is our array. Right now, we start count counting from zero. This is the index index zero is the first position. Index number one in the second position. Index number three. Number two is the third position and so on and so forth. But now we have value 000 12 0 because we have given only, ah, very to this index. Right, Right here. Three. So we can say numbers zero is equal to five numbers. One is equal to eighth, for example, when we're too is equal to 15 numbers four is equal to 20. And right now we have our are a full right now. What we have is on the on the index zero, which is our are first index we hit. If Oops, we have a value off five. So right now on index number zero, we have the veil off five. Okay. Index number zero have available off five index number one have a very off eighth. Kate. Name index number one have a very off eight. The next number two is equal to 15. Okay, index number two is equal to 15. Index number three is equal to 12. Okay. And index number four is equal to 4 to 20. Okay, so if we say now, Consul Rife line numbers four. What is going to be printed on the console? I want to know from you. I will give you a couple of seconds. And, uh, if you said that it's going to be 20. You're correct. Now we're printing this index right here, which is 20. Okay. And basically, this is how this is how your initial initialize, um array off numbers, which is integer. And you you take out some by the index off the ray. You take out the very we can use this, for example, Toe create array, off names interred. You're off. Sorry. Drink names is equal to new. Drink off three names and, uh, names, names, Kurt brackets. Zero is equal to, Let's say, what would be the name Ben names. One is going to be victor and names, too. It's going to be draw shore. Okay, now, if we say cause arrive line names, square brackets and to what is going to be printed on the screen. If we delete this, it's going to be printed, Joshua, because Joshua is on index number two. This is how you initialize and you take out the value off off Honore. Now I want to show you a faster way to create on a rate. And basically, we're going to create the same a radio to have right here drink names zero to because we need to have ah, different name is equal to and you can start typing the names right here. So been Victor and Joshua. Basically, this right here is the same like this. It's another way off creating a ray. Basically your creating the array in your instantly, giving the values the values off. The rate off the index is off. Very so this year will be the first index, which is zero. This year will be the second index, which it's one. And this right here will be the the third index, which is toe. So if we say here Kunzel right, Flynn names 02 and we take the second index if you're going to print Joshua again. So this console rife line here is printing the second index off this array right here, which is this one and the this, uh and this console rife line is printing the second index off this array, which is this one. And we get Joshua times. If we say printing the first index from here and we started a program is going to print Victor because Victor is the first index on this area. We start from zero, and this is the first index I hope you understand. Understood something. If not, you just need toe practice with terrorists and you'll get better, I'm sure. Now let's continue in the next lesson. 34. Selenium Automation Introduction: Hello, everyone. This is just an introduction to show you how are coat is going to be Look a little bit later in this course. This is how are simple automation program is going to look like to log into Amazon. It may look a little bit confusing right now in the beginning, but trust me, it's going toe become really easy for you later on. In this course, this is just really simple program that we're going to run right now, which is going toe Amazon Web site and its logging into the application. So really simple way to show you what we're gonna be doing later. Don't be intimidated by that. I just want to show you how it looks like this is what you're going to be learning to do in the next lessons. So I hope you're this looks interesting for you. Now, let's start with the next lesson. 35. What is Selenium: Hello and welcome to this. Listen, where I'm going to explain to you what is selenium and what we're using it for. So selenium is, ah, software that we're using for testing quip applications, selenium, But by itself, if different components which contains selenium, I d e selenium are see selling and Web driver and selenium. Great. But we're not gonna be using all of these tools. We're gonna be using only selenium, selenium, Web driver. If you look what they say in Wikipedia, it says that selenium, like a state, is a tasting where publications framework that provides playback tool for functional tests . So what is selenium? Web driver? A Web driver is a weapon automation framework that lows you to execute your tests against different browsers like chrome in most of the cases. But you can execute your tastes not totally on from but against different browsers like Opara, like Internet Explorer, explorer or safari for ah Mozilla Firefox in the all kinds of brothers. The Web driver also enables you to use a programming language for creating the test cases in the distance scripts in the programming languages that we can use to create our tests with selling with driver are the popular languages Java Sea Sharpened Peep, Eitan, Pearl and Ruby. In most of the cases, people using Java and C sharp with selenium with driver, you don't need all of these programming languages. Of course, you just note you just need to know one on a basic level that you can write tests which exactly we're going to do in this in this course. So selenium with driver is a tool. It's a framework for automating their cases for automation tests. It's, Ah, you can out mate your tests on the different browsers against a against different operating systems, and you can use different programming languages toe automate your tests and you'll see when we start right our tests and writing coat that Actually, it's not that hard. It's not that difficult when you start to understand things. Basically, selenium with driver just allows us toe to create tastes, which are really similar with the what the user is doing on the brother. Basically, when a user comes to, though to a website, they click some things and they enter a password somewhere, they scroll here and find this button click on this button after that maybe they scrolled down, find another element and click here and that this is what we're going to do with selenium and with the programming language language that we're going to use. We're going toe simulate, simulate user experience. And what the user is going to be doing on the page and we're going toe have a final result , something that we expect from this test and depending on the actions and depending on what we have said in our assert, the taste is going toe pass or fail, depending on want what we expect in the end of the test, and I know that I know that this may sounds a little bit confusing to you right now, but when were we start to write our coat, you'll see these things are not so complicated. And so when you learn them step by step, you will fear fuel more confident in your skills. Later on, during this course else, you in the next lesson 36. Create First Project and Install Selenium: Hello and welcome to this video. I'm going to show you how to create your first project and how to reference selenium into your project. Basically, every time when you create a new project, you want to install selenium exactly for this project toe to reference the Selena into this specific project. So I have just opened my visuals to you. And the first thing that I want to do is click file New and Project because we want to create a new project. Okay, I'm clicking here on the console application dotnet framework, and the into the name I'm going to put selenium, selenium automation. You can do the location and stuff like that after that click. OK. And we have our project Selenium automation. Now, after we have the project created as I said, we need to reference selenium toe this project. So click on your solution up here on the top, right and right. Click and click. Manage new get package for solution. Now you'll see this market place from where you can install frameworks to your project. Now we don't see anything because it's generally clicked here on installed and we don't have anything installed for this project, but what we want is to click on, browse and search for selenium. Click enter. And the first thing that you're going to see is this selenium Web driver. Just make sure that you select the the most popular one with. Currently it's with $17 million. Just make sure that you don't click on the something down below like this one. For example, we want the selenium Web driver, which will be the 1st 1 with the most downloads. After that, click here on your project. It doesn't matter. Effect like you're on the name of the project or I click on Project Now is the same thing. And after that click Install. Now it tells me that it's going to make changes to my solution. And, uh, it's going to install selenium with driver version 3.1 for one. Okay, that's where that's what we want. Okay. Ah, selenium Web driver was installed. If I click here now on the references and on the arrow, I can see that the word drivers here So it was properly installed. And the there is one more thing that we need to install because we want to interact with the browser. We want toe our tests to make specific, specific interactions with the specific browser we need to install from driver to interact with the chrome browser. So here in the search box type chrome driver and again, we're going to be looking for the most popular $18 million selenium with driver from driver . Okay, Selenium Google from driver. That's what we want. Click here. Click on the project and click Install. Okay, and the chrome driver was successfully installed as well. If we click again on the reference and we click packages conflict, you'll see that we have installed two packages selenium, Web driver and selenium with driver dot chrome driver. That's exactly what we wanted. That's what we need In order to start start creating our automation tastes with selenium in C sharp. Now we can continue with the next lesson where we're going to start writing, coat and start writing automation tastes 37. Write Your First Automation Program: Hello and welcome to these video today. You're going to write your first automation program and it's going to be really simple. I'm going to show you how with really simple coat we're going toe out, mate. A program that is going toe Google and searching for something automatically. So the first thing Ah, uh, as you can see, I have opened our project here, Selenium automation that we created in the previous lesson and the I have zoomed this a little bit so you can see better. And the first thing that we won't do is to create a reference for our chrome browser and what we're going to do, because it's really useful. And I encourage you to do this every time when you write Coat is to write comments. Comments here in visual studio are written like this with two slashes, and after that, whatever you write is going to be considered as a comment. So it's not going to be executable coat, so we're going to type a comment here what we're going to do in the next line. So every time when they come back to this, we can see what is this about? It's really clear. Clear, but the program is doing. And if another person is reading your coat, this is really useful. So create create the reference for chrome browser. And the what did me that means is that we need to create a driver on and we're going to use home. So we're going to create a strong driver and we're doing things by I Whip Driver, however, is equal to New Prohm driver. And right now Ah, you can see that this line sure in this line here are red because we need to import something we need to import here. Selenium. So you can do this by ah clicking here on this lamp here and after that, using open Keidel Tellinem, Or you can just over on the red line here and click control and dot So hold control and dot and the after that you can just click your or press enter toe, select the 1st 1 and is going toe import this using selenium and the same with the chrome driver control and dot and we're importing the selenium not from so I'm going to do this again, But using the other metal show you so click the lamp here and click on the open. Create that Cellini in that room. And it's important this two lines off court for us so we can use the chrome driver Now. Now, the next thing that we want to do is to go to a certain page. So we're going to say go to Google Page. So in order to navigate toe a certain page we need to do this driver doth navigate dot groups that I get like that. Go to your l and we're putting the euro here. So we want to goto https gold dot com like that. So the next thing that we want after we're on the Google page is to write something on the the top that you can search in order to do that. First, let me show you what I mean. I mean to go right now, and, uh, what we want to do is you want to write something here in this search box in the In order to do that, we need to inspect so right, click on the on the browser and click Inspect. After that click on this arrow right here, which is for selecting element. So quickly right here. And after that click on this box that you want to find, Uh uh, Now we can see the it here in the dome, and, uh, we can basically find this element in our coat by different by different attributes. We can find it by name, for example, we can see that the name here is Q. It has class. So we confined by class. Usually you of your search for elements by i, d or expert. But in this case, we can use the name, for example. So the name is cute and we're going toe visuals to you and fight the elements. And we're going to say I whip elements. Search books is equal to driver dog find elements by name. And the name he's que Okay, we found the element which we're looking for this search bar right here where we can type. And now the next thing that we want to is to type something in this bar. So after we find it, we should type something in the search bar, okay. And how we're going to do this by search books dot synth keys, and you can tell by the name what we're going to do with the same keys were going to send something. We're going to type something in this element, so we're going to type. This is the best malformation course ever, ever. And we saved this now. And if we run this way, we should go to Google and type this into the search box. Let's see what happens now. In the next video, I'm going to show you how we were going to run our tests using an unit. But in the moment, we don't have it. So we're going to run this test just by clicking here on the start button. So buried me. We click start and to concede it automatically, it opens the browser. For me and types. This is the best automation course ever into the search books, and it's doing it very fast. And it didn't close the browser because we for forgot to do this. But we can see close the browser and we say driver dot Quit. Okay. And if if we run the program again, it opens the browser, it is going toe type. This is the best automation course ever. And after that is going toe close the brother by driver dot quit. So that's it, guys, this is This is really simple test. But just to show you how the automation works and we can really play with this stuff, for example, we can, As you can see, the browser is opening, not on the full screen. We can change that by ah typing. Cure the browser. Full scream, for example. Driver dotes manage, not window dot mocks mice. If we call this metal and we run the program now, after it opens the browser, it's going to make the browser in full screen. Okay, that happened really fast, but I guess you saw it first. It opened the browser after that, made it full screen. After that, it typed in the search box. This is the best thing. This is the best automation course ever, and it close to the browser again. This is really simple test, but it's just toe. Make your first steps into automation. I'm going to see you in the next lesson. 38. Use NUnit for Your Testing Automation Framework: Hello and welcome to this video today. I'm going to show you what is in unit and why do we need it in our tasting framework? So a unit is basically a testing framework. It is a framework for unit testing and for automation tasting. And we're going to use it in orderto have a structured framework where, how in which we can run the dates and to have a stack trace which they are passing guage tests are failing, and it's really cool, you see, in a second. So what we need to do right now is click on tools, extensions and updates, and we need to find in unity ist adopter. So we're not going to click here on installed, So we're going to click online and in the search box. We're going to type in unit, okay? And we're going to install this in unit three tests. Adopter it. Maybe four by the time you're watching this. But right now, this is the latest version for me, so I'm going to download this, Okay? It says that I need to restart my visuals to do. I'm going to do that. But first, let me also put a reference into our project. The next thing that we need that we need to do is click right click on our solution, managed to get packages. So I'm going to search for an unique and I'm going to install and units. Okay, click the project Install. After that, I'm going to install this in unit three tests adopter again. It may be that the doctor 234 by the time you're watching, this just is told in unit test adapter. Okay. And also the in unit consoled Runner install in your project. And now I'm going to restart my visual studio. OK, guys, Now, after we have installed in unit, then you concede here in the reference we have in unit framework. So what we want to do right now is to separate this coat in tow, three different methods because right now everything is in the main mated and we want to separate this a little bit. We're going to have one method which is only going toe open this page, second metal, which is going to execute our program and the third method which is going to close the program. So we're going out of the main metal, and we're writing our first method. So public void. This method is going to be called initialized and, uh, is going toe open the page for us. The next one is going to be called Execute this, and the 3rd 1 is going to be cold, close program or close tastes. Okay. And ah, in in the initialized metal. We want to put this gold to Google Page. So the first thing that you want to do is to create ah, this ah, Ira driver to make it a global variable. So I'm going to put it out of the main method. Okay? Now, in the initialize meant that I want to put this goto Google page. So where I'm cutting this and putting it here, Okay, in the executes on the test. Ali, just call this execute test. I'm going to put these steps which are basically artists, and in the close, the browser. I'm going to close test. I'm going to put this step which is going to close the browser, clean this white space here. Okay. And now we have this global variable, which is the driver. After that, we have the initialized metals which have the court for going toe the google dot com page. After that, we have this execute test method, which is all the steps toe toe, make the driver being make the browser bigger than full screen after it finds the element and sent some it type something into the element. After that, we have this metal close test which is going to close a close the browser. So what we want to do right now is to click on the test after that windows and after that, this explorer and is going toe open this text taste explorer right shirt, which is going toe to show us all the tests that were running in our program. I'm going toe zoom out a little bit so we can see a little bit more off the court. I hope that's OK for you and right now, how this tastes. Explorer is going to know what it has to run. Basically, it's empty because we don't have any tests right now we have this right here, which is good for start, But how these tests Explorer is going to know what should it run should it run this? Think first went up after that this method And after that, this metal, basically, it doesn't know from where to start and what it should do. In order to do this, we're going to use the n units that we have just installed. And we're going to add on a tribute before each test that we want toe execute. And before this execute tests method, we're going to add attributes, which is called tests. And, uh, right now you freak over over the test and click control and dot you'll see that we need toe at this reference using end unit dot framework, basically just the same thing that we did with the selenium. And with all the other frameworks that we want to use in the project, we need to add the using. So we're we just added the end unit, okay? And now you see that we have something here. We have the selenium automation, which is the our project Selena Automation program. Okay, executive taste. This is our method right here. And, uh, if we run this test right now, this is how you run your tests. This is using a unit to run your test. We're using J unit in Java bit, which is basically the same thing here we're using in unit with C sharp. Okay. And, uh, if I right click on the test and click around selected dates, this test is going to fail. I'm going to explain you why in a second, and this taste felt because we don't have a tribute here in the initialized metal, and the program basically starts from here, which is basically starting from the middle of the program. We cannot there in this coat before we have, uh, because before we get to the page, actually, so there two more attributes that we're using when we're testing. When you're doing automation tasting, we use this attributes called Set Up, and we also use gear down. Okay, so I'm going to explain that what is set up and what is tear down. So the set up is used only in the beginning off your testing framework. So it's used once, and it's executed firstly by your program. So when our program sees this set up is going to come here, execute whatever it is right here after that is going to go to the test is going to execute while they were there is in the test and it's going toe. Finally execute the tear down. So the set up is only the beginning when your start, your program, the tear down is only in the end, when you when you finish your program and in the middle there is this test. Actually, Butte, we can have one set up multiple tests, attributes if we kept multiple tits and after that, one year down to close the program. If we run the taste right now, first is going to look for the set up attribute going toe to find the driver is going toe goto the page. Now it's looking for the taste metal. It's executing everything in the best method, and after that it's looking for the tear down and it's closing the browser. This is how it's properly working and the tests is passing. So this is how you're creating testing automation framework, and this is how you run your tests using and unit. I hope that was useful. I will see you in the next lesson 39. Assert in Selenium Get Page Title and Assert the Result: Hello, guys. And welcome to this video. They I'm going to teach you how to use, assert in selenium and assert. Basically, what it means is that in the end of each test, you want to kill some some kind of verification. You have actual result and expected result, and you want to verify that the actual result is the same, like the expected result, Or, in the other words, you want very fight that this test is correct in its passing. So what we're going to assert now or very fight is the page title off the Google page. So the page title is, uh, this name right here on the top left corner where it is Google. This is the page title. So what we're going to do in our test, we're going to create two variables. Actual results and expected results and the are expected result will be this page title. And we're going to get the title from the browser, and we're going to verify that the expect result is the same, like the actual result. Now, this may sound a little bit confusing right now, but you will see in a second what I mean So let's start coding First, we're going to create two variables source drink actual results and drink expected results . And the expected result will be equal to Google. Okay, because again, our page title is Google. That's why I want our expected results to be Gould. Okay, we have created the two variables, and what we want to do now is in our test. You want to get this page title from the browser and how we're going to do this? We're going to say that, uh, the actual results is equal to driver dot typo. Okay, so right now this driver dot title is getting the title from the browser in the title we're looking for is Google. So this Google title is going to be so the actual result will be equal to Google right now . The actual result and the expected result should be the same because they're both Google. Okay, so let me write a comment here, get the page tyto, and next thing that we want to do is tow assert. So they're a couple of different ways we can use the cert. I'm going to show you right now how I like to do it so we can use this key worth assert dot And after the dot you see all the metals that you can use inside of these assert class so we can use contains. Which means that the variable that we're gonna be using should contain something equals fail falls. We can assert that Ah, it's aside from east, empty is false is true. You can see that there a lot, a lot off metal that we can choose from we're going to use are equal because we're looking for two variables which should be equal. So we're saying certain are equal and the here, we need to pass the two variables that we're going to assert. So we're saying actual results and expected results. So what we did let me explain one more time. First, we created two variables actual results and expected results. We said, Ah, that expected result is Gul. After that, in our test method, we get the page title and said that the actual result is going to be equal to the page title which is Google. And after that we're asserting that the actual result is equal toe expected result. So right now, if we run the test. It should pass because the expected result is Google and the actual result is also go. So it comes to the brother. Now it's going to maximize to make it full screen cap happened really fast and after that it asserts that the actual result is equal is equal to the expected result and what I want to teach you. And I think it's very important every time when you create a taste and you want to verify that this test is correct and it's working fine, you don't want toe. Just see that the test is passing. You also want to see that the taste will fail when the data is not correct. For example, if I change the expected result here, Togo go onto three and I run the test again. I want to see that the test will fail if now the test is passing. This is not good that that means that the taste is not working as expected. But the test right now is failing, which is great and you can see in the stock trades right here. That expected string Clint. It's six but was actually nine. It's expecting six characters in the string, but they're nine and this is the important think right here. It says. What is the expected result and what is the actual results? So expect it is Google, but waas Google onto three. That means that your tests is failing correctly, if that makes sense to you. And if I change this to Google one more time and run the test now, the taste should best because this is the correct data. And every time when you're creating a test to make sure that your taste is failing correctly with the incorrect data and after that, make sure that the test is passing with the correct date. I'm not just passing with the correct data because it happened to me so many, so much times to so many times to see this that somebody is creating in their passing and they're just forgetting about the states. But actually the testes passing with all kinds of data. So it's not a correct you need to see that it's also failing correctly. Okay, that is one way to assert your taste there. There is one more way that we can use, which is assert that after that we're seeing serve that equals and we're saying actual results expected result. This will also work. Let me just come in this for a second. This assert will also work. But these assert death is giving us a bull. Um, which means that it's going to return true off or false. And if we're on the test and the taste is pacing, you'll know you'll not see the difference. Because the testes pacing canned, everything is working fine, just like now. But if we have ah, wrong data and the test is failing, its not going toe tell you why exactly this test is failing is going toe return. That expected result was false. You can see what Here you can see it sure expect the true, but the actual result was false, actually. And it's not telling you what exactly is the problem, and you don't really know how to fix it. You need toe start debugging canto di freely into that the test, and you can spend a lot of time toe understand? Where exactly is the problem and fix it? But, uh, if you're using this assert like I showed you in a second, it's goingto tell you exactly where the problem is going to return, a strength which is not the expected stream that we're looking for. And it's going to say you exactly where the problem is. Just like this one expected Google, but was Google onto three. So I suggest using this one. Let me show you again that this test is working. If we place the correct information and thrown the test again, okay? The tasty spacing and the everything is working is expected. So this is how we're going to use asserts in our tests. I hope this tutorial was useful. Now let's continue with the next one. 40. Element Selectors ID, ClassName, XPath: Hello, guys. In this tutorial, we're going to create a simple automation program which is logging into Amazon and let me show you what I mean. We're going to create a program which is going toe amazon dot com is going to click here, so it's going to simulate user actions after that is going to type some fake email here. Ah, for example, after that is going to click. Continue. Okay, that email exists so they're good type, something different, like this. Click continue. And after that we're going to assert that this there was a problem. Attack appears on the page, and we're going to create a simple program which is going to do this and going step by step , I'm going to explain how you can find the elements on the page. Ah, we're going to use class name or I D and step by step. You're going to understand how to locate elements how to use them called create variables for them and how to click on the elements and help to assert Indian. So let's continue right now. Let's go toe Amazon again. Amazon dot co. Okay, this is our starting point. Let's go to the courts and I'm going toe delete what we don't need from here. Case I'm going to delete this. We still want the brother to be on full screen, so I will leave this year. Heckscher result in the expected results. We don't, uh, needs for now. Okay, like this on the page that we're going to is no longer going to be Googled That comes. I'm going to change this to amazon dot com. Okay, with you have the driver initialized here. After that, we're going to amazon dot com. And after that, we can start making the steps that we want to execute in our tests. So let me create one comment here with the whip. Elements were going to have them all here. So, uh, let's go to Amazon right now and see what we want to do. The first thing that we want to do is to click here on this sign in Bhutan right here. It's not actually a bottle. Let's see what it is by inspecting. So right click. Inspect again. Let me show you right. Click on the element and inspect after that, click on this arrow right here and click on the element that you want to Ah, to inspect and to see the the I. D or the class name or the name off that element. But if you can see, there is a span here with line one and span with lying to. So I don't want any of these because the our program can be confused by these. And what I want toe find is this. Think above them. So if you can see there is a spot right here. Ah, span. Right here. Span right here. So line 1234 And above them is the whole a a crif a a drift back. So what I want to locate here is the whole tack. So ah, if if you want toe locate this element first thing that we're looking for some I d i d is the best way to to locate the element. You can also use an expat class name if it is, for example, this panel right here. Have class This one Have a class also, but we won't locate this attack. And this attack has, um, I d you can see right here i d is equal toe enough link account list and we're going to take this. I d Okay, And we're going to create a new element into our coat with this I d so, uh, whip elements and you're going to say I went Oops. No driver. I whip elements. Sign in is equal to driver dot Find elements by i d. And the idea is equal to this right here. Okay, So, driver for find element by i d. And we're passing the i d here. Que After that, uh, we can Kif here Variations, for example. And we're going to say, son, in both click, you can tell by the name what this is going to do is going to click on the element. Let's see if this is working. So right, Click. You can right click here in the project, or you can right click here on the test and run selected dates or run tastes from here. It's basically the same thing. Now it should open amazon dot com. Okay, so far, so good. Making the browser full screen. And it happened really fast, But you can see that it clicked on the on what we wanted, so ah, if you want to see its lower. We can debug this. So we putting break break point right here, right click and the book tests. So that way we can see slowly what it's happening. Step by step. Okay, it's going. It's going on. The page now is going to stop the break point. So if we click here on the step over, or if 10 it's going to the next tip and we can see that it have clicked on the bottom it now it's waiting for the next step that we want to do here. Okay, let's stop the debugging and remove the break point. So what we want to do right now after we click here, it's we want write something in this email field. So first thing that you want to do is to locate this element. So right click, Inspect. Click on the arrow, click on the element and the let's see what we have here. Okay, we have ah input type, which is email, and it is an I D, which is perfect. As I said, we want to use I D in the perfect send scenario if it has 90. If if you're working in a real project and the element doesn't have 90. You can always talk to the developer to the front end developer and say, Hey, can you please put an I d to this element is going to be really useful for me so I can locate it went up in most of the cases. You'll have no problems at all. Okay, so let's take this element I d which is up email, okay? And we're going to create on element here, so I whip element. Ah, What was that? Email field? OK, E mail. Filthy secret with driver dot find elements by i d and the I d will be What we cope it up. Email. Okay, So the after we have located the element the next thing that we want to do this too toe type something into this email field. So Ah, let's say email field dot ST Keys and what we want toe hopes What we want to put right here is some fake email. So people, people don't a BV dot BG, for example. Ah, okay. And the after that, we want to click continue. So the next step will be to locate this s o. We have typed here people pew at MTV dot BG And we want to click. Continue right now. So right click Inspect to locate this element and you'll see that this it has, um I d continue, which is great for us. We're going to create on Element again. I whipped elements. Continue. Bottom is equal to driver dot Find element by i d and the i d will be Continue. Okay. So what we want to do with this element to you want to click on this element? So continue bottom north, click. Okay, so our program should come here type pupil at abc dot BG and click Continue. Let's see if it were If it's working so far, so run tests is going to happen really fast. Should open Amazon right now. Make the brother full screen. Click on the sign in. Okay, Let's see what happens. So I'm going to put some break points here and the book. This is what happens all the time when you work. When you're writing code. So don't be afraid to d book your program to see what is wrong. You're seeing it right now. Life. Hell, I would see what is wrong. So what is wrong right here. Ihsaa cannot find this element. No such element Exception email field. OK, we're seeing driver. Don't find element by i d ep e mail. Okay, let's see what wrong and why it cannot find this element if we click here, Let's see what is wrong with this element. Okay, I have found where the problem is. The problem is that the program is reading long, but line by line. And what I did was really stupid, actually, because it comes here, reads for this line after that, reads for this line. But it cannot find this element because it first it has to click here and after that should find the email. Ah, because right now it's here, and it's looking for these email Tuck and it's not here yet because for first it has to click your And after that look for this email. So what we're going to do, we're going to remove these comments right here, and we're going to do this step by step. So first, find the sign in bottom after that signed in, click Okay. After that, I find the element field and after that same keys to that element field. Okay, and after that to find the continue button and click on the continue button so it should be like this. Find the signing bottom click on the signing, but, um, find the element filled by I d. After that same keys to the element field. After that finding, click continue button and click on it. So let's try like this, and this happens really often. Guys, just start working and you'll see you'll encounter encounter problems seem programming that's that happens all the time, and you just solved the problems that is basically coding. So don't be afraid toe fail toe de book your program and to learn from everything that you're doing. So now it's working. Fine. Eso it. It goes to the to this page, writes the Pew Pew and clicks continue. So what we want to do right now is to locate this element right here that says there is a problem. We can see that there's a age four with class name. We're goingto make this element a za variable in our program, and we're going to assert that Ah, it has the sticks. There was a problem. So basically, we're going to assert that this email is not correct. And we were not able to log in to Amazon. So how we're going to do this? Let's create an element with this class name. I whipped elements. Their message is equal to driver dot find elements by class name. It's really common to use class name as well. Okay, we found the element. After that, we want toe take the text from this element. So error message fixed. Okay. And, uh, we're going to create a variable. So there, message fixed is equal to Okay, We're going to create a string variable error message text which is going toe going toe. Take the text from this element. The text is, as you can see, there was a problem. What we want to do right now is to create another variable. Okay, this will be actual error message. Text in this would be expected error may. Siege fixed is equal to there was a problem. Okay. And now we're going toe Assert that both of them are equal. So assert equal actual message texts and expected error. Message, Text. Uh, if we run this test right now, let's see what happens now. It should make the browser full screen. Click on the sign in. Okay, this happened really, really fast. So Ah, let's put the brink point here and the book to see what is happening. Step by step. The break point is where you're pro. Your program will stop, and you need to step over the step to see what happens. So the steps before the break point point will be executed right now. Okay. So if I click here, step over or if 10. And go to the browser again. Okay. I can see the time on the page right now. So it happened really fast. Now it here it have typed pew pew at a BV that BG, which is incorrect email and it's clicking. Continue. And the, uh if we over here over our variables actual Aramis, it's You can see what is the the value off this variable? So it's there was a pro. There was a problem you can see right here. And the expected air message is there was a problem. So they're both the same that if we step over again, this test should pass. Okay, driver quit. And the test is passing. Just like we're expecting. So that was our little program. Uh, let me explain one more time what we did. So first we have the driver reference from before. We didn't change that. We changed the page. We're going to So goto Amazon Page should be the comment here. Um, we're going to the euro. We just put the change The Ural here to amazon dot com. Ah, the driver is still going to full screen with even changed that on the we created a Web element signing. So we find the element by i d. Right here. And after that, we say the name of the elements don't click. Click this specific element. After that, we're finding the email field soul. Let me do it step by step. So first we find the element here. The signing element Is this right here? After that, we click on the sign in Element. So click here. After that, we find the email field by I d. So this one right here? Ah, we sent Keyes pupil at a BV. That BG So we're sending this drink into the into here, so we're typing gaby fuel fuel at abc dot BG. The next step is toe. Locate this element. Continue button by I d solve these boots on right here. After that, we click the bottom so we click the bottom. And after that, we ah, created on element for this error message right here. And we find it by class named this time because he doesn't have an i. D you have a class name we created after that two variables. Make sure Aramis just text and we're getting the text from this weapon elements that we have created. As you can see this element have a text. There was a problem. We're getting this text from here from this line of court and we're giving it to this variable actual error message text. After that, create another variable expected error message to extent we make this drink, there was a problem. And after that, we just assert assert that are equal. So what we put inside of these metals Ah, it's going toe check if both of these variables are equal. So we're saying assert that actual error message text is equal toe expected error message text and after we run the test, it's all passing because this there was a problem text is the same, like this takes right here. That's what we wanted to do in our tests. And that's why the taste is passing. So that was really simple program that we're automating the Logan into the Amazon, actually know the logging. But we're automating a problem which verifies that we're not able to log in with incorrect email address. So, uh, that's how we locate elements by i d buy class name you're going to be using Sometimes expert up. You can go toe element, right click and ah, copy. And after that copy expert And if you paste it here, you will see that this is the expert of the element into you can find elements by experts as well. So driver dot find element by and you'll say here, expert, you're going too fast. This expat right here, just like we did with the I d. And, uh, with the with the class name. So, uh, sometimes you're going to be using experts. Sometimes you're going abusing class name. Sometimes I d um, what I suggest is if you have an I d. Always use an idea. It's, ah, the most unique way. And sometimes if you're using a name or a class name. The your program can be confused if they're a couple off elements with this name. But the the idea is really unique for the specific elements. Or try to use I d when you can. I hope this story was useful. Now let's continue with the next one. 41. Facebook Automation Program: Hello, guys. And welcome to these video. In this video, you're going to learn how to create an automation program which is going to create user in Facebook. So let me show you what I mean. We were going to rot, writes a program which is automatically going toe. Come to this. Eurail facebook dot com. It's goto. Feel these fields right here. First name, last name, email, address, email address Again. Password is going to select birthday, uh, month date in a year after that is going toe klik, male or female, and it's going to creak. Sign up. And in the end of this video, you're going to know exactly how to do this, how to read the court and how toe to create this automatic program. So without wasting any more time, let's start with the lesson. So let me right. Click your and inspect on this page. I'm going to click here on this arrow after that, and I'm going to select this first field. So, um, you fellow closer, I will see that this field heaven i d which is perfect for us and what we want to do now in in our Kotis, we want to create an element for these i d This is the first name field, so I'm going to say all right with elements First name is equal to driver dot Find elements by I deep because you're going to find this element by idea. And I'm going to say that the idea is this right here. You, uh, underscore zero underscore m. That's pretty weird. I d but ah, that's what they put in the HTML. So we're going to use that. So after I have found this element first name, what they want to do is I want to type something here. So first name is going to be, for example, John. Okay, so I'm going toe. Uh, say here. First name ST Keys, and I won't type John. Okay, so the first step is ready. We have found this element, and we have to typed John into the element. The second step is to find the last name input field. So it also have an I d. Which is great. Also a weird looking I d. But we can work with that. So, uh, I'm going to say I wept. Element last name is equal to driver dot find elements by I deep. And the idea is going to be this weird idea. Okay. The idea issue zero and all. Yes, this is the one. And after that, we're saying, last name the same keys. What? We want to type here. We want to type week, John week, Because why not? Okay, so we're going to see and keys John week. OK, we kissed the last name. Okay, The next tip he's toe find the e mail. Ah, input field. So, uh, again, we're going to find it by i d. And this is the i. D. You underscore Zero on their score air our soul. We will say I whip element. This will be email. So I'm going to say e mail is equal to driver. Find elements by i d. And the idea is this one anti the male. Want type Jurong week at gmail dot com. Okay. And tough. You can see that. After I wrote this email into this field, this second email field popped up, so we'll have toe re enter our email address. So the thing is still the first email field. So, uh, what I want to say here is e mail dot Sent Keyes. Let me copy this email. I want to send this email in tow. This filth. Okay, the next thing that we have to do is tow. Find the second email field again. We're going to do these by i d So we're going to see here. I whipped element re enter email is equal to driver. Don't find elements by i d and the i d Is this right here? And I want toe re enter email synth keys and I'm going to sense the same email like the previous one, because we want to reenter the same email address. Right. Okay. We have reentered the email address here and now we want to type a password into the password field. So what we have to do first is to locate this element and the these elements also here on the I D. Which is great. We're going toe. Find this element by saying I wipe element password is equal to driver. Dotes find element by i d. This is the idea we're looking for and into these fields. I want type. For example, Mari Awesome blast works. Okay, let me put this year my boss Worth. Okay, now, the next thing that we have to do is we have to click here on this drop down, and we have to select a value from this drop down. Now, here it gets a little bit more interesting, because this is more difficult to do, because first, we have to select this growth down. And after that that we have to select one of these months, for example, I want to select the December. I have to click your first, and I have to click the last value from this drop down list. So how we're going to do this? First of all, I want you to do something. I want you to right click here on your solution. So right, click and click. Manage no get packages. And I want you to ah, search for selenium. And I want you to install this second thing right here. Selenium dot Support. Just click on your project and click install. I hear it is told right now, so I don't have the option to install because I have it already. And after that, what I want you to do is to import this open Kate selenium. Um open. Curious selenium don't support Doc. You I so type on the top of the page using open k dot selenium, not support dot You I just type this on the top of your page. Okay, So the next thing that I'm going to do, I want to locate this element right here. The the month element. So Ah, I'm clicking here on the arrow. I'm clicking on this element and I can see that this element even I d which is perfect for us. The idea this month. So I'm going to visuals to you, and I'm going to create on element I whip Elements Month is equal toe driver dot front element by i d in the i d. This month. Okay. So far, so good. In order to select on element inside inside off a drop down, we're going to use something called Select Element and just bear with me for now. I'm going to say var select element month is equal to new select element. And I'm going to say month here. And if you don't have this selenium dot support, don't you I using on the top, you'll see that the select element will be with a red underline. So in order to use it the select element, we have to import the selenium support. So first of all, install the selenium support, like I showed you from the new get baggage. And after that, we have toe import this framework. So using open curious selenium don't support on the top of the class. And after that, we can use these select element and what we're going to do by this, you can say from the name, we're going to select a new element from this list. So I have created a variable month. Ah, I have created actually this Web element month which were fighting by I D. And we're five finding this element. So, um, after we click here, we need to select a value from this list. And if we scroll down so we see that we have a select here and, uh, beneath these select, we have multiple options. So we have very zero for months, which we don't need, we hear. And from one, they're starting toe count the actual months. So value number one is equal to January. Very to is February very 3 March very four is April and so on and so forth. And the we're going to say right now I want you to select uh, element from this drop down list. Which element value is equal to four, for example. And it's going to select April because very for is April. As you can see right here, let me show you what how it looks from the court perspective. So we have the element here the month element. After that, we're saying var Select Elements Month is equal to new select element and we're passing them on here. We're creating an object. And after that we want to say select elements month dots select by value Because, like I showed you this elements here values we're going to say select by value and the for example, if I want to select the first element, I'm going to save 81. This will be January. Ah, If I want toe select the December, for example, I want to say 12th. So this is going toe select December. Okay, very 1 to 12 and 12. Sequel to December. So right now is going toe. Come here and it's going to click on birthday is going to click on December because this is the value of 12. Okay, the next thing that we want to do is toe do the same with the day. Okay? We did on this thing with a month now, we want toe click on day and to want to select a day from here. So, uh, first we want to find the the main element, the day element. And as we can see if you haven't, I d which is day. So this is perfect for us. We're coming here. Let me copy this month elements I'm going to paste here, and I'm going to say that this is a day i d is equal toe day. The select element is going to be called select element. They and I'm going to pass here. They okay, And here I'm seeing select, uh, select element. They don't select Velo, which they I want to select seven, for example. Okay, seventh off December. After that, we won't do the same with the the ear, so I'm going to click here on the year. The I d is year perfect for us. I'm going to copy this, going to paste it one more time. This is going to be year. The I d is going to be year here. We want to say select elements you're is equal to new select element And we're passing deer here and here. I want to say select element year dot Select by velo 1 1990 No, let's say 2000 and five, for example. Okay, it's going to click here Is going to select 2000 and five. Okay, uh, the next thing that we want to do, if you want to click female male or our custom let's see for example, this male bottom it here's an I d Perfect. So we're going to say I whip element. Oops. I with a man. Uh, what is thes gender bottom is equal to driver. Don't find elements by idea. And the idea is this thing right here. And I want to gender bottom dot Not clear click. I want to click this bad boy. Okay, after that, the last tip, actually, almost the last step is to click the sign up litem. Okay. It also have on i d. So I'm going to say I whipped elements. This is signed. Bottom is equal toe driver. The find element by I D. Yeah, he is this and I want toe Click this button source. Sign up bottom dot Click. Okay, we have all the steps in order to clear to create a user right now. Okay, So after we did all of these, the next thing that's going to happen after we click sign up. Okay. Two main users have this email listed are spending actually the same ill email is not going to work. So let me put something like this, Okay. Excuse me for this. That's what happens when you try. First time. There's always something that you need to change very rare that things happen from the first time and your tests are passing from the first time. So let me try with this email and ah, I'm clicking. Inspect in. If I click sign up, it may change the date here. If I click sign up now. And because this is a fake user and fake email, we're going to see this error message. Sorry, we're not able to process your registration. And this will be our assert. We want Verify that we see this message because your test is not actually a test if it's not tasting anything and if we don't have a assert in the end. Actually, this taste is not doing anything, so it's useless. And yet we want to assert something. For example, if we're creating a really user user, we want to verify that in the end of the test, that is going to say your account was created successfully, for example. But in our case, we're creating a fake user, and we're going to verify that we're not ableto make this rig registration. So we're going to assert that we see this there a message on the screen. Sorry, we're not able to process your registration. And if we inspect this element, we are going to see that it's a There is a thief inside off another dif inside of a form and these different class name and the text is sort of your no table toe process your registration. Okay, so well, we need to find this element first, and we're going to use some experts in this case, and, uh, you can write your own expat. Probably. I'm going to create another video about this, but right now, just for the for the pope purpose off making these videos as clear as possible as possible and not so complicated. We're just going to right click, copy and copy. Expect this is going to copy the expect for this element. Uh, we're going toe Goto visual studio, and we're going to create this element, so I whip element. All right, here. No, our message is equal to driver does find elements by this time we're using as expect. So type expert. I'm going toe paste the expat that I cope it so right click paste. This is the expect that is going toe to find this element right here. This def that have the text. Sorry, we're not able to process your registration, so we cannot ah, used these. Uh, we have to escape this symbol right here. So in front of that, I'm going to put a slash and here I'm going to put slash also. And this will be our ex Speth, and our assert is going to look like this. Assert that error message, that text because we want to take the text from this element that contains. We want to, uh, copy this text from here. Sorry. We're not able to process your registrations. I'm copy this. Coping this text. You can copy it from here, and I'm going toe paste it here. So what we're doing right now, we're asserting that the error message the element that we have found by expert have a text which contains story were not able to process your registration. Basically, where we're asserting that this text is on the screen and the were not able to make registration with this user name. And now the moment off truth. If we run this test right, click your and run tits. Or you can click here on the exact taste. Right? Click and run selected tests. Let's see what happens. It's going to open the brother first. After that, it should goto our euro. Actually, we didn't change the Ural name genius. Okay. Ah, into the initialized method, we need to say go toe facebook dot com. Go to let me cancel this test. Okay. The initialize metal. Now we have got Facebook Page driver that navigate, go to euro facebook dot com And if we run the test right now, it should open the brother making a full screen. After that, go to the euro Facebook dot com. No, actually, first is going to Facebook after that is going to make a full screen and the taste is failing. Okay, Like I said, don't expect your tits to run from the first time. Actually, most of the times you're going to write one line of code you're going to taste. This fits working. After that, you're going to line type to write the second find. Of course, you're going to test if if it's working right. The third wine tasted fourth line tasted and so on and so forth. It's very rare that you were going to type your whole program and you're going to taste it in the end. As you can see, we have written a lot of things and it will be, Ah, miracle if this thing was working from the first time. So let's see, what is the problem was the problem right now, This is also good for you because you can see in real time how I'm doing it. If I see a problem, how I'm going toe to trace the problem and to see how to resolve it. So we have a message here. Okay. Ah, no element. Not interact herbal except exception. Okay, element not intractable. Let's see which is this element? The email field? OK, let's see if we have the correct i d. Let's go to Facebook again. And third. Let's see what's wrong with this email field. Okay, The I d Is you under slash O on their slash Underscore, actually. T Let's see, what we have here are email issue. Oh Air. So this is wrong. That's why you cannot You cannot find the email because the X the the i d that we we gave it. It's wrong. It's check one more time the email fueled Hey, if I d you ot okay, lets go and change this thing right here u o t. Let's see the re enter. Let's see the re enter email field. Okay, let me check that one as well. This is you o w what cave here. Re enter email. I don't know what we have been looking for, but we have all the wrong ideas here. K passwords. Ah, password thes you. Oh, why? Okay. A month month this month. Okay. At least that time is correct. So let me see. First name. He's Ah you. 00 lost name. He's you O que e mail. Okay, your tea. OK, your D on now? They should be fine. Re email. Um, re enter email is Ugh. Ow! Reenter email issue. Old double. Okay, everything looks fine. Now let's run them again. This thing happens all the time. So when whenever something is failing, just don't be afraid to to look into it. Look in the stack. Trace What? ISS Failing What? Why? It's failing and so in and so forth. No, no, it typed a lot of things. Now let's see. What is the problem right now? Okay. Unable to locate elements? Okay. Method sees this little Tokyo U K let's click here. And, um, it's not able to find the gender bottom. Let's see, was the problem here. We want to click on the male bottom, which is an I d off you 07 we have here. You owe seven, and, uh, I have no idea Why is not able to click the element? No such element Kate's trying to find by CSS selector. That's not how we're looking for this element. We want to find this element by I d. Okay. In this case, we're going to the book. Let me put Ah, break point your break point here and I'm going to say I'm going to click Right Click and the book. This is very useful for you because you're seeing real time How I'm handling this situation . Whenever something is failing, you need to know how to troubleshoot how to be book and help to see what's wrong. OK, you can see it was very fast. This is our program right now. So, uh, if you have type in the first name last name, email re enter email password. It has selected the birthday December 7th. Okay. And the it stopped right here. Now it should select the the year 2000 and five. So if I click here on the step over or if 10 and I come here, I will see that 8 2005 was selected. Okay, which is what we were expecting. Great. Now I I wept Element Gender bottom driver Front element by i d. This is No. This should not be No. Let me click. Step over. Okay. No such element exception. This is very strange. Let's see now the the element again. I'm going to click on the arrow, click on the element and inspect the element. The idea is you owe a okay. What we have here gender bottom, find element. But I d you 07 But why? It cannot find the element because the idea is different. Let's try to change this to you. Oh, a Okay, let me remove the break point. Let me close this and start the test again. So you check the element. You check the value of the element. Check the I d. Check the exactly how we're finding it, how you're interacting with the element. And eventually you're going to find the problem. Okay. Now, ah, it's feeling on the next step so it cannot click on the sign in Button Lets the book again . Right? Click D book. At least this time it clicked on the gender bottom. So we have a progress now. He's going to stop before it's clicking on the before speaking on the signing button. So it's inspect right now. Sign up. Actually, I d is equal to you. 0 15 What do we have here? You all 13. So obviously these ideas are changing, which is not good. Facebook should not be using ideas like this. I d should be something which is unique, which is not changing. So probably we should have find these elements by experts. We probably should create our own expert, which is always going to locate this element. And it's not going to change. But usually I D is something that you're using because it's unique. No two elements should should have the same i d. And the idea should not be changing. Um, on Lee unless there is some kind of index changing, for example, element want want 2345 Every time when you're looking, each changing the index often element but not let me not confuse you right now. We're going to put this idea Ah, you owe 15 toe our sign up, Botham, and we're going to run the test again on ideas should not be changing this something that the front end developers off Facebook probably should have them a little bit. Uh huh. Different. Okay, we're going to live like this. The gender button with your a deep and sign a boat on your 15 different noticed again, you'll actually see that the test is so fast that it's going to fail now for the wrong reason. Now, after the clicking the sign up button, I'm going to use a threat sleep, which means that I'm going to say to the website, Oops, Uh, wait two seconds after you click the sign on the bottom because right now is going to clean the sign the bottom. And it's going to try to assert that this text is on the page immediately after that and after we click to sign a button usually takes a couple off, probably cup of milliseconds or not even one second toe toe. Load the page. But just to be sure, we're going to use the sleep on. In order to use this, you you need to import system, not threatening. So, uh, after clicking the sign of bottom, we're goingto say the browser sleep for two seconds. This is 2000 milliseconds, and after that is going to assert because right now it's trying toe. Look for these text immediately, and it is going to feel if it not find it immediately. And now, as you can see the testes passing and that's how you create your automation tastes, so to create a user, a fake user in Facebook and to assert in the end of the test that we're not ableto log in to create actually this fake user. So basically, we're certain that we see this text on the page. I hope that this tutorial was useful. And if you liked the video, please don't Don't forget to leave me a review, because it's really important for me to grow and toe teach more people. So thank you so much for watching how? See you in the next one. 42. First Steps and Installing Postman: Hello and welcome to the first lesson off this postman course. And in this first video, we're going to talk about what this postman and what we're using it for. And after that, we're going to install Postman on our computers. So what is Postman? Both Monk is on a P I client, which is used to develop, test and document AP ICE, and it started in 2000 and 12. But right now it's one of the most popular tools for a P I tasting and the A P I stands for application programming interface, which allows software applications to communicate with each other via AP. I course, basically a P I coast ensured that there is communication between software applications and we need to test this communication to ensure that the information is the expected information and everything is correct. And we're going to test these AP I calls with postman. Now let's go and install Bulls Month on our computer. We're going to write post month in Google, and we're going to click on the first link. So get porton, get postman dot com is the website. After that, you're going toe end up here on that page and we're going to click here on the product. And after that on post month and after that, we're going to click on Download the APP, and we'll end appear where we're going toe, click, download and download 64 bits if we're using windows. If not, you can doll it loaded for Mark always from here. But I'm using windows, so I'm going to click Windows 64 and I have already already downloaded the application. So I'm going to cancel that and I I'm going toe started from my desktop. We're going to wait for a couple of seconds to install what is needed. So I ended appear, But it may ask you to make on account. So if you don't hear from you account just put your email, your user name and password, and after that, you you will end up here, just close this window. And, uh, this is this is it the installation process? It's really easy. And now we're going to talk about everything that we see here on our screen 43. Understand Postman UI: Hello and welcome to the second lesson off post mandatory ALS. Today we're going to talk about the user interface off postmen and basically water all of these buttons here in on our screen doing so if you don't have any experience with postman , don't worry. We'll go really easy, step by step. Ah, this will be for complete beginners. And by the end of this course, you you will be able to do a lot of things. I'm sure. So let's start right now by, um, by making sections here in Postman Postman is made off hither, off sidebar and builder and basically are hither is just the top off the application right here. Right. This is our Heather on the top here on the left side who have sidebar, which is this thing right here. And, uh here in the the middle. This big section is called builder, and most of the things we're gonna be doing and looking here in the builder. But I want you to understand that we have three sections header sidebar and builder and the Let's go now 11 by one. And see what we have in the hither in the sidebar and in the builder in the header. We have these buttons right here on the top, left from the new button, we can create the and your request new documentation collection, your environment and basically you create. Ah, you create your requests from here because this is, uh, most of the times we're going to create requests and collections. Ah, you have this import bottom from which you can import files. This runner this open new top four small window or our runner window. You have this? Ah, button right here. From which you can select your workspace. If you have a couple for expenses, we're going to have only one for now. Or you can create a new workspace on the top, Right? They have these buttons where we can capture ap requests you have settings, you can notifications. And if you want to a break here, you have this bottom. But we're going to use the the simple postman. We're not going to pay for ending right now. And this is what you have in the heather. Also, you have ah, on the top left here, file new view and help buttons. Menus, actually. And here in the help menu youth. You can check the documentation off. Post manos would give her the Twitter and the support. So these can be pretty useful for you here on the left. On the sidebar, we're gonna be using the history and the collection tops. Now, in collections, you'll see all the collections that we're going to create in the next videos and the history we're going to C r a p I cause that we have been doing in our history, Um, you can the drag these to make it bigger or smaller. And also, if you're using smaller screens here in the view menu, you have the option toe toggle the sidebar so you can ah, you can toggle the sidebar from here If you're using a smaller screen and the of course, you can ah, make the size that it looks better for you. And this big section right here in the middle is the builder, and most of the work is going to be done here in the builder. We're creating our requests here in the builder, and we're checking the response from here. And if you want to go to see the the request in the response side by side, you can click on view and toggle to pain view, and that way you have the request on the left. In the response on the site, you have them side by side, and if you click it again, toggle to pain view. You have the request on the top and the response here on the bottom. So this is a simple view off the postman user interface. Now let's continue with the next lesson and create our first AP requests. 44. Create your first API request: hello and welcome to this lesson where we're going to learn how to create our first AP request how to run the request and helped tow analyze the response in Postman. So let's begin. And the first thing that we're going to do is we're going to create a workspace. So click here on in the middle on the top middle, where it says my workspace and create new. We're going to create our first workspace. So let's call it Ah, work space one and the create workspace. You can put the summary here, but this is optional. So we're going to create ah, personal workspace. So click on personal and create workspace. And from here you can choose the workspaces if you want to switch from one to another. But we're going to stick here on workspace one. And now we're going to create our A P I request and how we we can do that. We can click on that button here, and after that on request, or we can click on file new and you we will have the same screen right here. Uh, and we're going to click on a new request, so create new again from here or or from the arrow, you can just click on request or click on new. And after that request, and we're creating a new request from from here. So let's goto our browser right now And, uh, in Google type simple A piano requests, and we're going to go to this our e q r a e s website. And this is a website that is giving us a simple a ps for testing and we can take from here get post put, delete all kinds of requests, and there were going to get this single user know this one, this single user and get request. So what I'm going to do right now is I'm going to take the You're the urinal from here, and I'm going to a new top, basting it. And after that, I'm taking the the request end point from here. I'm coping this and I'm pasting it here. Actually, we have two slashes here. We need to only want and I press enter, and we can see that this is working request. Um, there is a response. I have some information here and now I'm going to take this copies. Yeah, you have that. The your ill. So the Ural, the euro off the website slash and the request endpoint. So I'm going toe paste this in our post month, and you can give a name to your request. Whatever you like, I'm going to call it get single user, and the in order to create this request you need toe at this request, request toe existing collection or to create a new collection. We're going to learn more about collections in the coming tutorials. But for now, I'm just going to create a new collection, and I'm going to call it Collection One collection one. Okay. And the were going toe at this request. Name toe this collection that we have just created so safe to collection one. And we have now our collection. So the collection is basically just our folder, which, uh, which we put our requests in tow. So collection is something that half hour requests inside of it. So inside of this collection one, we have our get to request get single user. So when you click on the request in the builder, you'll see the request. And if we put right here, the ural and we don't need anything else right now, because this is a get request. So I'm just clicking, sent. And the as you can see, we have a response. This is the response from the server. Ah, and this is the body off the response. We have this information right here. I d email first name, which is Jennet last name Weaver and this avatar. And, uh, you also have here cookies, headers, and this results. So if you create some tests Ah, you have the results here with verifications, but we're going to talk about this later. And this is your body. And something really important is that we have here the status off the response that time into the size of the response. Right now we have started 200 which means, OK, that everything was successful. The time which it tooks from the server toe bring us the response and the size, which we can see the actual size off the body and off the headers in the response size, A total and we can save the response download and we can view the response has a role for four month, just like we saw it in our browser in Jason for month preview and all kinds of for months, but pretty ihsaa. And this is more readable for the human eye. And it's pretty self explanatory. You have values were you have some variables and values here. So I d to email. Is Janet Weaver at? Are you R e Q r E s 19 1st name Janet last name Weaver. And this is our response. And also, you can search for a particular value here in your request. And also you can copy from here Can copy the request. The request to our your keyboard. Um, here on the left. In the history, we have the history off the requests requests that we have made. So if you come here and send it once again, you'll see. Now we have two requests sent again. Now we have three requests. Basically, you have all the history off your requests here and in collections. We have our collection, which consists off. One get requests so far. And the that was it for this tutorial we have ah, just created our 1st 1st request. And we have also analyzed the response from the request. So I think it was pretty useful. I hope so. Now let's continue with the next lesson. 45. What is Collection: Hello and welcome to today's lesson where we're going to talk about collections. We're going to learn what Issa Collection, how to create a collection, how to create folders inside of collection and how to arrange requests inside of a collection. So let get started. What is a collection? A collection is a group off off requests? That's it. Simple as it sounds, just the group oh requests and the We have already created one collection, and you can see that in our collection. One. We have one request right here, but its really useful. If you have a lot of requests, you can. You can arrange your requests in folders in southeast inside of your collections, and it's really useful toe everything in order and to know what he's doing. What And, um, how to create the collection? You're already know we have created one, but let's click here on the new button and in the screen we're going to click on collection , so create new collection. And this time we're going to give it a name off collection, too, because we have already created Collection one, and, um, you can also put the authorization type here, which is really useful if our you're going to use, for example Ah, user name and password. For all the requests inside of this collection, you can sell it basically authentication. Then put your user name and password here, and this is gonna This is gonna be used. Um, with all the requests inside of this collection, you don't have to put it in every single request. Um, but for now, I'm going to use no authentication. You can. You can put the pre requested scripts also, some tests that you will care for in common for all the requests and some variables that are going to be common for all the requests. But we're not going to put anything for now. We're just says putting, ah, name off collection to and we're clicking on create. And right now we have two collections collection, one in collection to inside of collection one. We have one request and the inside of collection to We don't have anything so far. So if I click on this arrow right here next to the collection too, um, I will give ah the option to share this collection toe another workspace, for example, to run on this will open the collection roller, which is really useful if you careful other fire requests that you want to run them a wall in tow if monitor where you can see if something failed and much more. If I click view on whip, this will open the browser and with these dots you have the option toe edit the collection toe request to duplicate export to monitor collections. And what the is going to be really useful for now is toe at folder. So click at folder and this folder name is going to be for all our our get requests. So name off the folder is going to be get and create. And, uh, if you open the collection, you will see that you have a folder get. And similarly, I'm going to create another forwarder folder, which is going to be for our post requests and click create again. And now he if our collection inside of which we have our get requests and post a quick requests, we don't have any requests so far. But we have the folders and it's really useful toe organize your requests and toe make some advanced operations where you're going to hear from a lot of requests, and you just know which requests request is where and the basically you have everything in order. So it's really useful. And that was it for this lesson. I hope it was useful and you enjoyed it. Now let's continue with the next one. 46. How to Run Collections: Hello and welcome to this lesson where we're going to learn how to room a collection and how toe analyze the result. So, in order to do that, we need toe out another request here because we have only one so far. So we're going to go to this site once again. Requests. Ah, And if you don't remember, how did we get here? Just type in Google. Simple A p I request and click on the this link right here. The first link. And we get these simple requests from here. And we have already taken this request single user. So now we're going to get this one here. List users and the I'm going toe copy this year you l from here so GOP, and I'm going to paste it here. Delete the last slash, and after that, I'm going to get the endpoint off this request list users. So I'm going to copy this and based it here. And, uh, copy this whole think and put it in our post month. So we're going toe, create a new request. So click here. You request in our collection number one. So new request you can create like that or just from the arrow new request and the request name will be get. Ah. So what were we getting here? Least users. So we're going toe Call this request, get least off users and we're going toe save to a collection one and the here in the Ural. We're going toe paste the your your l that we have created and click sent. And the request is working because, as we can see, we have the response here in the body. And now we have two requests. And, uh oh, I forgot to tell you that it's really important to save your requests. I'm doing it with control and safe just every couple off seconds, as I'm speaking usually. But you can do it from here. Just save the request, and I'm going to save the other one as well. Okay, so So now if we want to run these two requests Ah, we can go here in our collection and click on the this arrow here, and you have this blue button run. So if we click this, we're going to have the collection runner opened. And from here, you can choose how many iterations your you want in which environment you want toe to run These we have only one environment so far. If you want to hear some delay between the requests toe local responses in the soul into all kinds of information. So we're going to create, for example, three iterations on these two requests. I'm going to select both of them. Ah, and, uh, I'm going to click run collection. And the as you can see, we have the two requests room three times it So each request, his have been run three times. So we have them once, twice, and three times it aeration won the duration to invigoration three. And we have the here the status kowtow feet request the time which took to request the in milliseconds and also the size of the request. We can close this and expand it if we want toe. And it's really useful information. We can export the results from here. Ah, but we're not I'm not going to that right now. You can run summary and the future by ah, the past requests, failed requests and both past and failed requests. You can go to the collection runner again and the run it again for example, but to reiterations, and you will have the requests around two times. Or, if you want it only one time. So I'm going to select one Inter it aeration Foreign collection one and only one iteration . And, um, it's really useful toe have this collection runner because it's summarizing older requests that you have, and you can see. Um, do you have something which is failing by filtering them? What is pacing with what kind of status coat? And basically everything is summarized Really nice. So this is how you run your collections, and I hope it was useful, but something that we need toe do. Just in the end of this tutorial, we're going to create a folder here that we're going toe put all our get requests in a folder in our collection. So click here on the Collection one and act folder and name it gets and just drag and drop our request inside of the folder. So now it's really pretty. If we click on our collection, we have our get requests in a folder, which is really summarized in in order, just like we did with the collection. Number two. We have folders we don't have, ah requests here, but inside of our collection one, we have a get folder with two requests. So that was it for this tutorial. Now, let's continue in the next one. 47. Variables in Postman: hello and welcome to this lesson. Today we're going to learn variables in post month and more specifically, what are variables? Why do we use them in postmen and how to create and refer variables? So what are variables? Variables are elements that hey, if a value off some type, that's it simple was it sounds, variables. Just they're just names or elements that have some value off a specific type. And why do we use variables? We use variables tow, Avoid repetition in our work. Let's say we have a big project and we have a value that we're using in multiple places and later on later on. We want to change this value. We're not going to go in every single place that we have this value and changed menu manually. We're just going to change. The value in the variable in is going to replace the value in all of the places where it's used. So basically we use variables, just tow, avoid repetition off our work and to store information in one place. Now let's jump in our postman to see how we can create and use variables now in our collection. One in the get folder. We have to get requests. And as you can see, the initial Ural is absolutely the same in both off the requests. So what we're going to do, we're going to create a variable, and we're going to store this your l as an information in the variable, and we're going to place it here in our requests. So how we can do this? First, you need to know that we can create very both on multiple levels. We can create variables. We can create global variables or environment variables. But right now, for this example, we're going to create a variable on the collection level. So these variable is going toe work only inside of this collection one. So click here on the three dots and click edit. So we're going to edit in the collection and in the variables. Let me first copy this this year, Hill. So copy and, um, click it again and click on variables and are variable name is going to be your help because this is the euro and the value. We're going to paste the Ural here. After that, this will be automatically filled up. So initial value and current value is the same click update. And now here is inside off our request. We're going to replace their in the euro here with our value with our variable. Sorry, because the value off the variable is the same. So delete this and how we can put our variable here. It's not just the name of the variable, Uriel. This is not going to work When we want to place our variable here, we need to set to curly braces. So, like this and inside of them, we put the name off our variable. So it's your it looked like this. You're ill. And make sure that after the variable, you have ah, a slash And after that the the end point of the a p I. So we're going to do the same with the the other request. Just delete the Ural name from here to curly brackets. You're ill and close the curly brackets. After that, you have the slash and the endpoint off the request. So let's see if our requests work like that. Click sent, and I have a response. So the everything is working just fine. Let's send the other requesting you have a response. So everything is perfect. Now let's save the requests. I'm doing it with control and s well the other way. Just click here on safe, okay? And the if you over right now, on the on our variable, it will show you what is the scope off this variable. So the name of the variable is your health. As you can see, you can see the value off the variable in the scope which is collection. Right now, this variable is used only in collection one, we can not use it in another every environment, for example. Now let me show you how you can sit a variable toe, a global level. So if we click here on manage environments on the top, right. And after that we click on Global's, we can set a variable here, which is going to be global for so for everything that we have in Postman. So, for example, if we say name is equal toe victor and click safe and after that, if you click here on the quick look, we're going to see the 2/2 a global variable. So go under Global's. We have variable name and the value off the variable is Victor. So if you have global variables, you can check them from here. So click on this guy right here. Quick, look. And the global variables variables will be stored here, and you can add them from here. Manage environments. Okay, so So now I want to show you something else if you click here on the postman console. So on the on the bottom left corner, you have this button right here, Post Mancuso. Or you can start it from view and Herschel Postman console. And every time when you run your requests, you're going to have a look share in the postman console. So let me show you what I mean. If I click sent on this request and I opened the console, I will have the requests right here. And if you want to see the value off a variable, you can check them right from from the postman console. So, as you can see, it's not saying right here. Your l slash ap I slash users, It's saying, Ah, http, are the name of the website and basically you can see the initial value off the variable. So if you want toe check the the the initial values off your variables. You can look like that from the post. Mancuso. Let's run the other request and the causal. You see that we have the two requests with the initial name off the values right here. So it's really easy. And ah, a nice way to check your looks and toe check. What is going on? If you care for a lot of variables and you don't know exactly which variable is referring to, what? Just the same the requesting you will see right here with the initial value off the variable. I hope this lesson was useful. So now let's continue with the next one. 48. Postman Scripting and Snippets: Hello and welcome to this lesson. Today we're going to learn so we can sit and get variables through scripting. And we already know what are variables and why do we use them? So let's jump into post month, and I I will show you some more interesting things. Click on the first request. And after that, on tests. So our first or second week A request? It doesn't matter. Actually, in click on test, we are going to write artists in this section, and we're going to use javascript for this. But you don't need to know any drug JavaScript for to be just creeped, developer. Just follow what I'm doing. So we're going to write consul dot Look, and we're going to print something on the consul. Basically, this command is doing this. It's printing on the console. And, uh, we're going to write, for example, Hello, world safe control and is just safe every every time after your you're doing some action. And, uh, we're going toe open our postman console from this bottom. And, uh, if we run the request right now, these lines off coat will be executed after their requests. So if we see the console right now. We will see our requests right here. Our get requests. And below we'll see. Hello, world Because we have said print on the console, This thing right here and the if you want to do some kind off actions here in this test section, you don't need to know any JavaScript at all. You can say, for example, P m dot variables gets in the give the value off your ah variable Here you're for exit, for example, or you can click on some of these scripts right here in the right side. These air cold snippets and snippets are basically line off coats that are. You just have a shortcut for a line of coat because if, as you can see from the from the name off, what from the from the cold that we put right here, This is going to get a variable. It's pretty self explanatory. And the if we search here in the snippets, you can see that we have get a variable bottom right here. And if we click this button, you see that the the same line off court is written for us. So you just have to replace the variable right here with our variable. And this right here. And this right here are exactly the same things. You don't need to know how to write the JavaScript coat. You have all the snippets here that you're going to need that already. You just click on one and it's the court is going to be written for you. Right here, for example, Sent a request. If you click right here, the court is going to be written for you. PM don't send requests and the their crest is right here. You don't need to know how toe right? The court. You just you have all the things you need right here. For example, if you want to verify that the status coat is 200 which means that everything is ok. The request was success successful. Just click on this. Ah, Slip it right shirt and the court will be executed for you. And this test is going to check if the status coat is 200 give the response. If the status coat is the response is 200. And it's really, really easy to use these snippets in your tests. Now let me show you how we can get the value off are variable. We're going to delete all of this and the this line of court right here PM variables get your l is getting the the value off are variable. So let's create a variable for this. So let's Curiel value is equal to this line of cold right here. Ah, just follow me. You don't need to understand everything from the beginning. I'm going to explain and we're We're just giving a value toe. This variable in the value is the the value off the Ural. And now, if you want to print these value after the request, we can say console dot look and your l value. And if we run this Ryker request right now and we check the console, this is the This is the requests that have been run. After that, we have the hello worth. And after that, we have the value off the variable, and we can see also, let's do it pretty here. So we can know what is exactly the value, and we're going to say the value off the euro is okay like that. And if we run the requests right now and we open the console. You'll see that it stays the value off the Ural. Is this right here? This is the veil. And every time after we run this request, we will hit. Let me clean this opening caf again. Every time after the request, we will have Ah, hello work and the value off the rural and is right right here. Right. This So it's pretty useful to have Ah snippets like this and toe put some something that is going to be run every time after the request request and it's going to be useful for you. Now if you want to sit a variable, we can basically the sin taxes the same, right. This right here. But instead of get, we're going to put sit here we're going to put name and the value of the name will be forced month, for example. And if you want to put this on the console, we can say console block PM variables get and we say name. And if we were in the request now we will see that we have the name right here. So the value of the euro and after that the name Now if we want to sit and get variables on a global level, just like we did in the previous Listen, we have put global variable right here, which is named Victor. And, um, if you want toe get this global variable, for example, we can type the coat PM Global's Get in the name of the variable or we can just click on the snippet right here. Get global variable, and it is going to write Write it for us. So pm Global's get and variable key is going Toby name. And, uh, we're going toe to set this in a variable. So let's global global name. It's equal to ah, to the name. And now we can put this on the console by sink. Consul, look the global name. If we run the request and check the postman console, we will see the name right here. So we have poor what we have done. We have created a variable global name and the value off this variable is the We're taking the global variable that we have given a value victor and we have put the variable this variable Ah, as a name. And after that we're printing the global name. So if we Jake here from the quick look, the global variable, the value is Victor. So the response that we're getting here is correct. And if we want toe get and sit variables on on environment level similarly Ah, we can Ah, right, the cold buyer by ourself. Or we can just click on the snippets right here, get from environment variable or sit on environment variable. It's exactly the same. Just we use the pm dot environments get and set and the I want to show something else. Instead of writing this this line off court right here in the tests, we can get this. So I'm going to copy this and goto our collection, click on the three dots and ate it. And we put this in the pre request scripts and update. I'm going to delete this from here. I'm going to save. And, um, let me clear the console. You'll see now that if I run this request, I'm going to have in the console old all of the information. All of the scripts are being executed because we have them right here in the pre request scripts. And as you can see, the values are before the request. So if you want to have them before and after the requests, we can leave them here in the tests as well. If I run this right now, let me clear. First, if I run this right now, I will have the villas before the request. Um, because we have them here in the pre requested scripts and to hear them also after the requests, because we have them here in the tests. So this is how you sit and get very both through script? Think I really hope that you understand everything, and it was useful for you. And let me just remind you that if you haven't already, please give me a review for this course. It's really important for me to have your feedback and your opinion. So if you haven't already, just leave me a quick review, and I really appreciate it. Now, let's continue with the next lesson. 49. How to create and manage Environments: Hello and welcome to this lesson. Today, we're going to learn worries environment, how to create and help to use environments. And, um, without wasting any time on the environment is ah, key value pair that we can use in our requests and the to show you what? I mean, we're going toe create a post request right now. So first, we're going to create another folder in our collection one, So click on three dots at folder and the folder name is going to the Post, and inside of these post further, we're going to put a post request. In order to do that, we're going toe our browser, and we're going to decide with the request that you already know and which post requests were going to get. We're going to get We're going to take this dispose request, register successful, So Ah, take the the Ural, as we already know, cope it. And after that, take the end point of the request. Put it right here. Okay. And co pedis on going toe. Create. Now, a post requests. So click on the new request and the the request. The name is goingto be registered user, and we're going to put it in collection one in the Post folder. So safe The Post and now inside of our post folder. We have the request, which we're going to click here and make it a post request. And we're going toe enter the euro here and what we have to do. Also, we have to take the body off the request. I'm I'm hoping this, and I'm going to put it here to Lochley. Conroe basted here. And if I sent the request right now, I'm getting this response missing email or user name. So what we're going to do right now is we will go into the headers, the request enter here. We're going to put a key content type, and the value is going to be application, Jason, and, uh, we're going to save the request. And if I run the request right now, I'm getting a token. So now, as we know, we may need to taste our ap ice on different environments and the by different environments , I mean that we may have different in points of different variables, and we want to test them in the different environments. And how do we create a different environment. We have a couple of options to do that by clicking here on manage environments. And I think a new one by ah, also, Clicky share on the new. And after that environment, I'm using this way, for example, and the environment is going toe have the name K. And so we have to put some variables. Usually we have to put on variables in this environment, for example, and points e mail and user name or password, and I'm going to add this. Okay, now, what you want to do is you want to give values to this to do these variables. So I'm going to take the endpoint off our requests, and I'm going to click on manage environments, click on create and going to give this value to the end point variable for the email I'm going to give I'm going toe give these value. So I'm coping this and, uh, I'm going again to manage environments, okay? And I'm sitting this value toe the email in them. I'm clicking update and for the password. I'm taking this very right here, and I'm going to put this, um, hearing the cure a environment for the password. I'm sitting this value as a, which is pistol and Update. And now I'm going to refer these variables here, so afraid the lead here, the end point and I put, um, put it is a variable in point and the here for the email. I'm going to put email and for a passwords, we're going to put these variable passwords that we have just created Now, as we have this request and we're referring the variables here, and, uh, if I run the request, we're not going to get the response that we're expecting because these variables are only working for the creative environment. So if we click your on the drop down and select the cure environment and sent the request, yes, we're getting the response and the this is what we're expecting. So our request is working as expected. Just make sure that in the in the curia environment you have all the the variable share and you have the value in the initial value and in the current value. So the initial value off the email in the current value should be the same. Ah, the same with the password. In the end point, make sure that you have all the values right here. And if we send the request, we're getting a response. We're getting a welcome and something else that I want to show you. If we click on manage environments, we have the option to duplicate the environment. And we can say that this environment is going to be state our staging environment, and we're just going to change the values, your soul. These are going to be these air, not correct values. I'm just, uh, putting a different values than the other environment until we're going toe update. Now we have to environment staging environment in the queue environment, and we we now we have the option toe taste our request in our AP ice on different environment environments, which is really useful by just clicking here on the drop down and changing them. And, uh, sometimes you need to check some in points in one environment in another environment, environment and variables. And it's really useful to know how to create how toe change environments. And also you have the option to delete the environment or to remove it from the workspace from here. And it's really, really useful. I hope this tutorial was useful for you. Now let's continue with the next lesson. 50. How to Create first TEST and use Snippets: Hello and welcome to this, lissome. Today we're going to learn what her tests in postman helped to create tastes at request level at folder level and a collection level. So what are tests in postman tastes? In Portman are a JavaScript coat that is executed after that after we receive the, um, the response from the server. So javascript coat that we that is executed after the response from the server. And now I'm going to show you how we can create these tests in Postman. Now what a collection level. If we go to these three dots and click edit, you can see that we have here pre requests, scripts and test scripts. So pre request scripts, these air the tests that they're going to be executed before the request. So if you want to change some some values dynamically from here. Ah, for example, if you want to change something in the headers, you're going toe toe. Put this here in the prayer request script is going to be executed before the request. And here in tests you want toe poor to put something that is going toe. Validate our response. For example, if we want to validate the status Court off the response. We're writing a test here, which is validating that, and this is utter collection level and the it's similar with the folder and with the requests tests. So if we click on the three dots on the folder right here we have the get folder, click on the three dots and edit. We have the pre request scripts and the test scripts. This is only for the folder right here. And similarly, if we click on a request, we have the prayer request scripts and the test scripts, which is only for this request right here. So we have the the tests on the collection level on the folder level and on the request level and on the request level. We're interested right now on the tests on this section right here and now we're going to create some very simple but very useful tests inside off. Theis. Request white right here. Get lists off users and the as we talked in the previous session, we have our snippets here on the right side. We don't need toe know how to write that the javascript coat we have the scripts automatically generated for us. So I'm going to select this snippet right here. That response time is less then 200 milliseconds, and basically it's self explanatory. It's verifying. Did there the response time? It's less than 200 we can change the name off the taste right here inside off these records . So I'm going toe. Say that this test is verifying that response time is less than 200. This is the message that we're going to get after the test is executed in the Let me see. I'm going toe. Give another tests. Right. Here's which is going to very fight. The status coat is 200. So let me separate them and going to change the name again. Verify that start of coat is 200. These air to very, very simple tests. But they're really useful. And if we run Ah, our requests Right now I can see that they have the response. And also I have test results here. And so if I click, I can see that both of them have passed so verified that the response time is less than 200 milliseconds and verified that start of court is 200 both of them have passed. Both of them are green and this is really, really useful. You can verify us all of these things that you have here that the, for example, started the successful post request response body convert the XML body to Jason object all kind off snippets which are generating on the scripts ready for you. And you can verify things. You put your tests here, you run the request and you get a really nice test result, which you can see. Um, are they passing or are they failing? And also, you can check this from the in collection ruler, for example, If I run collection one, I can see that I'm also I'm also having the the States right here. And it's really nice summary which is telling me if the request have passed and if all the tests from the request have passed so you can make really nice recommendation if you have to. Really nice summary if something is failing and so I think this will be really useful for you. Now let's continue with the next lesson. 51. How to Debug API Request: Hello and welcome to this lesson. Today we're going to learn how to de book on the postman console, how to read the information shown on the postman causo how to clear the locks and how to use the developer tools. So without wasting any time, let's go into our post month and the first thing that I want to do it's, ah, I want to change the team off our post months so we're going to get a little bit cooler and we're going toe feel like hackers. So click here on settings. After that settings and on themes, I'm going toe select the dark team. So if you want to change it dark, it's your your choice. It's just a personal preference. We were using the white team until now, but we're going to continue with the darker one. I think it's better for the ice, so just choose the one that fits for you. I think this one looks cooler, so we're going to stick with the dark one from now on. And, uh, now we're going toe de book our requests and how we can do this. You already know how we can start the postman console. It's from View and Show Postman Causal or from this button right here, postman console and, uh, let me make my screen on on duplicate mode so you can see the requests on the left side and the postman consul on the right. And if I sent the request, you can see on the Portman Causal that we have all the scripts executed before the request and after the request. So our scripts, the that were used before the requests are the pre request scripts, and the ones deter now executed after the request are the scripts in the test. If you want to go deeper into the request, you can expand the request and you'll see as a pretty format and or as a role for month the request. Heather's the response Headers in the response body. The row format. This is how the this request is sent to the server and the data right here. This is the response that were given in the If you click on the pretty four month, you can expand the request. Heather's it's it's more readable like this, the response headers and the response body. If we expand the data this is the date that were given as a response from the server. And here on the postman console, you can check Ah, your script that you have. You have bean writing here in the prayer request scripts and on the descript, and you can verify stuff here on the postman console. It's pretty useful from this bottom. We can clear the console and the we can send their requests again. If you want to. To have only one request here, I don't know to make it Macy and the Basically From here, you can check and verify your scripts if everything is OK, and something else that I want to show you is the developer tools and how you can use it. So if you click on view and the on developer and after that shoved show the tools, this screen will be opened. And here you can also the book and very fight your requests and for your scripts. As you can see, we have the we careful the scripts that we have bean writing, and this is really deep, the player off the building debugging and how you can verify your requests and responses. You can go to sources. And to see all the Where are all the data is starts. Ah, you can check the HTM mill. The CIA's says you can go to network performance memories. Security. Basically, the developer tools can be really, really useful for you. And I hope this was useful. And, uh, a t least you're going to know how. Toe open the deaf tools if you want to check something or from the console, Of course. So now let's continue with the next lesson. 52. Run Postman from the Command Line Using Newman: Hello and welcome to this lesson. Today we're going to learn how to run postman requests from common Flynt. And in order to do this, we need to install Newman. So what is Newman? Newman is a powerful, powerful, common flying collection runner for postmen, and it allows you to run and taste apartment collection directly from the common fine. And in order to install Newman, we need to install no Js first because Newman is a part off. No jays. So most probably you don't have no Jay's installed on your computer. But in order to check, this will go to the Common the Line and Howard Howard. I did that. Ah, I just enter cmd here and open the common prompt. And here we need to check if no Js is installed. So we're going to write this common. Ah, this ah note, uh, space that she v v stands for version. So after we click enter. If you have note installed on your computer, you you'll see the version here. But because I don't have it installed, I see note is not recognised. Um, and basically, I don't have it on my machine. And also, um, we're going to try NPM um Space Dash V and the most probably you see in PM is not recognised or installed on your computer computer. So the first thing that we do now we have to do now is to install note Js So we're going toe Google and we're typing in stole north Js and we're clicking on the first link and we're going to get the LTs version. Lt s stands for long term stable release and we're going to go with this and the you can stole for windows or ah, Marco is I'm using windows. I'm clicking here and note is being downloaded. So I'm going to open this and the installation. It's pretty simple. Just click next Accept the terms. Ah, this is the location where the no Jace is going to be installed. Click next and the NPM package manager is also being installed. So next and after a couple of seconds, no jays will be installed on our machine and after the installation Hey, finished, I'm going toe open the the cnd again and I'm going toe check give The note is installed, so I'm going to type note space that Chevy for a version and I have the current version on my machine. I'm also typing in PM space that Chevy and it's giving me the version off the NPM. So now we have it installed. Now, in order to install Newman, the command is NPM Install Dash G. Newman. So we're going to type here in PM stole Dash G. Newman, and it's going to take a couple of seconds. So we're waiting now. Okay, Now I have Newman is told on my machine. So the next think what we have to do is to export collection as Jason File and the in order to do that first, I'm going to create a folder on my desktop, which is going to be called Postman, And, uh, I'm going to export collection as adjacent file into this fold folder. So I'm going into our postman and on my collection one, I'm going to click the three dots and exports here in the export collection. You just click the recommended version. So we have collection one V one, V two and V 2.1. I'm going toe klik, the recommended version and export. And, uh, I'm going to give it ah, name off collection one Dr Jason and I'm going toe export this in the folder that I have just created on my desktop. So give me the name dot Jason safe. Okay. Your collection WAAS export ICS exported successfully. What I have to do now is on the c m d. I need to go to the location off the collection, Jason, file so and going to the folder, I am taking the path. The file. I'm coping it and in tow, the cnd I'm going to say CD space and dislocation. So right now we're in the postman folder, and the next thing that I have to do right now is to run the command Newman room the file off the collection or the name of the file dot Jason. So Newman room the collection file. Name that Jason. So I'm typing your month room in the collection file. Name is Collection one built Jason. Jason. Okay, um because the collection one that Jason is the our file. And when I pressed enter. Now you can see that we have the request and allowed the scripts right here in the command line. So our get single user first we kept the collection The name of the collection. After that, we have the first request. We have the pre scripts, the then the request. And after that all the tests. After that, we have the second requests. The second request. We have our tests and we can see if they have. If they're passed or failed, we can see the name off the test. Within. What? What? The taste is very frank. We're basically we see a nice summary. Ah, we we can can see the executed. So the best requests in the failed ones coming it orations, requests this scripts, request scripts and a certain assertions that we have. And basically, in our case, everything is passing. We don't We don't have far anything failing. We have the total room duration because we have the total data received the in ah kilobytes . We have having a average response time and basically all the information that we need now something else that they want to show you. First we're going toe clean. The the scene the soul seal is and the what you can do with Newman issue can say, Newman, you month run space Dash H and this is going to show you all the features and everything that you can do with Newman and you can do a lot of things with Newman were going toe to see later on in this tutorial what we can do. But with this command you can see all the options that you have, and this is how you run your postman requests from the common line with Newman. I hope this tutorial was useful. Now let's continue with the next one. 53. Learn Workspaces: Hello and welcome to this lesson. Today we're going to learn what is the workspace? How to create and manage workspaces Helder share collections in workspaces and help to remove a collection from a workspace. So the first question is, what is a workspace? And the the answer is a workspace. It's a place where you can organize your collections. So, simply put is just, ah, place where you can organize your collections and in postman ah, workspaces are available only after version 6.0, so you can check here in the help section menu. You can click check for updates, and if you have a version below six, you'll hear if you will not have the workspace feature available, so you need to update your postman. But if it's after six, for example, I have the latest version 7.2 point two, and you will have the workspace available. So if you click here in the top middle, you will see that there two types off works basis, a personal and a team workspace. A team workspace is only available in the postmen pro version, so we will be focused on the personal workspace. So what? I'm going to do right now is I'm going to create a new workspace which is going to be called taste workspace one, It's ah, personal workspace. The summary is optional and I'm going to click create workspace. Okay, Now I can see here the time on the piste workspace one, and I'm going to create a new collection which is collection one. And now I'm going to create another workspace which is going to be called this workspace toe click on personal and create workspace. And I'm going to create a collection which is going to be caught collection to Okay, now we have taste workspace one which have a collection one and works test workspace to which have collection and what you can do if you click here on the workspaces. And after that, if you click on all workspaces is going to open a browser and it's going toe. You will see your postman account and all of your workspaces, And from here you can manage your workspaces, for example, taste workspace one I can say at the workspace. And, uh, I will see uh, put this in tow. A test workspace to and the a select collection too. Up to this workspace and the cell. I successfully added collection. If I switched now toe test workspace one. I will see that they have both of the collections or collection one and collection too. And another thing that I want to show you is that if you click your on the browse on the bottom right corner and the up the workspace, you can also manage your workspaces from here and also from the three dots effect like them . And from here you can rename, edit the workspace or delete the workspace, and if actually cure on the built again, I'm going toe the workspace, and it's really easy to manage your workspaces and your collections like this. If I go to browse and upto workspace and, for example, if I want what, um, the collections from the taste workspace. One anti select all of my collections upto this workspace and they click built again. Then I will have all the collections, so collection one and collection toe. I have them into workspace, to If I go to work space one. I also have both of them collection one in collection toe and here from the three dots I can remove from this workspace. Only this collection if I want to. And, uh, if I want to delete, I can do it also from here. So this is how you create in you manage your workspaces and how you can move a collection toe. Another workspace. I hope this tutorial was useful. Now let's continue with the next one. 54. Run Collections using Collection URL: Hello and welcome to this lesson. Today we're going to learn how to run collections with collection your l and basically we need to divide this into two steps. The first step is to get the collection your l and the second step is to run the collection using Newman and the this tutorial is goingto be short and sweet and without losing any time, Let's go into postmen. And Ah, and in our collection Number one, we're going to click here on the arrow and after After that on the share and there is something called get link from here, we can get the link to our collection. So this is our link because I have taken the linger previously, So I'm going to update the link. Ah, maybe you'll see. Ah, you will not see the this euro in the beginning. So you need to press ah, get generate link or something like that. After that, you have this link. So I'm going to copy the link and I'm going toe ah to the Commons line where I'm going to type Newman room. And after that I'm going to give the link because you know that we previously he's told No Js inhuman in or you already know what numinous. So just type Newman run. And after that, give the link and press enter and you see the result. We have the requests here. We told the the pre scripts and all that all the test scripts after that. And you see the result. We have our collection runs in the Commons line. We have the requests we have for the scripts. We have the verifications and we can the we can just run the collection with Newman in our comment line using the collection. Ural again taking the collection euro from here. Get link. Just take this link. Put it in tow. The common prompt with the command. Your mom room. Oops, no more room. And the link after that. That's how you run your collection with the collection Ural in Newman. And that was it. I hope that you enjoyed this tutorial. And I want to quickly remind you that if you haven't already, please give me a review for this course. It's really important for me. And thank you so much for watching. Now, let's continue with the next lesson. 55. How to Run SOAP Requests in POSTMAN: hello and welcome to this lesson. Today we're going to learn how to run soap requests in post month and we have two steps. The 1st 1 is how toe up soap requests in Postman in the 2nd 1 is Scout run and validates the request. So let's goto our postman right now and ah, create another workspace. So we're going toe workspaces and create new and the name is goingto be soap. So give it a name, click on personal and create workspace And now we are inside of this soap workspace and we need to create another A collection because we don't have any. So click on new into collection and we're going to call this so collection and click create . And now we have this soap collection without any requests. Now what we're going to do, we're going to goto our browser and just full of what I'm doing here type country in four W is the L. If you don't know what Ws deal is, this is a Web services description language which is used in soap and what we need to take here. After we click on the first link, we're going to take this your L U l So I'm coping this and then going into both month. So I'm going to click here for a new request and I'm going to paste the you Ariel here. After that, we need to go to the body off the request, click on the road and on this text, we need to select Text XML. After that, if you go to the hitters, you'll see that a new heather is select with created, which is a content content type, and the value is fixed exam ill so we can manually type the content type here with the value off text slash ex mill, Or we can create it just like we did from here from the body click row and we select the text and ex mill from here. Um, it's the same. Think the next thing that we have to do is we need to provide budeiri for our request and how we're going to do this. So basically, we have to generate a soap requests from R. W s deal and how we can do this. We can do it with with a tool like soap you I or we can do it with some kind off chrome extension to that we're going to use for this example. So I'm going to open a new top and click on APS, and I'm going to the Web store where we're going. Toe search for Whistler, Something called Whistler and the Whistler. Ah, I have already installed. So if you don't have it, just click hearing stole and we're going to use these two parts are double raise deal and in tow soap ap I requests. So after you install this, you should have, um, this icon right here which, if you over it, it will say Browse ws deal. So open your w is deal you're ill and click here and you'll see all the soap requests that are available in in these ws deal document and we're going to get for example, the 1st 1 is Capital City. So if we click here, we will get the body off the request which were going toe copy and we're going toe based in tow. The body off our postman and very important here into the metal. We should ah change this proposed and here where it is drink, we need to put ah country court for example, I live in Bulgaria, so I'm going to put BG. This is the country code for my country. You can put the any country court here and I'm going to send the request. And as you can see, it's working. We have a response which is telling me that the capital city is Sophia. This is the capital for Bulgaria. If we put here, for example, USA and we press sent, it's going toe toe intern Washington because this is the capital. If we put here, I m for India, for example and we send it. We're going to get a new deal, he and you get the point. So now we're going to save our requests in south of the inside of the soap collection. And the name is going to be Capital City, for example, and safety soap soap collection. And now, of course, we can add tests to our to our soap request. For example, if you want to verified that Ah, let's see that the start of court is 200 we're going to use the snippets and we sent the request right now and you can see that it's past the status code is 200 the test result. It's one off one past. We can see the body and the everything is working perfectly with this soap request. And we can also run this request. Ah, with Newman, as we already know from the previous lessons. If we create a click on the arrow and share and get link and we copy this link Ah, we're going toe are common find and we say Neumann room and give this collection UL is going to run the request and we can verify our requests from the common line with human as well. I hope this tutorial was useful for you. Now let's continue with the next one. 56. Chain Requests: Hello and welcome to this lissome. Today we're going to learn how to change a PR requests or, in other words, how to get data from a response off on a P I request and refer it into another AP I request . And in order to do this, we're going toe post month and we're going to create first another workspace. So create new. We're going toe to say that this is ah, Jane a p. I click on personal and create workspace. Now we're going to create a collection. So I'm clicking new and after that collection and we're going to say that the name of this collection is going to be a P I chaining and we're going to create this collection and the inside of the collection. We want to create a get request, but the in orderto get their quest. First, we need to go into the website that we're getting requests from. If you don't remember how we get here, you go to Google and type simple AP I requests and the click on the first think most probably is going to be the first link. This R E Q. R. E s website and we're going to toe get this request right here. Lists off users. So I'm taking the Ural off the website. I'm basting it here after that time taking the request endpoint and my basting it. I'm taking the whole thing and I'm going toe compete in tow. The postman. Now we're going to create new requests. Request Name is going to be Get the least off users and we're going to save it in tow. Ap I chaining collection. So now we have the request here in tow AP Chaining collection and we're going toe based the you're l with the end point of the request and the phe called to is going to be automatically field here. And if we sent the request right now, we're going to receive this as a response. And as we can see there three users first user with tidy four second user with I d five and third user with I d six. Now, the next thing that we want to do is we want to get another request. Eso we're going toe the website again and we're going toe get a put request, which is which is going to update user. So this put requests, which is called Update and, uh, take the girl again, Paste it, take the end point of the request and based it. Now, take the whole thing and into our postman. We're going to create a new request. So click a new request and the this ah request is going to be called update and it's going in a p I chaining so safe to a Ph Inc. And we're going toe click on the metal type is we're going to select put, and we're going toe based the your aerial here. Next thing, we have to take the body from the website and put it here in tow. The postman in tow, our body click role and select from the text Jason Application, Jason and click sent. And, uh, we're getting a response. So everything is working as expected. Actually, let's ah, rename this to update user. So what we want to do right now is we have two requests get request, which is getting a list of users and the put request, which is updating a user. And, uh, if I want o get ah value from here from our get get requests, for example, if I want to take it for Paris or a Tracy, and I want to put it here into our of the eight user in the Morphosis name. First thing that have to do is I have to create variables, so I'm going to create a new environment right now, I'm going to click New and Environment, and I'm going toe say that it's going to be named a P I Chain Inc environment. Let's call the tape by changing variables, actually, and let me put your user name one with a value off Neil Neil, for example, and I'm going to click at. And now we have this variable user name one, which is he has a value neo. And if I want to put it here to the place off Morpheus. So we're going to the body and we double curly brackets. We're seeing, uh, user name one, and we're closing the curly brackets. And very important think we have to select the environment from here. So AP I chaining variables and we run the request and we're getting a response new in the name now what we have to do is we need to write scripts, which are going to fetch the data from our first A p I, and they're going toe update the data into our second AP. I So the in the first request get list diffusers. If we go toe tastes, I'm going to right here. Body data equal to Jason dot farce response body and also value is equal to boldly data dot And now we have to give the the path the Jason pet toe a particular value that we want to fetch and how we're going to do this. I'm going to show in a second, but first, Ah, I just want to remind you that these scripts are going to be executed after we get the response. So, uh, let's go to our browser and the type into Google, Jason, but finder and click here on the first link. And this is ah, application, which is giving the a path toe specific. Jason object. So now we're getting the body off our response and coping thes so copy and paste it here into the Jason Pathfinder and a so you can see is giving us everything that we need Difficult Conde data. And we have the zero, the one in the two. These are the indexes. So basically, these air, our users that we have both month one is if the other one is Charles and the other one is Tracy. For example, if you want to take Tracy, it's going to be this one here in tow. We're going to click on the first name off, Tracy, and this is going to be the pet that we need. So copy this one. So now we're going to give this Jason pat here, So value is equal toe body data dot in the Jason pat. And after that, I want toe print this on the console for console the look value. Actually, we don't need this X. So body data that data to first name and were fetching the, um, the name Tracy. So we're fetching this this line, the first name with value, Tracy. And we're going to print the value after that. So in order to see if it if everything is correct, we're going to run the postman console, and I'm going to send the request right now. And if I opened the postman console, you can see that after the request, I get Tracy. So it. It's fetching the Jason data just like we want it. So now what I want to do is I want to sit. This is an environment variable. So I I'm just going to use the snippet. So I clicked on, sit on the environment variable here and are variable key is going to be our user name one variable, which is new. So I'm clicking here and the has a value. I want to use these value. So I'm pasting it here Me safe. And similarly, if I want to fetch another name from here, for example, if I'm going to change this Jason but instead off too. So this is zero. This is one and this is too. So I want to take if I'm going to say here Data zero, that first name I'm going to save and the if I send the request now you will see that now the value here is if and if we open the postman console you'll see that after the last Ah, off the last time after the request request was executed, we get the response. If so, this is how you fetch data from one AP I toe another ap I requests. I hope it was useful for you. And I was here in the next video 57. Thank You!: congratulations for finishing my whole course. Thank you so much for being my student and for watching all of my videos. Thank you again for being my student. I appreciate you so much. And if you have any feedback and suggestions, please leave me a message. I'm always improving on my courses. I hope that you get the value that you came here for and I hope to see you in my next courses by