
STEPS FOR INSTALLATION OF PYTHON
Step 1 − Select Version of Python to Install
Python has various versions available with differences between the syntax and working of different versions of the language. We need to choose the version which we want to use or need. There are different versions of Python 2 and Python 3 available.
Step 2 − Download Python Executable Installer
On the web browser, in the official site of python (www.python.org), move to the Download for Windows section.
All the available versions of Python will be listed. Select the version required by you and click on Download. Let suppose, we chose the Python 3.9.1 version.
On clicking download, various available executable installers shall be visible with different operating system specifications. Choose the installer which suits your system operating system and download the installer. Let suppose, we select the Windows installer(64 bits).
The download size is less than 30MB.
Step 3 − Run Executable Installer
We downloaded the Python 3.9.1 Windows 64 bit installer.
Run the installer. Make sure to select both the checkboxes at the bottom and then click Install New.
Step 4 − Verify Python is installed on Windows
To ensure if Python is succesfully installed on your system. Follow the given steps −
Open the command prompt.
Type ‘python’ and press enter.
The version of the python which you have installed will be displayed if the python is successfully installed on your windows.
Step 5 − Verify Pip was installed
Pip is a powerful package management system for Python software packages. Thus, make sure that you have it installed.
To verify if pip was installed, follow the given steps −
Open the command prompt.
Enter pip –V to check if pip was installed.
The following output appears if pip is installed successfully.
Step 1) To download PyCharm visit the website https://www.jetbrains.com/pycharm/download/ and Click the “DOWNLOAD” link under the Community Section.
Step 2) Once the download is complete, run the exe for install PyCharm. The setup wizard should have started. Click “Next”.
Step 3) On the next screen, Change the installation path if required. Click “Next”.
Step 4) On the next screen, you can create a desktop shortcut if you want and click on “Next”.
Step 5) Choose the start menu folder. Keep selected JetBrains and click on “Install”.
Step 6) Wait for the installation to finish.
Step 7) Once installation finished, you should receive a message screen that PyCharm is installed. If you want to go ahead and run it, click the “Run PyCharm Community Edition” box first and click “Finish”
This course coveres installation of selenium, pyhon, pycharm and how automation occurs for any website while searching anything or performing any task on website..
Following topics are covered in this course
1. Introduction of python and selenium
2. Installation of python
3. Installation of pycharm
4. Installation of selenium
5. Get chrome browser
6. Search on chome browser
7. Get driver manager
SELENIUM :
What is Selenium?
Selenium IDE
Selenium Integrated Development Environment (IDE) is the simplest framework in the Selenium suite. It is a browser plugin to record and playback the operations performed on the browser. Selenium IDE plugins are available for Chrome and Firefox browsers. It doesn’t support the programming features. Selenese is the language which is used to write test scripts in Selenium IDE.
Benefits of Selenium IDE
Very use to use and install
Has built-in test results reporting module
No programming experience is required
It is used to create and execute Test cases using Firefox or Chrome browsers
The user can easily record the Test scripts
The user can edit the Test scripts
The user can create Test Suites.
Drawbacks of Selenium IDE
It doesn’t support iteration statements
No support for conditional statements
It doesn’t support error handling
It does not support Database testing
Available only in Firefox and Chrome
It doesn’t generate a detailed Test Reports summary.
Selenium RC
Selenium RC is a testing tool used for web applications testing. It supports programming using RC. Using RC, we can test out applications in multiple browsers and also in multiple operating systems.
Selenium RC has complex architecture hence slow in automation test execution. In Selenium RC, we need to launch a separate application called Selenium RC Server before we can start testing. Selenium RC server acts as a middleman between selenium commands and your browser. Selenium RC has been officially deprecated, you should use WebDriver or IDE to test your web applications.
COMPONENTS OF SELENIUM
Selenium IDE (Integrated Development Environment)
Selenium RC (Remote Control) – deprecated now
Selenium WebDriver
Selenium Grid
Selenium WebDriver
Selenium WebDriver is a web application testing tool introduced by eliminating the drawbacks of IDE and RC. It is simple in architecture and also easy to understand and use.