Skip to main content

SeleniumFramework

Backgrounds

Well, when i looked into my previous codes, I found 6 years back (Dec.2012) when I just joined Autodesk, I wrote a Selenium Framework which was used by several teams within Autodesk.

Now 6 years passed and I already left Autodesk, maybe it's time to share to Github, lol.

This framework provides a way to code Selenium Automation with Layers instead of wrting un-resuable and un-readable codes. Suggested layers are:

  • Pages: define elements and pages
  • Actions: define test actions using web elements defined in "pages"
  • Test Cases: combination of actions

I made some tests these days and prooved these codes can be executed from Mac using Python 3.6.

If I have time, i will work on the follwoing:

  • HTML reports
  • make it more compatible with Firefox on Windows or Linux
  • test headless

Don't laugh at me if codes looks ugly for you, i wrote it 6 years ago, lol

Usage

1. Install this package:
pip install pyselenium-framework
2. Create a folder under your application to store Chrome/Firefox binary files, let's say folder called:
driver_binary_files
3. Download binary files and put them there.
4. Start to build your awesome project simply by:
import selenium_framework

Sample Code and Structures

TBD later, but in the meantime, please refer to "AUT" folder

Release files for pyselenium-framework 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyselenium-framework 0.2.0
File Size Uploaded
pyselenium_framework-0.2.0.tar.gz 100.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyselenium-framework 0.2.0
File Interpreter ABI Platform
pyselenium_framework-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 218.1 kB

Release files / pyselenium_framework-0.2.0.tar.gz

Download URL pyselenium_framework-0.2.0.tar.gz
Size 100.6 kB
Tags Source
SHA-256 checksum
How to use checksums
698b34466d359b23eb42958f1d53f718b1fd7f8af8ac92df60626f5e9d8f8eae
BLAKE2b-256 checksum
How to use checksums
af06b1b1d2abd1140871d5fb8572baf2fd85fc169fbad91de8d6d0aa333687b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

Release files / pyselenium_framework-0.2.0-py3-none-any.whl

Download URL pyselenium_framework-0.2.0-py3-none-any.whl
Size 117.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24e5fd83c1250c72280e871a72de8aeaed85215b36690098cdc55a38f0d77dde
BLAKE2b-256 checksum
How to use checksums
beec97775b1f9868ee3d15269e19643eb8d0b35f30b9bd60bbfcb3524c84158d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

1 release file

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page