Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
251 views

Python With Selenium Automation Testing

This document discusses automating tests using Python and Selenium. It provides an overview of Python and how to install and use it for test automation. It describes how to install Selenium and add Selenium files to a Python framework. It also discusses how to run simple automation programs using Selenium, Python's IDLE, and the RIDE framework. It compares the Python webdriver to the RIDE framework and Python webdriver integration to Java webdriver integration.

Uploaded by

gnanalakshmi
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
251 views

Python With Selenium Automation Testing

This document discusses automating tests using Python and Selenium. It provides an overview of Python and how to install and use it for test automation. It describes how to install Selenium and add Selenium files to a Python framework. It also discusses how to run simple automation programs using Selenium, Python's IDLE, and the RIDE framework. It compares the Python webdriver to the RIDE framework and Python webdriver integration to Java webdriver integration.

Uploaded by

gnanalakshmi
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 17

Python with Selenium

Automation Testing

By:
Anup Chandrahasan
Test Engineer
PIT Solutions Pvt Ltd
Contents
• What is Python
• How to install Python
• How to install PIP
• How to add selenium files to python framework
• How to run a simple automation python program using selenium &
IDLE (Python IDE)
• Simple step to write a test result into excel file using python.
• RIDE Framework
• How to install RIDE framework using Python PIP.
Contents..
• How to run a simple automation program using RIDE Framework.
• Result viewing & generation using RIDE.
• Comparison between python webdriver & RIDE framework.
• Comparison between Python Webdriver integration & Java Webdriver
integration.
Python
• Python is a programming language.
• Python is a kind of scripting language like MATLAB.
• It is free open source.
• Has wide range of frameworks.
• Has wide range of modules & tools.
• Wide range of platforms.
PIP
• PIP is a recursive acronym meaning acronym calling itself.
• PIP = PIP Installs Packages.
Install Selenium using Python
• pip install selenium

• pip install –u selenium for installing & upgrading.

• Adding drivers for different browsers.


Simple python program for selenium
Automation
Python interaction Excel sheets and
writing test results

• Openpyxl & Xlswriter module installation.


• Writing reading & interact with excel sheets using python.
Python interaction Excel sheets and
writing test results ..
RIDE Framework
• Robot IDE Framework
• Test automation framework for acceptance testing.
• Keyword driven method.
How to install RIDE framework using Python PIP

• pip install robotframework


• Installs according to version name.
• More compatible with Python 27.
RIDE Programming & Result Generation
RIDE Programming & Result Generation..
RIDE Programming & Result Generation..
Python Webdriver VS RIDE

Python Webdriver RIDE


A framework needs to be developed. It is readymade framework for executing testcase &
report generation.
Complex need more programming Easy to use
Flexible Not flexible has a structure.
Python Webdriver VS Java Webdriver

Python Webdriver Java Webdriver


Easy to use & program Complex
Easy installation & integration. Difficult
Fast Faster
Thank You

You might also like