Why Choose Selenium Python for Test Automation needs?

Rahul Shetty
A free video tutorial from Rahul Shetty
Founder of RahulShettyAcademy.com|350k+ QA Udemy Students
4.5 instructor rating • 21 courses • 367,875 students

Learn more from the full course

Selenium Webdriver with PYTHON from Scratch + Frameworks

BRAND NEW COURSE- Learn Python Programming & Selenium Python Automation from Basics to Advanced level + 5 LIVE Project

18:13:36 of on-demand video • Updated June 2021

  • At the end of this course, You will get complete knowledge on Python Automation using Selenium WebDriver
  • You will be able to implement Python Test Automation Frameworks from Scratch with all latest Technlogies
  • Complete Understanding of Python Basics with many practise Examples to gain a solid exposure
  • You will be learning Python Unit Test Frameworks like PyTest which will helpful for Unit and Integration Testing
  • Complete Understanding on Selenium Python API Methods with real time Scenarios on LIVE Websites
  • "Last but not least" you can clear any Interview and can Lead Entire Selenium Python Projects from Design Stage
English [Auto] Welcome, guys, welcome to Python testing with selenium and also framework design. So this is your instructor, Rahul Shetty. So first things first, why tattoos? Python language for automation testing. So we all know that Darva is commonly considered for most of automation testing tools, but why Python and why to consider this language as well? Let's try to understand the importance of Python first. So Python is easy to learn and understand. So you might be aware of an adult programming languages like Java, JavaScript, C++ from your college days, but Python is the easiest language than all the remaining programming languages we have in the world. You will know that soon when I start teaching Python basics, that why this python is very easy to understand. So the one straightforward reason is that it is simpler to code. So if you dig fire lines to complete one logic in another, programming languages in Python, you can drive that logic in just two lines. OK, there are many instances where you can achieve the same goal with a reduced effort and with reduced coding. OK, and for the beginners who do not have any knowledge on programming skills, this is the best language to start with. And more importantly, we all know that world is moving towards artificial intelligence data scientists with machine learning. So Python is one of the commonly used programming language when you want to implement artificial intelligence in your applications, because this is a powerful tool which exposes a lot of capabilities and techniques for artificial intelligence. So that's the reason most of the projects are now moving towards Python to achieve this data science and machine learning in their projects. So obviously, when the development is done in Python, the testing industry also will slowly move towards using the same programming language because people want to maintain the same STAC, either it could be development or testing. So that's the reason Python got to play a crucial role in the future in terms of artificial intelligence. And at the same time, this will be the common topic for all your automation testing tools as well. OK, and less competition. If there is a job notification on selenium Java, there will be hundreds of applications for one job. But whereas if there is a job on selenium python, you will not even get 10 percent of applications of what you get for selenium Java because there is lack of skills in the market for selenium, python, and at the same time python jobs are booming up. So all these foodstuffs made python and mandatory skills to have not only for development but also for test automation projects. Of course, Java stands on top in usage, but selenium python competition is rapidly growing and this skill will keep your profile in front of queue in Market Fashoda. OK, so now we will see vital to selenium when there are different automation tools available in the market. So to keep it simple and straight, selenium is an open source tool. That means you can download it for free without being and people can start working on it right away with just one click download from the official website. And more importantly, selenium can be it in multiple languages. You can write your selenium code in Java, Python, JavaScript, C, sharp ruby. That's cool, right? No other tool in the market have this feature. And also you can run your test cases in different operating systems as well. I did not document here, but you can download the resources from my next lecture that selenium can be run in Windows, Mac and Linux as well. So this is the only tool which supports multiple operating systems. Now there are different tools like protractor, APM. So these also support multiple operating systems. But do remember that basic wrapper is selenium for those tools as well. So those are like Radford's, which are written on top over selenium, but underlying gold is still selenium. OK, so that's a pretty straightforward answer, like why we have to choose selenium driver for Front-End Automation and we also see why we have to choose Python to code our selenium. Now, this is one of the most famous caution, as most of my students have. I'm already aware of selenium, Java. Should I consider learning selenium, python? Yes. The existing knowledge of selenium Java will help you to only write one standalone automation test. But in real time, if you want to work on selenium, on projects that a lot of other things like building frameworks and unit testing frameworks are also there. In Selenium Java, there is a test and GMG unit as a testing framework. Similarly for Python, there are different unit testing frameworks. You need to know all this to develop and end to end real time frame work in industry standards so that knowledge will not help you. This is the basic thing I want to clear to my students and coming to course prerequisite. This clearly assumes that you need not have any prior knowledge in Python or even in selenium. OK, every topic, including python programming, is start from scratch. With so many real time examples. You see that how these courses are organized. I clearly shown that discourse is completely break down into three modules. So we will first start with module one and we will go on with python basics from scratch. OK, I will start from the point where I will show how to install Python in your system. From there I will teach all the basics required for forever automation. But do remember that Python is in itself. We just cannot cover everything in this course. But what are topics required for automation framework building? All those topics are clearly covered in our module one. So just assume that topic is necessary for Python. Automation is being covered and that's up to 30 percent of our costs. And then after once you are clear with Python, then only we will more to implement and develop selenium test cases in our module too. So he had a variable feel a little comfortable if you are already aware of selenium Java. So it will be very quick for you to learn. And in this model we will go through all the concepts related to selenium and we will build so many realtime exercises as part of this module. So by the end of this module, you will be knowing each and every method of selenium in Biton language. And here comes the actual interesting part, which is module three of Biton framework development. OK, so you need to know a testing frame. Let's first of all, that is a testing framework by test in Python. First we will learn what is that framework and we will go through so many important concepts of that. And then after that, we will see how to log in Python and how to drive data from Excel to your python test cases. And then we will build one end to end python framework from scratch using all the python object oriented principles in Module one. OK, so we will go through page object mechanism that a lot of things which require from framework development until report generation and integration to jenkins', everything will be covered in module three. But for that you have to have knowledge on module one Painton because we will be implementing lot of object oriented principles of Python when developing the framework and all those I already discussed in Module one. So you can start this course without any prior knowledge on any programming knowledge. So start in the sequence. By end of discourse, you will be able to develop a robust python selenium framework from scratch with a lot of automation. This gives us OK, so count on me. And that's an ultimate goal of this complete goals. All right. So that's pretty much about this lecture. And I hope I have cleared most of your questions, what you are looking for before we get started with our learning. So in our next lecture, let's start with Module one Python programming. And we will begin with installing Python in our missions and we'll take it from there. All right. Thank you and wish you all the best in this new journey. See you in the next lecture.