{"id":23908929,"url":"https://github.com/hjsblogger/selenium-tool-tip-validation","last_synced_at":"2025-02-23T15:44:55.341Z","repository":{"id":270830180,"uuid":"911180943","full_name":"hjsblogger/selenium-tool-tip-validation","owner":"hjsblogger","description":"This repository contains demo code for extracting validation tooltip ","archived":false,"fork":false,"pushed_at":"2025-01-03T11:15:08.000Z","size":10,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-03T12:25:37.872Z","etag":null,"topics":["selenium","selenium-automation","selenium-python","selenium-webdriver","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Python","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/hjsblogger.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":"2025-01-02T12:27:10.000Z","updated_at":"2025-01-03T11:15:11.000Z","dependencies_parsed_at":"2025-01-03T12:25:54.057Z","dependency_job_id":"59c4aca9-c495-4502-9597-492662afce02","html_url":"https://github.com/hjsblogger/selenium-tool-tip-validation","commit_stats":null,"previous_names":["hjsblogger/selenium-tool-tip-validation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjsblogger%2Fselenium-tool-tip-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjsblogger%2Fselenium-tool-tip-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjsblogger%2Fselenium-tool-tip-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjsblogger%2Fselenium-tool-tip-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hjsblogger","download_url":"https://codeload.github.com/hjsblogger/selenium-tool-tip-validation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240339546,"owners_count":19785956,"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-automation","selenium-python","selenium-webdriver","tutorial"],"created_at":"2025-01-05T05:14:31.340Z","updated_at":"2025-02-23T15:44:55.247Z","avatar_url":"https://github.com/hjsblogger.png","language":"Python","readme":"# Tool-Tip text validation with Selenium \u0026 Python\n\n\u003cimg width=\"700\" height=\"400\" alt=\"Automation\" src=\"https://github.com/user-attachments/assets/c438af79-e9e3-441a-9eec-92b59f22dc9c\"\u003e\n\nRepo Inspiration : [YouTube Video](https://www.youtube.com/watch?v=qItS8AXOwww)\n\n## Pre-requisites for test execution\n\n**Step 1**\n\nCreate a virtual environment by triggering the *virtualenv venv* command on the terminal\n\n```bash\nvirtualenv venv\n```\n\u003cimg width=\"1418\" alt=\"VirtualEnvironment\" src=\"https://github.com/hjsblogger/web-scraping-with-python/assets/1688653/89beb6af-549f-42ac-a063-e5f715018ef8\"\u003e\n\n**Step 2**\n\nNavigate the newly created virtual environment by triggering the *source venv/bin/activate* command on the terminal\n\n```bash\nsource venv/bin/activate\n```\n\n**Step 3**\n\nProcure the LambdaTest User Name and Access Key by navigating to [LambdaTest Account Page](https://accounts.lambdatest.com/security). You might need to create an an account on LambdaTest since it is used for running tests on the cloud Grid.\n\n\u003cimg width=\"1288\" alt=\"LambdaTestAccount\" src=\"https://github.com/hjsblogger/web-scraping-with-python/assets/1688653/9b40c9cb-93a1-4239-9fe5-99f33766a23a\"\u003e\n\n**Step 4**\n\nAdd the LambdaTest User Name and Access Key in the *Makefile* that is located in the parent directory. Once done, save the Makefile.\n\n![Makefile](https://github.com/user-attachments/assets/9789bc91-b2e3-4a38-b31b-03f9c6a792c6)\n\n## Dependency/Package Installation\n\nRun the *make install* command on the terminal to install the desired packages (or dependencies) - Pytest, Selenium, etc.\n\n```bash\nmake install\n```\n\u003cimg width=\"1404\" alt=\"Make-Install\" src=\"https://github.com/hjsblogger/web-scraping-with-python/assets/1688653/4cb16443-4411-4f11-8692-aa7290cded0b\"\u003e\n\n\u003cimg width=\"1404\" alt=\"Make-Install-2\" src=\"https://github.com/hjsblogger/web-scraping-with-python/assets/1688653/8c7e8938-5584-480b-ad04-002b53827396\"\u003e\n\nWith this, all the dependencies and environment variables are set. Instead of PyUnit/*unittest*, the Pytest framework is used for test execution. The\n[LambdaTest Selenium Playground - Input Form Demo](https://www.lambdatest.com/selenium-playground/input-form-demo) website is used for demonstration purposes.\n\nFollow the below mentioned steps to run automated tests using Selenium Python:\n\n**Step 1**\n\nChange the *EXEC_PLATFORM* variable to *local* in [.env](https://github.com/hjsblogger/selenium-tool-tip-validation/blob/master/.env) in case you want to run tests on your local machine.\n\nAlternatively, you can also set *EXEC_PLATFORM* environment variable to *cloud*. Trigger the command *export EXEC_PLATFORM=local* on the terminal.\n\n\n**Step 2**\n\nTrigger the command *make clean* to clean the remove _pycache_ folder(s) and .pyc files\n\n\u003cimg width=\"512\" src=\"https://github.com/user-attachments/assets/62d0a440-3cdb-4721-95a2-f4d3492f2a47\"\u003e\n\n**Step 3**\n\nTrigger the respective *make* command on the terminal to run the test(s). For example, run the command *make tool_tip_verification_demo* for triggering the test that validates the tool-tip.\n\n\u003cimg width=\"1417\" alt=\"MakeCommand\" src=\"https://github.com/user-attachments/assets/603cc2c9-f0d0-4d9b-a70c-c4d85c4c5072\" /\u003e\n\nAs seen above, the test execution was successful and the status is \"Completed\". You can find the status of test execution in the [LambdaTest Automation Dashboard](https://automation.lambdatest.com/build).\n\n\u003cimg width=\"1439\" alt=\"Dashboard_1\" src=\"https://github.com/user-attachments/assets/5445d389-93dc-4a27-9f65-baa1de8d3902\" /\u003e\n\n\u003cimg width=\"1439\" alt=\"Dashboard_2\" src=\"https://github.com/user-attachments/assets/cff0583e-9acf-4860-befc-0de447083c5a\" /\u003e\n\n## Have feedback or need assistance?\nFeel free to fork the repo and contribute to make it better! Email to [himanshu[dot]sheth[at]gmail[dot]com](mailto:himanshu.sheth@gmail.com) for any queries or ping me on the following social media sites:\n\n\u003cb\u003eLinkedIn\u003c/b\u003e: [@hjsblogger](https://linkedin.com/in/hjsblogger)\u003cbr/\u003e\n\u003cb\u003eTwitter\u003c/b\u003e: [@hjsblogger](https://www.twitter.com/hjsblogger)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjsblogger%2Fselenium-tool-tip-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhjsblogger%2Fselenium-tool-tip-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjsblogger%2Fselenium-tool-tip-validation/lists"}