Django – Introduction

Django is a web framework in python programming language.

Before one starts to learn it, pre-requisite or basics of python is nice to have alongside HTML, CSS, Java Script, JQuery etc. for creation of a decent enough web application.

Objective of the outcome of the application to be created must be set, and Proof of Concept of whether it can be feasible or not is to be analyzed first.

Python Programming – Operators and data types

The most important foundation level in python is understanding topics like Statements, keywords, Identifiers, Operators, datatypes, methods, class, objects, etc..

Let’s see the concepts below on the Operators to begin with,

2 variables A and B, with A =5 and B=10

Arithmetic -> Addition +, Subtraction, -, Multiplication *, Division /, Modulo%, Floor Division //, Floor Multiplication **

A+B ->5+10=15

A-B=5-10 = -5

Conditional operators – lesser than<, Greater than>, less than or equal to<=, Greater than or equal to >=, Not equal to !=, Equal to ==

Boolean data types – TRUE, FALSE

Logical Operators – AND OR NOT

Membership Operators – IN, NOT

Identity Operators – IS, IS NOT

 

Python – Automation – P1- Install robotframework

Robot framework.org – python based framework – keyword driven approach!
Ex:
open browser url chrome
input text id text info
Close Browser

install on windows OS

1.As a pre-requisite python must be installed in the system you are going to create the automation scripts, once its installed
need to check if pip is available

2. pip install robotframework


3. pip install –upgrade robotframework


4. pip install robotframework==5.0.1

to check if the robot framework is correctly installed, please follow the below commands!
pip freeze


pip list


pip show robotframework


pip check robotframework

If you want to uninstall Robot framework

To check on the version of the Robot framework

robot --version

Set environment variables in the PATH, so python is accessible from across locations in the system from where the code/file is being saved.