Skip to main content

Arjuna is a Python based test automation framework developed by Rahul Verma (www.rahulverma.net).

Project description

Arjuna

Arjuna is a Python based test automation framework developed by Rahul Verma (www.rahulverma.net). Rahul has implemented smaller variants of features in Arjuna across frameworks and organizations, or given advise around it. However Arjuna being a generic library has the most complete implementation of his ideas, away from project specific contexts and constraints.

Arjuna provides its test engine features and markup on top of pytest (https://docs.pytest.org/en/latest/).

You'd need Python 3.5+ to make use of Arjuna.

Note: On Linux, the built-in Python3 build has issues with the Python's built-in enum module which is heavily used in Arjuna. One alternative is to install ActiveState Python on linux. Advanced users can go for installing a custom Python build.

Tutorial

1. Arjuna Installation

  1. Download and install latest Python (3.5+) from https://python.org
    • If you are insterested to learn python Following are links for tutorials and docs.
  2. Confirm the python version installed by running the command python --version. If expected version in not shown, fix this by looking into PATH variables and/or to see whether you have multiple versions of Python installed.
  3. Install Arjuna using the following command
    • pip install arjuna

2. Arjuna's Core Features

You can find the example code used on this section in arjuna_core_features project.

  1. Project Structure
  2. Writing Your First Test
  3. Value Abstraction
  4. Configuration
  5. Data Driven Testing

3. Basic Web UI Automation

You can find the example code used on this section in arjuna_webui_basics project.

  1. Getting Started with WebApp
  2. GuiElement - Identification and Interactions
  3. Creating a Self-Contained WebApp
  4. GuiMultiElement
  5. Dropdown and RadioGroup

4. Advanced Web UI Automation

  1. Finding Nested Elements
  2. Alternative and Dynamic Identifiers
  3. Executing JavaScript
  4. Alerts, Windows, Frames
  5. Configuraing Interactions with GuiInteractionConfig
  6. Handling Custom DropDowns
  7. Retrieving Source code with GuiSource

5. Gui Abstraction - App, Page, Widget and Gui Elements

  1. Externalised Gui Namespace (App Level)
  2. App-Page Object Model
  3. App-Page-Widget Object Model

Reference

  1. Command Line Options

Miscellaneous

  1. Using Arjuna With Your Test Framework

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arjuna-0.8.11.tar.gz (101.5 kB view details)

Uploaded Source

Built Distributions

arjuna-0.8.11-py3.6.egg (437.8 kB view details)

Uploaded Source

arjuna-0.8.11-py3-none-any.whl (187.7 kB view details)

Uploaded Python 3

File details

Details for the file arjuna-0.8.11.tar.gz.

File metadata

  • Download URL: arjuna-0.8.11.tar.gz
  • Upload date:
  • Size: 101.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for arjuna-0.8.11.tar.gz
Algorithm Hash digest
SHA256 9bd750ae82c3d54d3d52909436b9f5143790d4d9336cb36ec022cdb36a17c2fb
MD5 79c5e6b50082cb60641370fa21a865c1
BLAKE2b-256 6514c90f5dd47b2c416cd01f15105a6d9b083fb329d887577834c4b35dde4005

See more details on using hashes here.

File details

Details for the file arjuna-0.8.11-py3.6.egg.

File metadata

  • Download URL: arjuna-0.8.11-py3.6.egg
  • Upload date:
  • Size: 437.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for arjuna-0.8.11-py3.6.egg
Algorithm Hash digest
SHA256 eb835105ba87227b9080ac7e19ac10b21563b3a347f34690ed7385d1d3f9fd61
MD5 20c9a76f24832cf09d20b819473d799d
BLAKE2b-256 58135151ff2d514e428600fcef3f8391d52e564bf6a3de33b505328830fd1075

See more details on using hashes here.

File details

Details for the file arjuna-0.8.11-py3-none-any.whl.

File metadata

  • Download URL: arjuna-0.8.11-py3-none-any.whl
  • Upload date:
  • Size: 187.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for arjuna-0.8.11-py3-none-any.whl
Algorithm Hash digest
SHA256 4cdfa77bff030fd2f2b274522387076a30114313f0efb68db10013ad9b84934f
MD5 c7e80ea63b654fc0129784d140efea22
BLAKE2b-256 444b3504c7493fb07de279bb06c89e245c3f082de7081872da3d5223b9f7cfad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page