A Python package for dentaquest web portal.
Project description
T_pom_dentaquest 📦
A Python package for DentaQuest POM approach when interacting with web pages and their elements.
📑 Table of Contents
Overview
This package provides DentaQuest 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-dentaquest
Usage Example
For detailed examples, please refer to our quick start page.
API Documentation
Decorators
Module: t_pom_dentaquest.decorators
Module for the decorator.
- Function:
relogin_and_retry_if_errorDecorator to relogin and retry the function if a Web-related error occurs.
Elements
Module: t_pom_dentaquest.elements
Module for all web app elements.
Module: t_pom_dentaquest.elements.container_element
Select container element module.
- Class:
ContainerElementClass for container elements.
- Method:
check_if_all_elements_contain_valueGet text for each attribute in object with matching id.
- Method:
Module: t_pom_dentaquest.elements.select_dropdown_element
Select dropdown element module.
- Class:
SelectDropdownElementClass for select dropdown elements.
- Method:
select_optionsSelect options from the dropdown list.
- Method:
Module: t_pom_dentaquest.elements.table_element
Table element module.
- Class:
TableElementClass for table elements.
-
Method:
get_summary_table_dataExtracts and structures data from an HTML summary table into a list of dictionaries.
This method locates the table headers and body rows, then iterates over them to extract the data. Each row of the table is represented as a dictionary. Returns: list: A list of dictionaries, where each dictionary represents a row in the table. Each dictionary key is a column header, and each value is the corresponding data from that column in the row. -
Method:
get_table_dataExtracts data from an HTML table.
This method locates table headers and body elements, then iterates over them to extract and structure the data into a dictionary. Returns: dict: A dictionary where each key is a table name and each value is another dictionary containing the column names and their respective values.
-
Module: t_pom_dentaquest.elements.text_element
Text element module.
- Class:
TextElementClass for input element model.
Pages
Module: t_pom_dentaquest.pages
Page modules for DentaQuest.
Module: t_pom_dentaquest.pages.home_page
Generic home page for web app.
- Class:
HomePagePage class containing elements specific to a home page interface.
Module: t_pom_dentaquest.pages.login_page
Generic login page for web app.
- Class:
LoginPagePage class containing elements specific to a login interface.
Module: t_pom_dentaquest.pages.member_detail_page
Generic member detail page for web app.
- Class:
MemberDetailPagePage class containing elements specific to a login interface.
Module: t_pom_dentaquest.pages.member_eligibility_list_page
Generic login page member eligibility list web app.
- Class:
MemberEligibilityListPagePage class containing elements specific to a member eligibility list page interface.
Module: t_pom_dentaquest.pages.member_eligibility_search_page
Generic member eligibility search page for web app.
- Class:
MemberEligibilitySearchPagePage class containing elements specific to a member eligibility search page interface.
Module: t_pom_dentaquest.pages.plan_benefit_summary_page
Generic plan benefits summary page for web app.
- Class:
PlanBenefitSummaryPagePage class containing elements specific to a plan benefits summary page interface.
T_dentaquest
Module: t_pom_dentaquest.t_dentaquest
Generic base class for web app.
- Class:
TDentaQuestMain 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_dentaquest-0.1.1.tar.gz.
File metadata
- Download URL: t_pom_dentaquest-0.1.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4feca170f661c4972ae36411bd8a2e030a22f91682260e1821567ca4c9301f70
|
|
| MD5 |
0ffb187f2c5546af2f43fa619bb77e63
|
|
| BLAKE2b-256 |
3e3364777570234882f6709ae793e14052627b589a69378e97fb2e6d69e90068
|