Test Automation With Python

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Py-TestUI

  • Python tests in Loadero use the Py-TestUI framework. Py-TestUI wraps and implements additional features for Selenium Python binding. This means that Loadero Python tests can utilize the full power of Selenium and other cool features provided by Py-TestUI.

  • examples

    Test script examples that are made for usage in Loadero platform out of the box or to be extended for custom use cases (by loadero)

  • Here is a simple test script showcasing everything shown so far. You can put everything learned so far to test with Loadero’s free trial. You can also find the script example in Loadero’s Github repository.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • duckduckgo-locales

    Translation files for <a href="https://duckduckgo.com"> </a>

  • def test_on_loadero(driver: TestUIDriver) -> None: # The main logic of the test is in top_search_results function print(top_search_results(driver, "loadero", 10)) # top_search_results returns the top n search results for search_query. def top_search_results(driver: TestUIDriver, search_query: str, n: int) -> str: # Limits the search result count to 10, because a single search query in # DuckDuckGo search engine returns only 10 results. n = min(n, 10) # Selectors. home_page_search_bar = "#search_form_input_homepage" home_page_search_button = "#search_button_homepage" # Opens the search engine DuckDuckGo. driver.navigate_to("https://duckduckgo.com/") # Locates search bar, waits for the element to load and sends a search query # to it driver.e("css", home_page_search_bar).wait_until_visible().send_keys( search_query ) # Locates search button, verifies that it is visible and clicks it. driver.e("css", home_page_search_button).wait_until_visible().click() result = f"Top {n} DuckDuckGo search results for {search_query} ->\n" # Iterates over top n search results for i in range(n): # Creates a CSS selector that indicates to the search result title. selector = f"#r1-{i} > div > h2 > a.result__a" # Locates the search element and verifies that it is visible. search_result_element = driver.e("css", selector).wait_until_visible() # Retrives the title of search result and adds it to result string. title = search_result_element.get_text() result += f"\t {title} \n" return result

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Bountysource Stole at Least $17,000 from Open Source Developers

    2 projects | news.ycombinator.com | 3 May 2024
  • Desert greening is transforming dust and sand into farmable soil (2023)

    1 project | news.ycombinator.com | 2 May 2024
  • 87.7% of entrepreneurs struggle with at least one mental health issue

    1 project | news.ycombinator.com | 2 May 2024
  • Alice's Adventures in a Differentiable Wonderland

    1 project | news.ycombinator.com | 30 Apr 2024
  • Biden signs TikTok 'ban' bill into law, starting clock for ByteDance to divest

    2 projects | news.ycombinator.com | 24 Apr 2024