Skip to main content

behave_odoo

behave_odoo is a Python package that provides a collection of helper functions designed to simplify the process of writing behave tests for Odoo 14. The package includes functions for navigating the Odoo interface, interacting with form fields, and performing common actions within the Odoo environment.

Installation

To install behave_odoo, use pip:

pip install behave-odoo

Usage

To use the behave_odoo in your project, simply import the functions you need:

from behave_odoo import (
    is_tree_view_by_column_name,
    login,
    navigate_menu,
    switch_module,
    click_button,
    set_text_field,
    set_select_field,
    set_autocomplete_field,
    ensure_readonly_mode,
    select_dropdown_item,
    switch_form_tab,
    get_first_fields_from_tree_view,
)

Or use it with prefix:

import behave_odoo as bodoo

@given('the user log in on the Odoo Instance')
def step_impl(context):
    bodoo.login(context)

Refer to the package's documentation for detailed information on each function and how to use them in your tests.

Contributing

We welcome contributions to the behave_odoo project. If you find a bug or would like to request a new feature, please open an issue on the project's issue tracker. If you would like to contribute code, please fork the repository and submit a pull request.

License

behave_odoo is released under the AGPL-3.0 License. See the LICENSE file for more information.

Support

If you encounter any issues while using behave_odoo, please report them on the project's issue tracker.

Metadata

Release files for behave-odoo 14.0.1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for behave-odoo 14.0.1.0.0
File Size Uploaded
behave_odoo-14.0.1.0.0.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for behave-odoo 14.0.1.0.0
File Interpreter ABI Platform
behave_odoo-14.0.1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.4 kB

Release files / behave_odoo-14.0.1.0.0.tar.gz

Download URL behave_odoo-14.0.1.0.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8d67f5bddce70f7d5ab2168d2f40842c621bc945e862a1c866bd4fd639b6b444
BLAKE2b-256 checksum
How to use checksums
6b012e378e26e0b2a7f4d44d6d5b398da672329b26ac905d4ed6c75e93824446
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / behave_odoo-14.0.1.0.0-py3-none-any.whl

Download URL behave_odoo-14.0.1.0.0-py3-none-any.whl
Size 17.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82fcdd032b324fe7fb81762a229a75fa7a0ed4ef18b069989012c2e3dd4e74dd
BLAKE2b-256 checksum
How to use checksums
76d522e1cedc8fd5775315df09c6265e06c45a76969f1f92b0048583d61ce082
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.3

Release history Release notifications | RSS feed

This release

14.0.1.0.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page