stpythons
Software Testing practical slips (1 to 21), Selenium part: all code slip-wise with folder structure and file paths, guides with run steps, explanations and viva questions, plus the Maven project of each slip.
The code is Java (Selenium WebDriver and TestNG). Python is only used to view and copy it. Slip 13 has a pom.xml but no Java file.
Install
python -m pip install stpythons
Use
stpythons # all code, slip by slip (Enter = next, a = all, q = quit)
stpythons code 8 # code of slip 8 only
stpythons code --all # all code without pausing
stpythons txt # save ALL_SLIPS_CODE.txt in the current folder
stpythons menu # interactive menu
stpythons list # all slips
stpythons start # basics: how to write a Selenium slip
stpythons show 8 # guide for slip 8
stpythons get 8 # copy slip 8 project into .\SeleniumSlip8
stpythons export # copy everything into .\practical-slips
stpythons viva # viva questions
If PowerShell says stpythons is not recognized, use python -m stpythons instead, for example python -m stpythons list.
Use from Python
import stpythons
print(stpythons.list_slips())
print(stpythons.get_code(1))
print(stpythons.get_guide(1))
stpythons.export_slip(1, "my_folder")
Running a copied project
You need JDK 17 or newer, Eclipse with Maven (and the TestNG plugin) and Chrome. Slip 7 also needs Firefox. In Eclipse use File > Import > Maven > Existing Maven Projects and select the copied folder.
Rebuild after changing the slips
python sync.py
python -m build
Metadata
Release files for stpythons 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stpythons-0.1.0.tar.gz | 47.2 kB | Without provenance | Details for stpythons-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stpythons-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for stpythons-0.1.0-py3-none-any.whl |
Total release size: 184.1 kB
Release files / stpythons-0.1.0.tar.gz
| Download URL | stpythons-0.1.0.tar.gz |
|---|---|
| Size | 47.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20f9593a2a94f1f5cf1ce9631157bd05ecdf54b40548f8186c0554277a8090f2
|
|
BLAKE2b-256 checksum How to use checksums |
65b25d356683fa0d9619b41aea2738bd7d52d168130fd21e6b863b1779f87cd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Release files / stpythons-0.1.0-py3-none-any.whl
| Download URL | stpythons-0.1.0-py3-none-any.whl |
|---|---|
| Size | 136.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88431e6098208e7a15e2069cc509ebfec54632c6b2b8c0aaf4ed32ddd49f9bb0
|
|
BLAKE2b-256 checksum How to use checksums |
90fb1f09bd1d48891a718f4033dd87a4b0270be6760ccedcdbd204f650c5df26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.11
|
Security for stpythons 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.