**Selenium with Python-Basic**

Welcome to Basic Python Programming and Selenium with Python Tutorial Series. I’m going to create a series of videos on Python and Selenium.

Who the course for:
1) Manual testers who want to learn Test Automation with Python
2) New Testers who want to have an idea on how Test Automation works
3) Who wants to learn Basic Python Programming

Requirements:
1) A computer with internet connection
2) Willing to learn new Tech & Tech Tools
**
How to install Python, PyCharm IDE, install Selenium & configure:**

![](https://youtu.be/as_M55Cscxo)

What is Python?
– Python is the most popular and complete programming language. It’s the number one programming language right now. Python programmers make $65k-$150k per year or even more.
– You can do almost anything with python — Web Application Development, Software Development etc.
– Robotic engineering, Data Science, Artificial Intelligence, Non-driving Cars, Games Development are done with Python

What is Selenium?
– Selenium is testing suits that automates browser! It’s the hot cake right now. A selenium test automation engineer/tester makes $85k-$199k per year!

what are we going to learn today:

1. Basic python

Variables
If else conditional statements

What is variables?
– Variables are containers or just like a box that holds/stores data.
Example:
a = 100
b = 95
c = a+b

print(c)

Print Output: 195

Here a, b and c is variables!

More examples:

x = 1000
y = “wonderful and easy”

print(x)
print(“Python is ” + y)

Print output: 1000
Print output: Python is wonderful and easy

**If else conditional statement:**

Python supports 100% of the usual logical conditions as we learn in mathematics:

Equals: a == b
Not Equals: a != b
Less than: a < b
Less than or equal to: a <= b
Greater than: a > b
Greater than or equal to: a >= b

These conditions can be used in several ways, mostly in “if statements” and loops in all programming languages. Python is not exceptions!

“if conditional statement” is written by using the** if **keyword.

Example:

a = 300
b = 200
if a> b:
print(“a is greater than b”)

Print output: a is greater than b

Example:

a = 200
b = 300
if a> b:
print(“a is greater than b”)

else:
print(“b is greater than a!”)

Print output: b is greater than a!

Let’s now see how selenium testing suits works in browser testing or automating!

2. Simple Project Test:
a) Create a test for Google Search
b) Add Implicit Wait
c) Maximize Window
d) Run out test for validation
e) Using close() method to close the test
f) Using quit() method to quit the browser

Hope, you will love it! If you love it, please make comments both on uTest and YouTube! It will definitely inspire me! Thank you

![](https://youtu.be/-wA0ko_z9tI)

I hope, you will love it!

Sharing is caring! Please share with friends & family if you find this website useful

Close Menu
shares