{"id":22419873,"url":"https://github.com/testertech/testproject-python-sdk","last_synced_at":"2025-10-06T15:06:56.685Z","repository":{"id":159879736,"uuid":"343150732","full_name":"TesterTech/testproject-python-sdk","owner":"TesterTech","description":"Code for the Youtube video https://youtu.be/CxS5SX8f4yQ","archived":false,"fork":false,"pushed_at":"2021-02-28T20:03:59.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T10:11:16.444Z","etag":null,"topics":["selenium","selenium-python","selenium-webdriver","testautomation","testautomationframework","testproject","tutorial"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TesterTech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-28T16:18:14.000Z","updated_at":"2021-03-01T22:48:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"67db6b89-90d7-49c5-8757-7a935c3fc88a","html_url":"https://github.com/TesterTech/testproject-python-sdk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TesterTech%2Ftestproject-python-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TesterTech%2Ftestproject-python-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TesterTech%2Ftestproject-python-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TesterTech%2Ftestproject-python-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TesterTech","download_url":"https://codeload.github.com/TesterTech/testproject-python-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245785712,"owners_count":20671631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["selenium","selenium-python","selenium-webdriver","testautomation","testautomationframework","testproject","tutorial"],"created_at":"2024-12-05T16:17:01.555Z","updated_at":"2025-10-06T15:06:51.650Z","avatar_url":"https://github.com/TesterTech.png","language":null,"readme":"# testproject-python-sdk\nCode for the Youtube video https://youtu.be/CxS5SX8f4yQ\n\n# Getting started with Python SDK for testproject.io\n## On https://testproject.io\n- [ ] First create an account \n- [ ] Login to that account \n- [ ] Go to the link and setup the developer token: https://app.testproject.io/#/integrations/sdk\n- [ ] Copy the token to the clipboard\n## Setup the DEV token\n- For Linux and Mac\n  - TP_DEV_TOKEN in your .bashrc or .bash_profile \n  - For example on Linux (should also work on OSX): ```export TP_DEV_TOKEN=\u003cyour dev token here\u003e```\n- For Windows\n  - Create env. variable TP_DEV_TOKEN in system settings and put the value there.\n## Setup and connect to agent\n- Visit testproject and click the agents menu (https://app.testproject.io/#/agents), select appropriate agent\n- Download and install\n- Once installer closes click on the message saying that the agent is not authorized\n- You have to log into testproject.io (allow the popup if needed) all should be well\n## Local computer\nThe example code and required dependencies are in the repository \n- Make sure you have python installed (python 3)\n- ```sudo dnf install -y git  python3``` \n- ```pip3 install --user pipenv```\n- installed Google Chrome using RPM [https://www.google.com/chrome/] (restart agent)\n  - Note that because this video is based on RPM based distro I install it using RPM package. Pick the package for your OS here.\n- Clone the following github repository (git clone) https://github.com/testproject-io/python-sdk\n  - Navigate into that dir (```cd python-sdk```)\n  - ```pipenv install```\n  - ```pipenv shell```\n- From within this virtual environment (python-sdk) install the Python sdk: \n  - ```pip3 install testproject-python-sdk```\n- Now run the test using python:\n  - ```python tests/examples/simple/web_test.py```\n## Report\n- For the report part, visit this link: https://docs.testproject.io/testproject-sdk/opensdk-v2/python-sdk#explicit-project-and-job-names\n- Click the monitor tab and see the run. \n- Please note: if you provide a projectname for a non-existent project it will only be shown in the reports and will NOT be accessible in testproject.io as a project \n\n# References\n- Link to blogpost about this subject created by Bas Dijkstra, I basically extended this information in this video https://blog.testproject.io/2020/07/15/getting-started-with-testproject-python-sdk/\n- SDK (inside your profile page on testproject.io) https://app.testproject.io/#/integrations/sdk\n- Agents https://app.testproject.io/#/agents\n- Github sample https://github.com/testproject-io/python-sdk\n- Reporting and report names https://docs.testproject.io/testproject-sdk/opensdk-v2/python-sdk#explicit-project-and-job-names\n- Download Google Chrome https://www.google.com/chrome/\n  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestertech%2Ftestproject-python-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestertech%2Ftestproject-python-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestertech%2Ftestproject-python-sdk/lists"}