Yandex QATools Actions

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

Категории

Категории

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

Группа

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

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

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

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

2.2
Дата

Дата

Тип

Тип

pom
Описание

Описание

Yandex QATools Actions
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Система контроля версий

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

https://github.com/yandex-qatools/actions/

Скачать actions

Имя Файла Размер
actions-2.2.pom 2 KB
Обзор

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

  • actions-beans
  • actions-builder

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