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:
DateTimeElementClass for Datetime element model.
- Method:
select_dateInputs a date into a date field.
- Method:
Module: t_pom_envolve.elements.select_element
Select element module.
- Class:
SelectElementClass to Select element model.
- Method:
get_selected_optionGets the selected option.
- Method:
select_optionsSelects a list of options from a dropdown menu.
- Method:
Module: t_pom_envolve.elements.table_row_element
Table Row element module.
- Class:
TableRowElementClass for TextElement element model.
- Method:
get_row_valuesGet Element value.
- Method:
Module: t_pom_envolve.elements.text_element
TextElement element module.
- Class:
TextElementClass for TextElement element model.
- Method:
get_element_textGet Element value.
- Method:
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:
MissingPatientInformationExceptionInvalid Conversation Default Exception .
- Class:
PatientNotEligibleExceptionPatient Not Found Exception.
- Class:
PatientNotFoundExceptionPatient Not Found Exception.
- Class:
SessionExpiredExceptionSession 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:
LoginPagePage class containing elements specific to a login interface.
Module: t_pom_envolve.pages.patient_eligibility_page
Generic patient eligibility page for web app.
- Class:
PatientEligibilityPagePage class containing elements specific to a patient eligibility.
T_envolve
Module: t_pom_envolve.t_envolve
Generic base class for web app.
- Class:
TEnvolveMain 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
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
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad169b7be8324e9348aa4e5e14a43f71accb626b456eb395f02e7406127abe02
|
|
| MD5 |
fb675889a8fbfde52163a54f6026dcbd
|
|
| BLAKE2b-256 |
f95875bd0a012446074bbe2dcfc1e2ca3c34a14ce0d5e27cd8c2018cd182b8c6
|