www.javatpoint.com Open in urlscan Pro
2606:4700:7::a29f:8a55  Public Scan

URL: https://www.javatpoint.com/selenium-python
Submission: On June 13 via api from US — Scanned from DE

Form analysis 2 forms found in the DOM

<form class="gsc-search-box gsc-search-box-tools" accept-charset="utf-8">
  <table cellspacing="0" cellpadding="0" class="gsc-search-box">
    <tbody>
      <tr>
        <td class="gsc-input">
          <div class="gsc-input-box" id="gsc-iw-id1">
            <table cellspacing="0" cellpadding="0" id="gs_id50" class="gstl_50 gsc-input" style="width: 100%; padding: 0px;">
              <tbody>
                <tr>
                  <td id="gs_tti50" class="gsib_a"><input autocomplete="off" type="text" size="10" class="gsc-input" name="search" title="search" id="gsc-i-id1" dir="ltr" spellcheck="false"
                      style="width: 100%; padding: 0px; border: none; margin: 0px; height: auto; outline: none;"></td>
                  <td class="gsib_b">
                    <div class="gsst_b" id="gs_st50" dir="ltr"><a class="gsst_a" href="javascript:void(0)" title="Clear search box" role="button" style="display: none;"><span class="gscb_a" id="gs_cb50" aria-hidden="true">×</span></a></div>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </td>
        <td class="gsc-search-button"><button class="gsc-search-button gsc-search-button-v2"><svg width="13" height="13" viewBox="0 0 13 13">
              <title>search</title>
              <path
                d="m4.8495 7.8226c0.82666 0 1.5262-0.29146 2.0985-0.87438 0.57232-0.58292 0.86378-1.2877 0.87438-2.1144 0.010599-0.82666-0.28086-1.5262-0.87438-2.0985-0.59352-0.57232-1.293-0.86378-2.0985-0.87438-0.8055-0.010599-1.5103 0.28086-2.1144 0.87438-0.60414 0.59352-0.8956 1.293-0.87438 2.0985 0.021197 0.8055 0.31266 1.5103 0.87438 2.1144 0.56172 0.60414 1.2665 0.8956 2.1144 0.87438zm4.4695 0.2115 3.681 3.6819-1.259 1.284-3.6817-3.7 0.0019784-0.69479-0.090043-0.098846c-0.87973 0.76087-1.92 1.1413-3.1207 1.1413-1.3553 0-2.5025-0.46363-3.4417-1.3909s-1.4088-2.0686-1.4088-3.4239c0-1.3553 0.4696-2.4966 1.4088-3.4239 0.9392-0.92727 2.0864-1.3969 3.4417-1.4088 1.3553-0.011889 2.4906 0.45771 3.406 1.4088 0.9154 0.95107 1.379 2.0924 1.3909 3.4239 0 1.2126-0.38043 2.2588-1.1413 3.1385l0.098834 0.090049z">
              </path>
            </svg></button></td>
        <td class="gsc-clear-button">
          <div class="gsc-clear-button" title="clear results">&nbsp;</div>
        </td>
      </tr>
    </tbody>
  </table>
</form>

<form class="gsc-search-box gsc-search-box-tools" accept-charset="utf-8">
  <table cellspacing="0" cellpadding="0" class="gsc-search-box">
    <tbody>
      <tr>
        <td class="gsc-input">
          <div class="gsc-input-box" id="gsc-iw-id2">
            <table cellspacing="0" cellpadding="0" id="gs_id51" class="gstl_51 gsc-input" style="width: 100%; padding: 0px;">
              <tbody>
                <tr>
                  <td id="gs_tti51" class="gsib_a"><input autocomplete="off" type="text" size="10" class="gsc-input" name="search" title="search" id="gsc-i-id2" dir="ltr" spellcheck="false"
                      style="width: 100%; padding: 0px; border: none; margin: 0px; height: auto; outline: none;"></td>
                  <td class="gsib_b">
                    <div class="gsst_b" id="gs_st51" dir="ltr"><a class="gsst_a" href="javascript:void(0)" title="Clear search box" role="button" style="display: none;"><span class="gscb_a" id="gs_cb51" aria-hidden="true">×</span></a></div>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </td>
        <td class="gsc-search-button"><button class="gsc-search-button gsc-search-button-v2"><svg width="13" height="13" viewBox="0 0 13 13">
              <title>search</title>
              <path
                d="m4.8495 7.8226c0.82666 0 1.5262-0.29146 2.0985-0.87438 0.57232-0.58292 0.86378-1.2877 0.87438-2.1144 0.010599-0.82666-0.28086-1.5262-0.87438-2.0985-0.59352-0.57232-1.293-0.86378-2.0985-0.87438-0.8055-0.010599-1.5103 0.28086-2.1144 0.87438-0.60414 0.59352-0.8956 1.293-0.87438 2.0985 0.021197 0.8055 0.31266 1.5103 0.87438 2.1144 0.56172 0.60414 1.2665 0.8956 2.1144 0.87438zm4.4695 0.2115 3.681 3.6819-1.259 1.284-3.6817-3.7 0.0019784-0.69479-0.090043-0.098846c-0.87973 0.76087-1.92 1.1413-3.1207 1.1413-1.3553 0-2.5025-0.46363-3.4417-1.3909s-1.4088-2.0686-1.4088-3.4239c0-1.3553 0.4696-2.4966 1.4088-3.4239 0.9392-0.92727 2.0864-1.3969 3.4417-1.4088 1.3553-0.011889 2.4906 0.45771 3.406 1.4088 0.9154 0.95107 1.379 2.0924 1.3909 3.4239 0 1.2126-0.38043 2.2588-1.1413 3.1385l0.098834 0.090049z">
              </path>
            </svg></button></td>
        <td class="gsc-clear-button">
          <div class="gsc-clear-button" title="clear results">&nbsp;</div>
        </td>
      </tr>
    </tbody>
  </table>
</form>

Text Content

⇧ SCROLL TO TOP
×

search
 

Custom Search

Sort by:
Relevance

Relevance
Date




×

search
 

Custom Search

Sort by:
Relevance

Relevance
Date



 * Home
 * Selenium Python
 * Selenium
 * Software Testing
 * Appium
 * JMeter
 * JUnit
 * Postman
 * Jira
 * TestNG
 * SoapUI
 * UIPath
 * RPA
 * QA
 * Interview Q





SELENIUM WITH PYTHON

Selenium Python Tutorial




SELENIUM WITH PYTHON TUTORIAL

In this tutorial, we will learn how to run a Selenium test script using Python
Programming language.

Before going further in this tutorial, first, we will understand some essential
points which will help us to implement test scripts in Python.

 * What is Selenium?
 * Why we use Selenium for automation testing?
 * What is Python?
 * Why is Python useful for automation testing?
 * Selenium with Python
 * Configure Selenium using Python
 * Configure PyDev in Eclipse

--------------------------------------------------------------------------------


