Git Product home page Git Product logo

projeto-final-individual's Introduction

GitHub Twitter Follow

projeto-final-individual

Projeto em selenium Webdriver - java e cucumber individual para avaliação.

Este projeto foi elaborado por: Vanessa Ruiz https://github.com/vlruiz108

Criar um projeto em selenium Webdriver - java e cucumber usando Page objects

(precisamos executar o script através da feature)

Passo a passo para o teste automático(Colocar algum verificador do objeto antes de fazer as ações):

  • [x]Entrar no site http://sampleapp.tricentis.com/101/app.php
  • [x]Preencher o formulário, aba “Enter Vehicle Data” e pressione next
  • [x]Preencher o formulário, aba “Enter Insurant Data” e pressione next
  • [x]Preencher o formulário, aba “Enter Product Data” e pressione next
  • [x]Preencher o formulário, aba “Select Price Option” e pressione next
  • [x]Preencher o formulário, aba “Send Quote” e pressione Send
  • [x]Verificar a mensagem “Sending e-mail success!” na tela

Disponibilizar o projeto no repositório remoto do GitHub

Obs: Minha necessidade é importar no Eclipse e colocar para rodar. Obs: Todo o código será analisado e pontuado, mesmo não chegando ao final.


Tecnologias utilizadas

✔️ Java
Linguagem de programação para desenvolvimento da aplicação

✔️ Maven
Gerenciador de dependências para o Java

✔️ Cucumber
Framework responsável por traduzir uma linguagem humana em código Java

✔️ Selenium
Framework responsável por fazer a integração do código java com a linguagem Gherkin(Cucumber) abrindo o browser fazendo o teste de comportamento


Como utilizar

Pré requisitos

Exemplo:
bash cd driver curl https://chromedriver.storage.googleapis.com/89.0.4389.23/chromedriver_linux64.zip unzip chromedriver_linux64.zip rm -rf chromedriver_linux64.zip cd ../driver

  • Limpando e validando maven Unix bash ./mvnw clean

  • Limpando e validando maven Windows bash mvnw.cmd clean

  • Executando teste no Unix bash ./test.sh

  • Executando teste no Windows bash test.bat


Estrutura de arquivos

  driver 
|-- chromedriver -- Este é o arquivo do selenium webdriver, substitua este arquivo com a versão da sua máquina
mvnw
mvnw.cmd
pom.xml
src
|-- test
| |-- java
| | |-- io
| | | |-- cucumber
| | | | |-- vanessa
| | | | | |-- RunCucumberTest.java -- Arquivo que configura a inicialização do Java test
| |-- resources
| | |-- io
| | | |-- cucumber
| | | | |-- elaine
| | | | | |-- nome_da_pasta_do_projeto.feature -- Gherkin com os cenários de teste de acordo com o meu cliente
test.bat -- Arquivo para rodar teste no Windows
test.sh -- Arquivo para rodar teste no Unix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.