Test automation

PHPz
Release: 2024-08-10 06:59:03
Original
455 people have browsed it

Automação de testes

Initial Settings

  1. Download Python Python is a programming language. It can be downloaded from https://www.python.org/downloads/.

1.1 Activate the virtual environment
In a directory of your choice type
python -m venv venv
And to activate it
venv/Scrpts/Activate.ps1

  1. Download Robot Framework
    In the terminal type
    pip install robotframework
    And with that we will have the latest version of the Robot Framework

  2. Download Selenium
    In the terminal type
    pip install robotframework-seleniumlibrary
    And with that we will have the latest version of the Selenium library

  3. Download Gecko Driver
    https://github.com/mozilla/geckodriver/releases
    Access the page and download the latest version, once downloaded, take the geckdriver.exe file to the C://Windows

  4. folder
  5. Run an initial test
    I created a file that has the extension .robot

The above is the detailed content of Test automation. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!