Skip to main content

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_error

    Decorator 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: ContainerElement

    Class for container elements.

    • Method: check_if_all_elements_contain_value

      Get text for each attribute in object with matching id.

Module: t_pom_dentaquest.elements.select_dropdown_element

Select dropdown element module.

  • Class: SelectDropdownElement

    Class for select dropdown elements.

    • Method: select_options

      Select options from the dropdown list.

Module: t_pom_dentaquest.elements.table_element

Table element module.

  • Class: TableElement

    Class for table elements.

    • Method: get_summary_table_data

      Extracts 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_data

      Extracts 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: TextElement

    Class 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: HomePage

    Page class containing elements specific to a home page interface.

Module: t_pom_dentaquest.pages.login_page

Generic login page for web app.

  • Class: LoginPage

    Page class containing elements specific to a login interface.

Module: t_pom_dentaquest.pages.member_detail_page

Generic member detail page for web app.

  • Class: MemberDetailPage

    Page 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: MemberEligibilityListPage

    Page 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: MemberEligibilitySearchPage

    Page 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: PlanBenefitSummaryPage

    Page 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: TDentaQuest

    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_dentaquest-0.1.1.tar.gz (8.3 kB view details)

Uploaded Source

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

Hashes for t_pom_dentaquest-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4feca170f661c4972ae36411bd8a2e030a22f91682260e1821567ca4c9301f70
MD5 0ffb187f2c5546af2f43fa619bb77e63
BLAKE2b-256 3e3364777570234882f6709ae793e14052627b589a69378e97fb2e6d69e90068

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