Yandex QATools Actions Beans

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

Categories

Categories

Dex General Purpose Libraries Utility
GroupId

GroupId

ru.yandex.qatools.actions
ArtifactId

ArtifactId

actions-beans
Last Version

Last Version

2.2
Release Date

Release Date

Type

Type

jar
Description

Description

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

Download actions-beans

How to add to project

<!-- 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"]

Dependencies

compile (3)

Group / Artifact Type Version
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)

Group / Artifact Type Version
junit : junit jar 4.10
org.mockito : mockito-all jar 1.8.4

Project Modules

There are no modules declared in this project.

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

Versions

Version
2.2