Test Webdrivers


Лицензия

Лицензия

Группа

Группа

com.dev9
Идентификатор

Идентификатор

test-webdrivers
Последняя версия

Последняя версия

1.6
Дата

Дата

Тип

Тип

pom
Описание

Описание

Test Webdrivers
Test Webdrivers
Ссылка на сайт

Ссылка на сайт

https://github.com/dev9com/test-webdrivers
Организация-разработчик

Организация-разработчик

Dev9, LLC.
Система контроля версий

Система контроля версий

https://github.com/dev9com/test-webdrivers

Скачать test-webdrivers

Имя Файла Размер
test-webdrivers-1.6.pom 9 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.dev9/test-webdrivers/ -->
<dependency>
    <groupId>com.dev9</groupId>
    <artifactId>test-webdrivers</artifactId>
    <version>1.6</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.dev9/test-webdrivers/
implementation 'com.dev9:test-webdrivers:1.6'
// https://jarcasting.com/artifacts/com.dev9/test-webdrivers/
implementation ("com.dev9:test-webdrivers:1.6")
'com.dev9:test-webdrivers:pom:1.6'
<dependency org="com.dev9" name="test-webdrivers" rev="1.6">
  <artifact name="test-webdrivers" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.dev9', module='test-webdrivers', version='1.6')
)
libraryDependencies += "com.dev9" % "test-webdrivers" % "1.6"
[com.dev9/test-webdrivers "1.6"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.logging.log4j : log4j-core jar 2.3
org.apache.logging.log4j : log4j-api jar 2.3

test (2)

Идентификатор библиотеки Тип Версия
org.jmockit : jmockit jar 1.19
org.assertj : assertj-core jar 3.1.0

Модули Проекта

  • junit-webdriver
  • testng-webdriver
  • webdriver-utils

Test Webdrivers

[Build Status] (https://travis-ci.org/dev9com/test-webdrivers) Maven central

This project contains easy to use webdriver implementations for both TestNG and JUnit. These libraries remove the initialization and teardown concerns, allowing the user to focus on writing UI tests.

Common Settings

  1. Add dependency to pom (or download and add to classpath) Maven Central
  2. Create a .conf file and define browser configuration in your resource directory
    • Create config file: src/test/resources/application.conf

    • Add the default browser:

        webdriver {
           browser: firefox
           type:    local
        }
      
    • Add any additional browser configurations by wrapping the webdriver object with a unique name:

        local-chrome {
           webdriver {
               browser:  chrome
               type:     local
           }
        }
      
    • The webdriver projects support remote jobs through SauceLabs. For this to work you must first define 2 environment variables SAUCELABS_USER assigned your SauceLabs username and SAUCELABS_KEY assigned your SauceLabs key. Once that is complete you can define a new webdriver config using the type: remote flag:

        remote-iexplore {
           webdriver {
               browser:  iexplore
               type:     remote
               version:  8
               platform: windows
           }
        }
      
    • To select a profile you would use the flag: -Dwebtest.profile= and give it your configuration name:
      -Dwebtest.profile=local-chrome or -Dwebtest.profile=remote-iexplore

Framework Specific Documentation

See: TestNG or JUnit

com.dev9

Dev9

Dev9 is a software development consulting firm based in Kirkland, WA.

Версии библиотеки

Версия
1.6
1.5
1.4
1.3