WHAT IS SELENIUM?

Selenium is an open-source testing tool, which means it can be downloaded from
the internet without spending anything. Selenium is a functional testing tool
and also compatible with non-functional testing tools as well.

For further information about Selenium, refer the below link:
https://www.javatpoint.com/selenium-tutorial






WHY WE USE SELENIUM FOR AUTOMATION TESTING?

Selenium is one of the most popular automation testing tools. Here automation
testing is a process of converting any manual test case into the test scripts
using automation tools such as Selenium.

Following are some aspects that, why we prefer Selenium for automation testing:

 * The Selenium test scripts can be written in any programming languages like
   Java, Python, C#, Ruby, Perl, as so on.
 * The Selenium test scripts can be executed in many operating system platforms
   such as Windows, Mac, Linux, etc.
 * And the test scripts can be implemented on different browsers like Google
   Chrome, Mozilla Firefox, Internet Explorer, Safari, etc.
 * The Selenium testing tool can be associated with other testing tools such as
   TestNG, Junit for managing the test cases, and generating test reports.
 * To achieve continuous testing, Selenium is integrated with Maven, Jenkins,
   and Docker testing tools.


WHAT IS PYTHON?

 * Python supports the Object-Oriented Programming approach to establish the
   applications. It is simple and easy to learn and provides lots of high-level
   data structures. It is an open-source language.
 * It is a high-level and interpreter scripting programing language.
 * Python makes the development and debugging fastbecause there is no
   compilation step included in Python development.

For further details about Python language, refer the below link:
https://www.javatpoint.com/Python-tutorial


WHY IS PYTHON USEFUL FOR AUTOMATION TESTING?

 * Python is very useful for automation testing because it supports multiple
   programming patterns.
 * Python has many built-in testing frameworks such as Pytest and Robot, which
   covers the debugging and faster workflow.
 * It is an interpreted language means the interpreter implements the code line
   by line at a time that's makes debugging easy.
 * Python is Cross-platform Language; that's why it can run on different
   platforms like Windows, Linux, UNIX, and Macintosh,
 * Python can be easily implemented with other programming languages such as C,
   C++, JAVA, etc.


SELENIUM WITH PYTHON

There are two ways to run a Selenium test scripts with the help of Python:

 1. Configure Selenium using Python
 2. Configure PyDev in Eclipse.

Let us see how we configure Selenium with the help of Python programing
language:


CONFIGURE SELENIUM USING PYTHON

There are following steps to configure Selenium using Python:

 * Download and install Python on Windows
 * Install Selenium libraries in Python
 * Download and install PyCharm
 * Create a new project and write the Selenium test script
 * Run and validate the test scripts.


DOWNLOAD AND INSTALL PYTHON FOR WINDOWS

In this section, we will see how we download and install the Python for Windows
platform.

Download the Python





To download the latest version of Python for Windows Platforms, refer the below
link: https://www.Python.org/downloads/

 * Once we clicked on the above link, the latest Release version list is shown,
   where we clicked on the Python 3.8.1 version as we can see in the below
   screenshot:

 * The Python-3.8.1 version window will appear on the screen, then scroll the
   page little-bit and find the File section, and the click on the Windows
   x86-64 web-based installer link for the Windows operating system as we can
   see in the below screenshot:

Install the Python

After downloading the Python for Windows-64 bit, we will be ready to install the
Python.

To install the Python, follow the below process:

 * Once we double-click on the downloaded executable file, the Python
   3.8.1(64-bit) setup window will appear on the screen, where we have two
   options available to install the Python, which are:
   * Install Now
   * Customize installation
 * We will click on the Customize installation, and select Add Python 3.8 to
   path checkbox as we can see in the below image:

 * After, click on the customize installation, the Optional Features will appear
   on the screen, where we can select and deselect the features according to our
   requirements.
 * Then, click on the Next button, to proceed further as we can see in the below
   image:

 * Once, we clicked on the Next button; we have a list of Advanced Options
   available, where we can select the options based on our needs and also make
   sure that the Install for all users is selected.
 * We can also customize the install location according to our convenience by
   clicking on the Browse
 * After that, click on the Install button, to install the Python as we can see
   in the below screenshot:

 * The installing process is getting started after clicking on the Install
   button as we can see in the below screenshot:

 * When the installation is done, we got the confirmation message as Setup was
   successful, which means that the Python is installed successfully for the
   Windows operating system.
 * Then, click on the Close button, to close the setup window as we can observe
   in the below screenshot:

After that, we will check whether Python is installed successfully and working
fine or not.





So for this, we will open our command prompt, and type the command as Python and
press the Enter key, and it will open the Python interpreter shell where we can
implement the Python program as we can see in the below image:


INSTALLING THE SELENIUM LIBRARIES IN PYTHON

Once we successfully install the Python in our operation system, we will install
the Selenium libraries.

For this, we will execute the following command in our command prompt:





 1. Python -m pip install -U Selenium  

Python -m pip install -U Selenium

And, this command will successfully install the latest Selenium package i.e.,
Selenium -3.141.0 added to the libraries as we can see in the below image:

After that executing the above command, it will create the Selenium folder
automatically having all the Selenium libraries as we can see in the below
screenshot:


DOWNLOAD AND INSTALL PYCHARM

Once we successfully install the Selenium libraries into Python, we are ready to
download Python IDE that is PyCharm.

To download the PyCharm, follow the below process:

 * Refer the below link, to download the PyCharm
   https://www.jetbrains.com/pycharm/download/#section=windows
 * Once we clicked on the above link, we will get the below window, where will
   click on the Download button under the Community section for the Windows

 * After that, double-click on the executable file to install the PyCharm, and
   the PyCharm Community Edition Setup window will appear on the screen, where
   we click on the Next button to proceed further as we can see in the below
   image:

 * In the next step, we can Choose Install location by clicking on the Browser
   button, then click on the Next button for further process.

 * In the next step, we have some Installation Options available, and we can
   select them based on our requirements.
 * After that, click on the Next button as we can see in the below image:

 * Then, click on the Install button to install the PyCharm, as we can see in
   the below screenshot:

 * As we can see in the below image, the installation process is getting
   started.

 * Then, click on the Finish button to finish the installation process as we can
   see in the below image:


CREATE A NEW PROJECT AND WRITE THE SELENIUM TEST SCRIPT

Once we successfully install the PyCharm, we will open the PyCharm IDE for
creating a new project.

Create a New Project in PyCharm

Follow the below process, to create a new project in PyCharm:

 * First, open the PyCharm by Double-click on it, and click on the Create New
   Project as we can see in the below image:

 * After that, we will provide the project name as SeleniumTest, and click on
   the Create button as we can see in the below image:

 * After clicking on the Create button, we will get the below window:

Adding Selenium Test Scripts

