Skip to main content

A Python package for Envolve POM approach

Project description

T_pom_envolve 📦

A Python package for Envolve POM approach when interacting with web pages and their elements.

📑 Table of Contents

Overview

This package provides Envolve portal Base class, web pages and web elements.

There are also usable web elements that have commonly used methods built in.

Installation

pip install t-pom-envolve

Usage Example

For detailed examples, please refer to our quick start page.

API Documentation


Elements

Module: t_pom_envolve.elements

Module for t_envolve specific methods.

Module: t_pom_envolve.elements.datetime_element

Datetime element module.

  • Class: DateTimeElement

    Class for Datetime element model.

    • Method: select_date

      Inputs a date into a date field.

Module: t_pom_envolve.elements.select_element

Select element module.

  • Class: SelectElement

    Class to Select element model.

    • Method: get_selected_option

      Gets the selected option.

    • Method: select_options

      Selects a list of options from a dropdown menu.

Module: t_pom_envolve.elements.table_row_element

Table Row element module.

  • Class: TableRowElement

    Class for TextElement element model.

    • Method: get_row_values

      Get Element value.

Module: t_pom_envolve.elements.text_element

TextElement element module.

  • Class: TextElement

    Class for TextElement element model.

    • Method: get_element_text

      Get Element value.


Exceptions

Module: t_pom_envolve.exceptions

_Module Description: This module defines custom exceptions for use within the application.

These exceptions provide more specific error handling and messaging for various failure scenarios, improving the robustness and clarity of the code. _

  • Class: MissingPatientInformationException

    Invalid Conversation Default Exception .

  • Class: PatientNotEligibleException

    Patient Not Found Exception.

  • Class: PatientNotFoundException

    Patient Not Found Exception.

  • Class: SessionExpiredException

    Session Expire Exception.


Pages

Module: t_pom_envolve.pages

Page modules for Envolve.

Module: t_pom_envolve.pages.login_page

Generic login page for web app.

  • Class: LoginPage

    Page class containing elements specific to a login interface.

Module: t_pom_envolve.pages.patient_eligibility_page

Generic patient eligibility page for web app.

  • Class: PatientEligibilityPage

    Page class containing elements specific to a patient eligibility.


T_envolve

Module: t_pom_envolve.t_envolve

Generic base class for web app.

  • Class: TEnvolve

    Main application class managing pages and providing direct access to Selenium.


License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

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

Source Distribution

t_pom_envolve-0.1.1.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file t_pom_envolve-0.1.1.tar.gz.

File metadata

  • Download URL: t_pom_envolve-0.1.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.0

File hashes

Hashes for t_pom_envolve-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ad169b7be8324e9348aa4e5e14a43f71accb626b456eb395f02e7406127abe02
MD5 fb675889a8fbfde52163a54f6026dcbd
BLAKE2b-256 f95875bd0a012446074bbe2dcfc1e2ca3c34a14ce0d5e27cd8c2018cd182b8c6

See more details on using hashes here.

Supported by

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