Yandex QATools Actions

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
Last Version

Last Version

2.2
Release Date

Release Date

Type

Type

pom
Description

Description

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

Source Code Management

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

Download actions

Filename Size
actions-2.2.pom 2 KB
Browse

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • 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

Versions

Version
2.2