For adding the Selenium test scripts in the PyCharm, follow the below process:





 * Right-click on the SeleniumTest project, then go to New, and we can add any
   of the options in the given list according to our requirements.
 * But, here we are adding the Python file, so for this, we will add the
   Directory which helps us to manage them separately as we can see in the below
   screenshot:

 * And, provide the Directory name, in our case we give it as Demo
 * After that, press the Enter key as we can see in the below screenshot:

 * After creating a Directory, we will right-click on the Demo Directory then go
   to New, and select Python File from the pop-up menu as we can see in the
   below image:
   Demo → New → Python File

 * And, we provide a name to python file as Sample1.
 * Then, press the Enter key as we can see in the below image:

 * After that, we got the IDE where we can create or write our Selenium test
   Scripts.

Write the Selenium test script

For our testing purpose, we will first go to the Google Home page and search
javatpoint from there.

We are creating our sample test script step by step to give you a complete
understanding of how we write a Selenium test script in Python programming
language.

For this, follow the below steps:

Steps Actions Input Expected Result 1. Import WebDriver from selenium. The
WebDriver should be imported. 2. Open the Google Chrome browser. The Google
Chrome browser should be opened. 3. Maximize the browser window. The browser
window should be maximized. 4. Navigate to the Google home page.
https://www.google.com/ The Google home page must be displayed. 5. Identify the
Google search text box and pass the value. javatpoint The value should be
entered in the search text box. 6. Click on the Google search button. The Google
search button should be clicked. 7. Close the Browser. The Browser should be
closed.

Step1

In the first step, we will type the following statement to import the web
driver:

 1. from selenium import webdriver  

from selenium import webdriver



Step2

After that, we will open the Google Chrome browser.

As we can see in the below screenshot, we have multiple types of browsers
options available, and we can select any browser from the list like Chrome,
Edge, firefox, Internet Explorer, opera, safari, etc.

Following are the sample code for opening the Google Chrome browser:

 1. driver = webdriver.Chrome()  

driver = webdriver.Chrome()

Step3

In the next step, we will be maximizing our browser window size, and the sample
code is as below:

 1. driver.maximize_window()  

driver.maximize_window()

Step4

Then, we will navigate to the given URL.

The sample code is as below:

 1. driver.get("https://www.google.com/")  

driver.get("https://www.google.com/")

