Description

Try to create test case about Selenium base on Python

Goals

  • Knowledge about Selenium with Python
  • Create new test case about Selenium

Resources

https://selenium-python.readthedocs.io/ https://www.selenium.dev/

Looking for hackers with the skills:

selenium python3

This project is part of:

Hack Week 24

Activity

  • about 13 hours ago: xguo added keyword "selenium" to this project.
  • about 13 hours ago: xguo added keyword "python3" to this project.
  • 3 days ago: ryao liked this project.
  • 5 days ago: xguo started this project.
  • 5 days ago: xguo originated this project.

  • Comments

    • xguo
      4 days ago by xguo | Reply

      Day one - Understand Selenium work flow

      • Deploy Selenium with Python(3) on my testing environment

      -- Install Selenium with chrome driver

      -- Try to create some simple case with Selenium and chrome driver

    • xguo
      1 day ago by xguo | Reply

      Day 2-3 - coding with python based on PyCharm

      • Try to deploy local environment base on PyCharm
      • Fix up some troubleshooting during coding with Python

    • xguo
      1 day ago by xguo | Reply

      Day 4 - Create some demo based on Selenium

    Similar Projects

    Small healthcheck tool for Longhorn by mbrookhuis

    Project Description

    We have often problems (e.g. pods not starting) that are related to PVCs not running, cluster (nodes) not all up or deployments not running or completely running. This all prevents administration activities. Having something that can regular be run to validate the status of the cluster would be helpful, and not as of today do a lot of manual tasks.

    As addition (read enough time), we could add changing reservation, adding new disks, etc. --> This didn't made it. But the scripts can easily be adopted.

    This tool would decrease troubleshooting time, giving admins rights to the rancher GUI and could be used in automation.

    Goal for this Hackweek

    At the end we should have a small python tool that is doing a (very) basic health check on nodes, deployments and PVCs. First attempt was to make it in golang, but that was taking to much time.

    Overview

    This tool will run a simple healthcheck on a kubernetes cluster. It will perform the following actions:

    • node check: This will check all nodes, and display the status and the k3s version. If the status of the nodes is not "Ready" (this should be only reported), the cluster will be reported as having problems

    • deployment check: This check will list all deployments, and display the number of expected replicas and the used replica. If there are unused replicas this will be displayed. The cluster will be reported as having problems.

    • pvc check: This check will list of all pvc's, and display the status and the robustness. If the robustness is not "Healthy", the cluster will be reported as having problems.

    If there is a problem registered in the checks, there will be a warning that the cluster is not healthy and the program will exit with 1.

    The script has 1 mandatory parameter and that is the kubeconf of the cluster or of a node off the cluster.

    The code is writen for Python 3.11, but will also work on 3.6 (the default with SLES15.x). There is a venv present that will contain all needed packages. Also, the script can be run on the cluster itself or any other linux server.

    Installation

    To install this project, perform the following steps:

    • Create the directory /opt/k8s-check

    mkdir /opt/k8s-check

    • Copy all the file to this directory and make the following changes:

    chmod +x k8s-check.py


    Symbol Relations by hli

    Description

    There are tools to build function call graphs based on parsing source code, for example, cscope.

    This project aims to achieve a similar goal by directly parsing the disasembly (i.e. objdump) of a compiled binary. The assembly code is what the CPU sees, therefore more "direct". This may be useful in certain scenarios, such as gdb/crash debugging.

    Detailed description and Demos can be found in the README file:

    Supports x86 for now (because my customers only use x86 machines), but support for other architectures can be added easily.

    Tested with python3.6

    Goals

    Any comments are welcome.

    Resources

    https://github.com/lhb-cafe/SymbolRelations

    symrellib.py: mplements the symbol relation graph and the disassembly parser

    symrel_tracer*.py: implements tracing (-t option)

    symrel.py: "cli parser"