support Click to see our new support page.

Selenium Testing for Python

Selenium Testing for Python
Author

Keerthana VasanthMarch 19, 2020

Selenium is an open source and  portable tool for testing web applications. It provides a playback tool for authoring functional tests without the need to learn a test scripting language (Selenium IDE). It also provides a test domain specific language (Selenese) to write tests in a number of popular programming languages. The languages includes C#, Java, Perl, PHP, Python, Ruby and also Scala. The tests can then run against most modern web browsers. Selenium runs on Window, Linux and also mac-OS. It is an open source software released under the Apache License 2.0. In this blog we discuss in brief about Selenium Testing for Python.

 

How To Do Selenium Testing for python

Step 1 : Install python

Install python and pip. Then check python and pip is installed successfully.

python --version

pip – version

Step 2 : Install selenium python libraries

Install selenium libraries

pip install -U selenium

Step 3 : Download IDE -Pycharm

install pycharm

Step 4 : Create new project

Create new project in Pycharm.

File-->new-->give the name of file-->select the extension-->Ok

Step 5 : Add Selenium scripts

Add selenium scripts to the project

Step 6 : Run and validate

Run from IDE

Run from Command Line

Odoo_ERP_Services_India

LinkedIn LinkedIn

Leave a Comment