NOTE: AS WE KNOW THAT PYTHON IS A VERY EASY LANGUAGE TO WRITE CODE BECAUSE WE
DON'T HAVE TO WRITE MULTIPLE STATEMENTS LIKE AS WE DID IT JAVA. OR IF WE WANT TO
COMMENT OUT SOMETHING, WE JUST SIMPLY PUT A HASH[#] IN OUR STATEMENTS, OR WE CAN
DIRECTLY PRESS CTRL+ FORWARD SLASH [/] FROM OUR KEYBOARD.

Step5

In this step, we are trying to locate the Google search text box with the help
of its Name attribute value.

 * Right-click on the Google search text box, and select the Inspect option in
   the pop-up menu as we can see in the below image:

 * The developer tool window will be launched with all the specific codes used
   in the development of the Google search text box.
 * And, copy the value of its Name attribute, that is "q" as we can see in the
   below image:

Here the sample code:

 1. driver.find_element_by_name("q").send_keys("javatpoint")  

driver.find_element_by_name("q").send_keys("javatpoint")

Step6

Once we identify the Google search text box, and we will identify the Google
Search button.

So for this, follow the below process:

 * Right-click on the Google searchbutton, and select the Inspect option from
   the given pop-up menu as we can see in the below image:

 * The developer tool window will be launched with having all the specific codes
   used in the development of the Google search button.
 * Then, copy the value of its name attribute that is "btnK" as we can see in
   the below image:

And, the sample code is as following:

 1. driver.find_element_by_name("btnK").send_keys(Keys.ENTER)  

driver.find_element_by_name("btnK").send_keys(Keys.ENTER)

Step7

In the last step, we are closing the browser.

And, the sample code for closing the browser is as follows:





 1. driver.close()  

driver.close()

Our final test script will look like this, after completing all the above steps:

 1.  from Selenium import webdriver  
 2.  import time  
 3.  from Selenium.webdriver.common.keys import Keys  
 4.  print("sample test case started")  
 5.  driver = webdriver.Chrome()  
 6.  #driver=webdriver.firefox()  
 7.  #driver=webdriver.ie()  
 8.  #maximize the window size  
 9.  driver.maximize_window()  
 10. #navigate to the url  
 11. driver.get("https://www.google.com/")  
 12. #identify the Google search text box and enter the value  
 13. driver.find_element_by_name("q").send_keys("javatpoint")  
 14. time.sleep(3)  
 15. #click on the Google search button  
 16. driver.find_element_by_name("btnK").send_keys(Keys.ENTER)  
 17. time.sleep(3)  
 18. #close the browser  
 19. driver.close()  
 20. print("sample test case successfully completed")  

from Selenium import webdriver import time from Selenium.webdriver.common.keys
import Keys print("sample test case started") driver = webdriver.Chrome()
#driver=webdriver.firefox() #driver=webdriver.ie() #maximize the window size
driver.maximize_window() #navigate to the url
driver.get("https://www.google.com/") #identify the Google search text box and
enter the value driver.find_element_by_name("q").send_keys("javatpoint")
time.sleep(3) #click on the Google search button
driver.find_element_by_name("btnK").send_keys(Keys.ENTER) time.sleep(3) #close
the browser driver.close() print("sample test case successfully completed")

NOTE:
IMPORT TIME: TIME IS A PYTHON MODULE, WHICH IS USED TO HANDLE THE TIME-RELATED
TASKS SUCH AS TIME.SLEEP().

from Selenium.webdriver.common.keys import Keys:

Here, we are adding Keys libraries from Selenium, like in the above code, we are
using the Enter key instead of click() method to perform a particular scenario.


RUN AND VALIDATE THE TEST SCRIPTS

Once we are done with writing the Selenium test script, we will run our test
scripts.

Here we will run our test scripts in two ways:

 * Run in Python IDE
 * Run in Command Prompt

Run in Python IDE

So, for this first, we will see how to run the Selenium test script in Python
IDE.

 * Right-click on the code, and select Run 'Sample1' from the popup menu as we
   can see in the below screenshot:

 * When we run this script it will give an exception because we don't have the
   Chrome driver executable file as we can in the below image:

To overcome this exception, we will download the chrome driver executable from
below link:
https://chromedriver.storage.googleapis.com/index.html?path=79.0.3945.36/

 * Once we click on the above link, we will click on the zip file based upon our
   operating system platform. Like we have Windows platform that's why we
   clicked on thezip to download the Executable file as we can see in the below
   screenshot:

 * After downloading the exe file, we can paste this file to the Python folder
   and unzip it.
 * Then, we will create one more folder called libraries as Browsers in the
   Python IDE.
 * Right-click on the Project(SeleniumTest) → New → Directory as we can see in
   the below screenshot:

 * And, we will add all the driver's executable files in the Browsers folder
   manually.
 * For this, we will copy the chrome driver exe file from the Python folder, and
   paste in the Browser folder as we can see in the below image:

 * Now go to PyCharm IDE, and copy the Absolute path of chromdriver.exe file as
   we can see in the below screenshot:

 * Replace the statement "driver = webdriver.Chrome()" with a statement given
   below:

 1. driver=webdriver.Chrome(r"C:\Users\JTP\PycharmProjects\SeleniumTest\Browsers\chromedriver.exe")  

driver=webdriver.Chrome(r"C:\Users\JTP\PycharmProjects\SeleniumTest\Browsers\chromedriver.exe")

NOTE: HERE, WE WILL USE "R" TO OVERCOME THE UNICODE ERROR.

As we can see in the below screenshot, if we do not put r in the code, it will
generate the Syntax Error.

 * After that, we will run the sample1 once again, and it will execute the code
   successfully as we can see in the below image:

The above test script will launch the Google Chrome browser and automate all the
test scenarios.

Run in Command Prompt

To run the above test script in the Command prompt, follow the below process:

 * Copy the location of the Sample1.py file as we can see in the below image:

 * And paste in the command Prompt, first go to the particular folder then enter
   the below command:
   Python Sample1.py
 * Then, press the Enter key as we can see in the below screenshot that the
   sample test case stared.
 * And after automating all the scenarios, it will show the message as a sample
   test case successfully completed.


CONFIGURE PYDEV IN ECLIPSE

This is another way to execute the Selenium test script using Python.

In this section, we will install PyDev in Eclipse, then implement the Selenium
test scripts on it.

 * Install PyDev
 * Execute the Selenium test scripts using Python.


INSTALL PYDEV

To install the PyDev in Eclipse, follow the below process:

 * PyDev installation
 * Set the preference
 * Create a new project
 * Create a new package
 * Create a PyDev Module


PYDEV INSTALLATION

Before start installing PyDev in Eclipse, make sure that we already installed
the latest version of Eclipse IDE.

 * Double-click on the Eclipse IDE software.
 * Then, go to Help in the toolbar and select Eclipse Marketplace option in the
   given pop-up menu as we can see in the below screenshot:

 * Eclipse Marketplace window will open, and in the search area, we will type
   PyDev and press the Enter
 * Then, click on the Install button as we can see in the below screenshot:

 * Once we clicked on the install button; it will start the installation process
   and then click on the Confirm Button for further process as we can see in the
   below process:

 * Then, select I accept the terms of the license agreements option and click on
   the Finish button to finish the installation process as we can observe in the
   below image:

 * Once the installation is done, restart your Eclipse IDE as we can see in the
   below image:

 * After that, we will set the preference to use the Python project based on our
   requirements.


SET THE PREFERENCE

To set the preference, follow the below process:

 * Go to the Window option in the Eclipse Ide toolbar, then select the
   Preference option in the given list as we can see in the below image:

 * The Preference Window will open where we will expand the PyDev then again
   expand the Interpreters and select the Python Interpreter from the given
   list. Click on the Browse for Python/pypy.exe option as we can observe in the
   below image:
   PyDev → Interpreters → Python Interpreter

 * Once we click on the Browse for Python/pypy.exe, we will provide the
   Interpreter Name and Executable file path of Python.
 * For this, in the Select interpreter pop-up window, click on the Browse
   button, and browse the Executable file path of Python in our local system,
   and click on the OK button as we can see in the below Image:

 * After that, click on the Select All button, then click on OK button to select
   the folders as we can see in the below screenshot:

 * Then, click on the Apply and Close button, to complete the setting preference
   process as we can see in the below screenshot:

 * After setting the preference successfully, we will create a new project in
   Python.


CREATE A NEW PROJECT

To create a new project, follow the below steps:

 * Go to the File menu then go to New and select Other option in the popup menu
   as we can see in the below image:
   File → New → Other

 * Once the Other option is selected, [New] window will open where we will
   expand PyDev and choose PyDev Project, and click on the Next Button as we can
   see in the below image:

 * Once we clicked on the Next button; we will provide the Project name and
   click on the Finish button as we can observe in the below image:

 * The Python project is created in the Eclipse as we can see in the below
   image:

 * When we are done with creating a Python project, we will create a new Python
   Package.


CREATE A NEW PACKAGE

Follow the below process, to create a new package:

 * Right-click on the newly created project(SeleniumTest), go to New, then
   select PyDev Package in the given Popup menu as we can see in the below
   image:

 * Then provide the name of the PyDev Package, and click on the Finish Button as
   we can see in the below image:

 * As we can see in the below screenshot that the new package is created.

After creating a PyDev Package, we will create a PyDev module.


CREATE A PYDEV MODULE

To create a PyDev module, follow the below process:

 * Right-click on the newly created Package[Demo], then go to New and select
   PyDev Module from the given list as we can see in the below screenshot:
   Demo → New → PyDev Module

 * Then give the PyDev Module name [Test], and click on the Finish button as we
   can observe in the below screenshot:

 * After that, we will select the Empty template from the given list, and click
   on the OK button as we can see in the below image:

 * Once we have done with creating a Python model, we are ready to write and
   execute our Selenium test scripts.


WRITE AND EXECUTE THE SELENIUM TEST SCRIPT


WRITE THE SELENIUM TEST SCRIPT

For our testing purpose, we will perform a Login test on the Gmail application.

In this test, we will automate the below test scenarios:

Steps Actions Input Expected Result 1. Import web driver from Selenium. Web
driver should be imported. 2. Open the Google Chrome browser. The Google Chrome
browser should be opened. 3. Maximize the browser and delete all the cookies The
browser should be maximized, and cookies should be deleted. 4. Navigate to the
home page Gmail application. https://www.gmail.com The Gmail home page must be
displayed. 5. Identify the username text box and pass the value. xyz11@gmail.com
The username text box should be identified and value should be entered in the
username text box. 6. Click on the Next button. The next button should be
clicked. 7. Identify the password text box and pass the value. ####### The
password text box should be identified and value should be entered in the
Password text box. 8. Click on the Next button. The next button should be
clicked. 9. Close the Browser. The Browser should be closed.

Follow the below steps:

Step1

In the first step, we will import the web driver with the help of the following
statement:

 1. from selenium import webdriver  

from selenium import webdriver

Step2

After that, we will open the Google Chrome browser.

 * To launch the Google Chrome or any other browser (Firefox, ie, etc.), we need
   to download the executable files of the Chrome driver from the given link:
   https://sites.google.com/a/chromium.org/chromedriver/downloads
 * Then, paste the downloading exe file in the Python package (demo) to overcome
   the exceptions as we can see in the below screenshot:

The sample code is as below:

 1. #open Google Chrome browser  
 2. driver = webdriver.Chrome()  

#open Google Chrome browser driver = webdriver.Chrome()

Step3

In the next step, we maximize and delete all the cookies of the browser window.

Here the sample code:

 1. #maximize the window size  
 2. driver.maximize_window()  
 3. #delete the cookies  
 4. driver.delete_all_cookies()  

#maximize the window size driver.maximize_window() #delete the cookies
driver.delete_all_cookies()

Step4

In this step, we will navigate to the Gmail application URL.

The sample code is as below:





 1. #navigate to the url  
 2. driver.get("https://www.gmail.com")  

#navigate to the url driver.get("https://www.gmail.com")

Step5

Once we navigate to the URL of the Gmail application, we will identify the
username text box and passing the value of it.

To identify the username text box, follow the below process:

 * Right-click on the username text box.
 * And select the Inspect option in the given pop-up menu as we can see in the
   below screenshot:

 * The developer tool window will open with all the specific codes used in the
   development of the usernametext box.
 * Then, copy the value of its id attribute that is: identifierId as we can see
   in the below image:

 * And, here the sample code:

 1. #identify the user name text box and enter the value  
 2. driver.find_element_by_id("identifierId").send_keys("xyz11@gmail.com")  
 3. time.sleep(2)  

#identify the user name text box and enter the value
driver.find_element_by_id("identifierId").send_keys("xyz11@gmail.com")
time.sleep(2)

Step6

In this step, we will identify the Next button and click on it.

To identify the Next button, follow the below process:

 * Right-click on the next button, and click on the Inspect option in the given
   pop-up menu as we can see in the below image:

 * The developer tool window will open with all the specific codes used in the
   development of the Next
 * And, copy the value of its absolute XPath that is: //span[@class='RveJvd
   snByac'] from the chropath section as we can see in the below image:

 * Here the sample code:

 1. #click on the next button  
 2. driver.find_element_by_xpath("//span[@class='RveJvd snByac'][1]").click()  
 3. time.sleep(3)  

#click on the next button driver.find_element_by_xpath("//span[@class='RveJvd
snByac'][1]").click() time.sleep(3)

Step7

In this step, we will identify the password text box and pass the value of it.

To identify the password textbox, follow the below process:

 * Right-click on the password text box, and click on the Inspect Option from
   the given pop-up menu as we can see in the below screenshot:

 * The developer tool window will open with all the specific codes used in the
   development of the password text box.
 * And, copy the value of name attribute, i.e., password as we can see in the
   below image:

Here the sample code:

 1. #identify the password text box and enter the value   
 2. driver.find_element_by_name("password").send_keys("########")  
 3. time.sleep(3)  

#identify the password text box and enter the value
driver.find_element_by_name("password").send_keys("########") time.sleep(3)

Step8

In this step, we will identify the Next button and click on it.

To identify the Next button, follow the below process:

 * Right-click on the next button, and click on the Inspect option in the given
   pop-up menu as we can see in the below image:

 * The developer tool window will open with all the specific codes used in the
   development of the Next
 * Copy the value of its absolute XPath that is: //span[contains(text(),'Next')]
   from the chropath section as we can see in the below image:

Here the sample code:

 1. #click on the next button  
 2. driver.find_element_by_xpath("//span[contains(text(),'Next')][1]").click()  
 3. time.sleep(3)  

#click on the next button
driver.find_element_by_xpath("//span[contains(text(),'Next')][1]").click()
time.sleep(3)

Step9

In the last step of the test script, we will close the browser.

Here the sample code:

 1. #close the browser  
 2. driver.close()  

#close the browser driver.close()

And, our final test script will look like this after writing all the above steps
successfully.

 1.  from Selenium import webdriver  
 2.  import time  
 3.  from Selenium.webdriver.common.keys import Keys  
 4.  print("test case started")  
 5.  #open Google Chrome browser  
 6.  driver = webdriver.Chrome()  
 7.  #maximize the window size  
 8.  driver.maximize_window()  
 9.  #delete the cookies  
 10. driver.delete_all_cookies()  
 11. #navigate to the url  
 12. driver.get("https://www.gmail.com")  
 13. #identify the user name text box and enter the value  
 14. driver.find_element_by_id("identifierId").send_keys("xyz11@gmail.com")  
 15. time.sleep(2)  
 16. #click on the next button  
 17. driver.find_element_by_xpath("//span[@class='RveJvd snByac'][1]").click()  
 18. time.sleep(3)  
 19. #identify the password text box and enter the value   
 20. driver.find_element_by_name("password").send_keys("#########")  
 21. time.sleep(3)  
 22. #click on the next button  
 23. driver.find_element_by_xpath("//span[contains(text(),'Next')][1]").click()  
 24. time.sleep(3)  
 25. #close the browser  
 26. driver.close()  
 27. print("Gmail login has been successfully completed")  

from Selenium import webdriver import time from Selenium.webdriver.common.keys
import Keys print("test case started") #open Google Chrome browser driver =
webdriver.Chrome() #maximize the window size driver.maximize_window() #delete
the cookies driver.delete_all_cookies() #navigate to the url
driver.get("https://www.gmail.com") #identify the user name text box and enter
the value driver.find_element_by_id("identifierId").send_keys("xyz11@gmail.com")
time.sleep(2) #click on the next button
driver.find_element_by_xpath("//span[@class='RveJvd snByac'][1]").click()
time.sleep(3) #identify the password text box and enter the value
driver.find_element_by_name("password").send_keys("#########") time.sleep(3)
#click on the next button
driver.find_element_by_xpath("//span[contains(text(),'Next')][1]").click()
time.sleep(3) #close the browser driver.close() print("Gmail login has been
successfully completed")

NOTE: IN THE ABOVE CODE, USE YOUR GMAIL ID AT PLACE: XYZ11@GMAIL.COM AND
PASSWORD: #########


RUN THE TEST SCRIPT

To run the above test script, we will right-click on the code and then select
Run As → Python Run as we see in the below screenshot:

The above test script will launch the Google Chrome browser and automate all the
test scenarios.

And, as we can see in the below screenshot that our code is running successfully
as we get the print message (output) on the console screen.

--------------------------------------------------------------------------------





--------------------------------------------------------------------------------

For Videos Join Our Youtube Channel: Join Now

--------------------------------------------------------------------------------


FEEDBACK

 * Send your Feedback to feedback@javatpoint.com

--------------------------------------------------------------------------------


HELP OTHERS, PLEASE SHARE

--------------------------------------------------------------------------------


LEARN LATEST TUTORIALS

Splunk

SPSS

Swagger

Transact-SQL

Tumblr

ReactJS

Regex

Reinforcement Learning

R Programming

RxJS

React Native

Python Design Patterns

Python Pillow

Python Turtle

Keras

--------------------------------------------------------------------------------


PREPARATION

Aptitude

Reasoning

Verbal Ability

Interview Questions

Company Questions

--------------------------------------------------------------------------------


TRENDING TECHNOLOGIES

Artificial Intelligence

AWS

Selenium

Cloud Computing

Hadoop

ReactJS

Data Science

Angular 7

Blockchain

Git

Machine Learning

DevOps



--------------------------------------------------------------------------------


B.TECH / MCA

DBMS

Data Structures

DAA

Operating System

Computer Network

Compiler Design

Computer Organization

Discrete Mathematics

Ethical Hacking

Computer Graphics

Software Engineering

Web Technology

Cyber Security

Automata

C Programming

C++

Java

.Net

Python

Programs

Control System

Data Mining

Data Warehouse















JAVATPOINT SERVICES

JavaTpoint offers too many high quality services. Mail us on hr@javatpoint.com,
to get more information about given services.

 * Website Designing
 * Website Development
 * Java Development
 * PHP Development
 * WordPress
 * Graphic Designing
 * Logo
 * Digital Marketing
 * On Page and Off Page SEO
 * PPC
 * Content Development
 * Corporate Training
 * Classroom and Online Training
 * Data Entry




TRAINING FOR COLLEGE CAMPUS

JavaTpoint offers college campus training on Core Java, Advance Java, .Net,
Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at
hr@javatpoint.com.
Duration: 1 week to 2 week


Like/Subscribe us for latest updates or newsletter


LEARN TUTORIALS

Learn JavaLearn Data StructuresLearn C ProgrammingLearn C++ TutorialLearn C#
TutorialLearn PHP TutorialLearn HTML TutorialLearn JavaScript TutorialLearn
jQuery TutorialLearn Spring Tutorial


OUR WEBSITES

Javatpoint.comHindi100.comLyricsia.comQuoteperson.comJobandplacement.com


OUR SERVICES

Website Development

Android Development

Website Designing

Digital Marketing

Summer Training

Industrial Training

College Campus Training


CONTACT

Address: G-13, 2nd Floor, Sec-3

Noida, UP, 201301, India

Contact No: 0120-4256464, 9990449935

Contact Us Subscribe Us Privacy PolicySitemap
About Me

© Copyright 2011-2021 www.javatpoint.com. All rights reserved. Developed by
JavaTpoint.








WELCOME TO JAVATPOINT


JAVATPOINT ASKS FOR YOUR CONSENT TO:

 * perm_identity
   Personalised ads and content, ad and content measurement, audience insights
   and product development
 * devices
   Store and/or access information on a device

expand_moreremove
Learn more
 * 
   How can I change my choice?
 * 
   What if I don't consent?
 * 
   How does legitimate interest work?
 * 
   Do I have to consent to everything?

Your personal data will be processed and information from your device (cookies,
unique identifiers, and other device data) may be stored by, accessed by and
shared with third party vendors, or used specifically by this site or app.

Some vendors may process your personal data on the basis of legitimate interest,
which you can object to by managing your options below. Look for a link at the
bottom of this page or in our privacy policy where you can withdraw consent.

Consent



Manage options

arrow_back

Data preferences


MANAGE YOUR DATA

You can choose how your personal data is used. Vendors want your permission to
do the following:

TCF vendors

help_outline


STORE AND/OR ACCESS INFORMATION ON A DEVICE

Cookies, device identifiers, or other information can be stored or accessed on
your device for the purposes presented to you. View details
Consent


SELECT BASIC ADS

Ads can be shown to you based on the content you’re viewing, the app you’re
using, your approximate location, or your device type. View details
ConsentLegitimate interesthelp_outline


CREATE A PERSONALISED ADS PROFILE

A profile can be built about you and your interests to show you personalised ads
that are relevant to you. View details
ConsentLegitimate interesthelp_outline


SELECT PERSONALISED ADS

Personalised ads can be shown to you based on a profile about you. View details
ConsentLegitimate interesthelp_outline


CREATE A PERSONALISED CONTENT PROFILE

A profile can be built about you and your interests to show you personalised
content that is relevant to you. View details
ConsentLegitimate interesthelp_outline


SELECT PERSONALISED CONTENT

Personalised content can be shown to you based on a profile about you. View
details
ConsentLegitimate interesthelp_outline


MEASURE AD PERFORMANCE

The performance and effectiveness of ads that you see or interact with can be
measured. View details
ConsentLegitimate interesthelp_outline


MEASURE CONTENT PERFORMANCE

The performance and effectiveness of content that you see or interact with can
be measured. View details
ConsentLegitimate interesthelp_outline


APPLY MARKET RESEARCH TO GENERATE AUDIENCE INSIGHTS

Market research can be used to learn more about the audiences who visit
sites/apps and view ads. View details
ConsentLegitimate interesthelp_outline


DEVELOP AND IMPROVE PRODUCTS

Your data can be used to improve existing systems and software, and to develop
new products View details
ConsentLegitimate interesthelp_outline


ENSURE SECURITY, PREVENT FRAUD, AND DEBUG

help_outline
Your data can be used to monitor for and prevent fraudulent activity, and ensure
systems and processes work properly and securely. View details


TECHNICALLY DELIVER ADS OR CONTENT

help_outline
Your device can receive and send information that allows you to see and interact
with ads and content. View details


MATCH AND COMBINE OFFLINE DATA SOURCES

help_outline
Data from offline data sources can be combined with your online activity in
support of one or more purposes View details


LINK DIFFERENT DEVICES

help_outline
Different devices can be determined as belonging to you or your household in
support of one or more of purposes. View details


RECEIVE AND USE AUTOMATICALLY-SENT DEVICE CHARACTERISTICS FOR IDENTIFICATION

help_outline
Your device might be distinguished from other devices based on information it
automatically sends, such as IP address or browser type. View details


USE PRECISE GEOLOCATION DATA

Your precise geolocation data can be used in support of one or more purposes.
This means your location can be accurate to within several meters. View details
Consent

You can choose your data preferences. This site or app wants your permission to
do the following:

Site or app


SELECT BASIC ADS

Ads can be shown to you based on the content you’re viewing, the app you’re
using, your approximate location, or your device type. View details
Consent


CREATE A PERSONALISED ADS PROFILE

A profile can be built about you and your interests to show you personalised ads
that are relevant to you. View details
Consent


SELECT PERSONALISED ADS

Personalised ads can be shown to you based on a profile about you. View details
Consent

Vendor preferences

Accept all



Confirm choices

arrow_back

Vendor preferences


CONFIRM OUR VENDORS

Vendors can use your data to provide services. Declining a vendor can stop them
from using the data you shared.

TCF vendors

help_outline


EXPONENTIAL INTERACTIVE, INC D/B/A VDX.TV

Cookie duration: 90 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ROQ.AD INC.

Cookie duration: 365 (days). Cookie duration resets each session.

View details | Privacy policylaunch
Consent


INDEX EXCHANGE, INC.

Cookie duration: 395 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


QUANTCAST

Cookie duration: 397 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


BEESWAXIO CORPORATION

Cookie duration: 395 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SOVRN HOLDINGS INC

Cookie duration: 365 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADIKTEEV

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


RTB HOUSE S.A.

Cookie duration: 365 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


WIDESPACE AB

Cookie duration: 372 (days). Cookie duration resets each session.

View details | Storage details | Privacy policylaunch
Consent


THE TRADE DESK

Cookie duration: 365 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADMETRICS GMBH

Doesn't use cookies.

View details | Privacy policylaunch
Consent


AMOBEE INC.

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


EPSILON

Cookie duration: 400 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


YAHOO EMEA LIMITED

Cookie duration: 397 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADVENTORI SAS

Cookie duration: 90 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


TRIPLELIFT, INC.

Cookie duration: 90 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


XANDR, INC.

Cookie duration: 90 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


NEORY GMBH

Cookie duration: 90 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


UNRULY GROUP LLC

Cookie duration: 395 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


NEURAL.ONE

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Storage details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADITION TECHNOLOGIES GMBH

Cookie duration: 90 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ACTIVE AGENT (ADITION TECHNOLOGIES GMBH)

Cookie duration: 90 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


TABOOLA EUROPE LIMITED

Cookie duration: 366 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SMART ADSERVER

Cookie duration: 396 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADFORM

Cookie duration: 60 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


MAGNITE, INC.

Cookie duration: 365 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADARA MEDIA UNLIMITED

Cookie duration: 730 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SIFT MEDIA, INC

Doesn't use cookies.

View details | Privacy policylaunch
Consent


RAKUTEN MARKETING LLC

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


AVOCET SYSTEMS LIMITED

Cookie duration: 365 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


LIFESTREET CORPORATION

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SIZMEK BY AMAZON

Cookie duration: 396 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


OPENX

Cookie duration: 365 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


YIELDLAB AG

Cookie duration: 365 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ROKU ADVERTISING SERVICES

Cookie duration: 731 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


NANO INTERACTIVE GMBH

Cookie duration: 182 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SIMPLIFI HOLDINGS INC

Cookie duration: 366 (days).

View details | Privacy policylaunch
Consent


PUBMATIC, INC.

Cookie duration: 90 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


COMSCORE B.V.

Cookie duration: 720 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


FLASHTALKING, INC.

Cookie duration: 730 (days).

View details | Privacy policylaunch
Consent


MEDIAMATH, INC.

Cookie duration: 393 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SMAATO, INC.

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SEMASIO GMBH

Cookie duration: 366 (days). Cookie duration resets each session.

View details | Storage details | Privacy policylaunch
Consent


CRIMTAN HOLDINGS LIMITED

Cookie duration: 365 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


BETGENIUS LTD

Cookie duration: 365 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


TRESENSA TECHNOLOGIES, INC.

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


CRITEO SA

Cookie duration: 390 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADLOOX SA

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


BLIS MEDIA LIMITED

Cookie duration: 400 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Storage details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


LOTAME SOLUTIONS, INC

Cookie duration: 274 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
Consent


LIVERAMP

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


GROUPM UK LIMITED

Cookie duration: 395 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


MAGNITE, INC. (OUTSTREAM)

Cookie duration: 366 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


LOOPME LIMITED

Cookie duration: 365 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


DYNATA LLC

Cookie duration: 365 (days).

View details | Privacy policylaunch
Consent


FUSIO BY S4M

Cookie duration: 1 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


TEEMO SA

Cookie duration: 30 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


DOUBLEVERIFY INC.

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


BIDSWITCH GMBH

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Storage details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


IPONWEB GMBH

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Storage details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


NEXTROLL, INC.

Cookie duration: 395 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


TEADS

Cookie duration: 365 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


STRÖER SSP GMBH (SSP)

Cookie duration: 365 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


STRÖER SSP GMBH (DSP)

Cookie duration: 90 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


CONNECTAD REALTIME GMBH

Cookie duration: 31 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


PERMODO GMBH

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


PLATFORM161 B.V.

Cookie duration: 396 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


1020, INC. DBA PLACECAST AND ERICSSON EMODO

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADACADO TECHNOLOGIES INC. (DBA ADACADO)

Cookie duration: 365 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


MEETRICS GMBH

Cookie duration: 365 (days).

View details | Storage details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SMADEX, S.L.U.

Cookie duration: 365 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


BOMBORA INC.

Cookie duration: 365 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


OUTBRAIN UK LTD

Cookie duration: 90 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SPOTX, INC

Cookie duration: 366 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


EASYMEDIA GMBH

Cookie duration: 365 (days). Cookie duration resets each session.

View details | Privacy policylaunch
Consent


YIELDMO, INC.

Cookie duration: 365 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


REMERGE GMBH

Doesn't use cookies.

View details | Privacy policylaunch
Consent


ADVANCED STORE GMBH

Cookie duration: 24856 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


MAGNITE CTV, INC.

Cookie duration: 366 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


DELTA PROJECTS AB

Cookie duration: 365 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ZEMANTA, INC.

Cookie duration: 365 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


USEMAX ADVERTISEMENT (EMEGO GMBH)

Cookie duration: 365 (days). Cookie duration resets each session.

View details | Storage details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


EMETRIQ GMBH

Cookie duration: 365 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


PUBLICIS MEDIA GMBH

Cookie duration: 90 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
Consent


MCCANN DISCIPLINE LTD

Cookie duration: 25 (days).

View details | Privacy policylaunch
Consent


ONETAG LIMITED

Cookie duration: 741 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


CLOUD TECHNOLOGIES S.A.

Cookie duration: 365 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SMARTOLOGY LIMITED

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


IMPROVE DIGITAL

Cookie duration: 90 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADOBE ADVERTISING CLOUD

Cookie duration: 365 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


BANNERFLOW AB

Cookie duration: 366 (days).

View details | Storage details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


TABMO SAS

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


INTEGRAL AD SCIENCE, INC.

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


WIZALY

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
Consent


WEBORAMA

Cookie duration: 393 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


JIVOX CORPORATION

Cookie duration: 90 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


MOBILE PROFESSIONALS BV / SAGE&#43;ARCHER BV

Doesn't use cookies.

View details | Privacy policylaunch
Consent


ON DEVICE RESEARCH LIMITED

Cookie duration: 30 (days).

View details | Storage details | Privacy policylaunch
Consent


EXACTAG GMBH

Cookie duration: 180 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


CELTRA, INC.

Doesn't use cookies. Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


MAINADV SRL

Cookie duration: 1 (days). Cookie duration resets each session. Uses other forms
of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


GEMIUS SA

Cookie duration: 395 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
Consent


THE KANTAR GROUP LIMITED

Cookie duration: 914 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


IMPACT TECH INC.

Cookie duration: 720 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


NIELSEN MARKETING CLOUD

Cookie duration: 120 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SOLOCAL

Cookie duration: 365 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


PIXALATE, INC.

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ORACLE DATA CLOUD

Cookie duration: 180 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


1000MERCIS (NUMBERLY)

Cookie duration: 180 (days). Cookie duration resets each session.

View details | Privacy policylaunch
Consent


AUDIENCEPROJECT APS

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


EFFILIATION / EFFINITY

Cookie duration: 60 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ARRIVALIST CO

Cookie duration: 730 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SEENTHIS AB

Doesn't use cookies.

View details | Privacy policylaunch


COMMANDERS ACT

Cookie duration: 365 (days). Uses other forms of storage.

View details | Privacy policylaunch
Consent


TRAVEL AUDIENCE GMBH

Cookie duration: 397 (days). Cookie duration resets each session.

View details | Privacy policylaunch
Consent


HUMAN

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADLUDIO LTD.

Doesn't use cookies.

View details | Privacy policylaunch
Consent


NEODATA GROUP SRL

Cookie duration: 366 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


INNOVID INC.

Cookie duration: 92 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


TACTIC™ REAL-TIME MARKETING AS

Cookie duration: Uses session cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


NEUSTAR, INC., A TRANSUNION COMPANY

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SUBLIMESKINZ - ADLEDGE

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


SALESFORCE.COM, INC.

Cookie duration: 180 (days). Uses other forms of storage.

View details | Privacy policylaunch
Consent


KOCHAVA INC.

Doesn't use cookies.

View details | Privacy policylaunch
Consent


OTTO (GMBH &AMP; CO KG)

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ADOBE AUDIENCE MANAGER, ADOBE EXPERIENCE PLATFORM

Cookie duration: 180 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


LOCALSENSOR B.V.

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ONLINE SOLUTION

Cookie duration: 365 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


RELAY42 NETHERLANDS B.V.

Cookie duration: 731 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


GP ONE GMBH

Cookie duration: Uses session cookies. Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


LIFTOFF MOBILE, INC.

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


MINDTAKE RESEARCH GMBH

Cookie duration: 93 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


CINT AB

Cookie duration: 730 (days).

View details | Privacy policylaunch
Consent


GOOGLE ADVERTISING PRODUCTS

Cookie duration: 396 (days). Uses other forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


GFK SE

Cookie duration: 730 (days). Uses other forms of storage.

View details | Privacy policylaunch
Consent


REVJET

Cookie duration: 730 (days).

View details | Privacy policylaunch
Consent


PROTECTED MEDIA LTD

Doesn't use cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


CLINCH LABS LTD

Cookie duration: 730 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


ORACLE DATA CLOUD - MOAT

Doesn't use cookies.

View details | Privacy policylaunch


HEARTS AND SCIENCE MÜNCHEN GMBH

Cookie duration: 60 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


AMAZON ADVERTISING

Cookie duration: 396 (days). Cookie duration resets each session. Uses other
forms of storage.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


MOLOCO, INC.

Cookie duration: Uses session cookies.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


NOBID, INC.

Cookie duration: 7 (days). Cookie duration resets each session.

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


OBJECTIVE PARTNERS BV

Cookie duration: 90 (days). Cookie duration resets each session.

View details | Privacy policylaunch
Consent


EBAY INC

Cookie duration: 90 (days).

View details | Privacy policylaunch
ConsentLegitimate interesthelp_outline


LUNA MEDIA GROUP LLC

Cookie duration: 14 (days).

View details | Privacy policylaunch
Consent

General vendors

help_outline


GSKINNER

Privacy policylaunch
Consent


AKAMAI

Privacy policylaunch
Consent


FACEBOOK

Privacy policylaunch
Consent


AUNICA

Privacy policylaunch
Consent


BOOKING.COM

Privacy policylaunch
Consent


C3 METRICS

Privacy policylaunch
Consent


IBM

Privacy policylaunch
Consent


ADTRIBA

Privacy policylaunch
Consent


PULSEPOINT

Privacy policylaunch
Consent


DEMANDBASE

Privacy policylaunch
Consent


EVIDON

Privacy policylaunch
Consent


CUBED

Privacy policylaunch
Consent


HURRA.COM

Privacy policylaunch
Consent


OPTOMATON

Privacy policylaunch
Consent


INTELLIAD

Privacy policylaunch
Consent


ANALIGHTS

Privacy policylaunch
Consent


DSTILLERY

Privacy policylaunch
Consent


DMA INSTITUTE

Privacy policylaunch
Consent


ZMS

Privacy policylaunch
Consent


DENTSU AEGIS NETWORK

Privacy policylaunch
Consent


IGNITION ONE

Privacy policylaunch
Consent


OMNICOM MEDIA GROUP

Privacy policylaunch
Consent


DIGISEG

Privacy policylaunch
Consent


RESONATE

Privacy policylaunch
Consent


CENTRO

Privacy policylaunch
Consent


SOJERN

Privacy policylaunch
Consent


HAENSEL AMS

Privacy policylaunch
Consent


BDSK HANDELS GMBH & CO. KG

Privacy policylaunch
Consent


VIDEOLOGY

Privacy policylaunch
Consent


TRADEDOUBLER AB

Privacy policylaunch
Consent


TRUSTARC

Privacy policylaunch
Consent


TRUEFFECT

Privacy policylaunch
Consent


MARKETING SCIENCE CONSULTING GROUP, INC.

Privacy policylaunch
Consent


DENTSU

Privacy policylaunch
Consent


ESSENS

Privacy policylaunch
Consent


TRAVEL DATA COLLECTIVE

Privacy policylaunch
Consent


ADVOLUTION.CONTROL

Privacy policylaunch
Consent


VIMEO

Privacy policylaunch
Consent


ENSIGHTEN

Privacy policylaunch
Consent


ADMAXIM

Privacy policylaunch
Consent


BATCH MEDIA

Privacy policylaunch
Consent


VODAFONE GMBH

Privacy policylaunch
Consent


SCENESTEALER

Privacy policylaunch
Consent


NETQUEST

Privacy policylaunch
Consent


MANAGE.COM

Privacy policylaunch
Consent


CLOUDFLARE

Privacy policylaunch
Consent


SCOOTA

Privacy policylaunch
Consent


HAVAS MEDIA FRANCE - DBI

Privacy policylaunch
Consent


NETFLIX

Privacy policylaunch
Consent


MACROMILL GROUP

Privacy policylaunch
Consent


EBUILDERS

Privacy policylaunch
Consent


APPLOVIN CORP.

Privacy policylaunch
Consent


FRACTIONAL MEDIA

Privacy policylaunch
Consent


RACKSPACE

Privacy policylaunch
Consent


MSI-ACI

Privacy policylaunch
Consent


CHOCOLATE PLATFORM

Privacy policylaunch
Consent


NAVEGG

Privacy policylaunch
Consent


ADMEDO

Privacy policylaunch
Consent


MOBITRANS

Privacy policylaunch
Consent


ADEX

Privacy policylaunch
Consent


SPOTAD

Privacy policylaunch
Consent


AARKI

Privacy policylaunch
Consent


SFR

Privacy policylaunch
Consent


CABLATO

Privacy policylaunch
Consent


WAYSTACK

Privacy policylaunch
Consent

Accept all



Confirm choices

Close