Yandex QATools Actions Beans

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Категории

Категории

Dex Универсальные библиотеки Utility
Группа

Группа

ru.yandex.qatools.actions
Идентификатор

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

actions-beans
Последняя версия

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

2.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Yandex QATools Actions Beans
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Скачать actions-beans

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

<!-- https://jarcasting.com/artifacts/ru.yandex.qatools.actions/actions-beans/ -->
<dependency>
    <groupId>ru.yandex.qatools.actions</groupId>
    <artifactId>actions-beans</artifactId>
    <version>2.2</version>
</dependency>
// https://jarcasting.com/artifacts/ru.yandex.qatools.actions/actions-beans/
implementation 'ru.yandex.qatools.actions:actions-beans:2.2'
// https://jarcasting.com/artifacts/ru.yandex.qatools.actions/actions-beans/
implementation ("ru.yandex.qatools.actions:actions-beans:2.2")
'ru.yandex.qatools.actions:actions-beans:jar:2.2'
<dependency org="ru.yandex.qatools.actions" name="actions-beans" rev="2.2">
  <artifact name="actions-beans" type="jar" />
</dependency>
@Grapes(
@Grab(group='ru.yandex.qatools.actions', module='actions-beans', version='2.2')
)
libraryDependencies += "ru.yandex.qatools.actions" % "actions-beans" % "2.2"
[ru.yandex.qatools.actions/actions-beans "2.2"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.seleniumhq.selenium : selenium-java jar 2.31.0
ru.yandex.qatools.htmlelements : htmlelements-java jar 1.9
org.apache.commons : commons-lang3 jar 3.1

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.10
org.mockito : mockito-all jar 1.8.4

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

Данный проект не имеет модулей.

Actions

Library for user actions in the browser. Allows you to create various actions to implement them through Selemium WebDriver, combine them into test scenarios and serialize test scripts to XML.

Maven Dependencies

To use library add the following dependencies:

    <dependency>
        <groupId>ru.yandex.qatools.actions</groupId>
        <artifactId>actions-builder</artifactId>
        <version>2.2</version>
    </dependency>

Getting Started

Creating a sequence of actions:

    Actions actions = new Actions();
    actions.loadPage("http://www.yandex.ru").
            typeText("//input[@class='b-morda-search__input']", "Яндекс").
            click("//input[@class='b-form-button__input']");

Execute the scenario:

    WebDriver driver = BrowserFactory.webdriver();
    actions.build().perform(driver);

Record in XML:

    Actions actions = new Actions();
    actions.loadPage("http://www.yandex.ru").
            typeText("//input[@class='b-morda-search__input']", "Яндекс").
            click("//input[@class='b-form-button__input']");
    actions.write("search-request-scenario.xml");

Reading serialized scenarios from XML:

    Actions actions = new Actions();
    actions.read("search-request-scenario.xml").
            read("open-advanced-search-scenario.xml");
    actions.build().perform(driver);
ru.yandex.qatools.actions

Yandex QATools

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

Версия
2.2