{"id":15144410,"url":"https://github.com/zahid-automate/robotframework","last_synced_at":"2026-02-13T12:18:19.873Z","repository":{"id":230697914,"uuid":"779927932","full_name":"Zahid-Automate/RobotFramework","owner":"Zahid-Automate","description":"Robot framework automation using Python","archived":false,"fork":false,"pushed_at":"2024-05-04T22:38:33.000Z","size":851,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T08:15:23.878Z","etag":null,"topics":["python","robotframework"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Zahid-Automate.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":"2024-03-31T07:15:25.000Z","updated_at":"2024-05-04T22:38:36.000Z","dependencies_parsed_at":"2024-04-07T02:23:53.870Z","dependency_job_id":"b663a940-824f-4ba2-8f21-1298b01d1cd2","html_url":"https://github.com/Zahid-Automate/RobotFramework","commit_stats":{"total_commits":40,"total_committers":2,"mean_commits":20.0,"dds":0.475,"last_synced_commit":"c1426630399fe408c11a2d63538b99974a283a62"},"previous_names":["zahid-automate/pythonautomationroboproject"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zahid-Automate%2FRobotFramework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zahid-Automate%2FRobotFramework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zahid-Automate%2FRobotFramework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zahid-Automate%2FRobotFramework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zahid-Automate","download_url":"https://codeload.github.com/Zahid-Automate/RobotFramework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999865,"owners_count":21031046,"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":["python","robotframework"],"created_at":"2024-09-26T10:41:11.326Z","updated_at":"2026-02-13T12:18:19.793Z","avatar_url":"https://github.com/Zahid-Automate.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eRobot Framework Demo\u003c/h1\u003e\nRobot Framework is a generic open source test automation framework. In addition to introducing Robot Framework test data syntax, this demo shows how to execute test cases, how generated reports and logs look like, and how to extend the framework with custom test libraries.\n\nContents:\n\n\u003ch1\u003eDownloading package\u003c/h1\u003e\nTo get the project, you can either download and extract the latest package from the GitHub or checkout the source code directly. As a result you get **RobotFramework** directory with several files.\n\nExample test cases, test library used by a robo project, and generated results are available also online. Therefore, you do not need to download the project if you are not interested in running it yourself.\n\n\u003ch1\u003eTest cases\u003c/h1\u003e\nThis project contains the below test cases\u003c/br\u003e\n1. Login into a website\u003c/br\u003e\n2. Verifying Input Box\u003c/br\u003e\n3. Selecting Radio buttons and Checking/Unchecking of Checkboxes\u003c/br\u003e\n4. Selecting Drop Down values\u003c/br\u003e\n5. Using Implicit wait keyword **set selenium implicit wait** for a Registration Page on a website\u003c/br\u003e\n6. Command to run only test cases with Tag regression \u003c/br\u003e\n  \n  ```cmd \n  robot --include=regression .\\TestCases\\CredentialTest.robot\n  ```\n  \u0026ensp; Command to exclude test cases with Tag regression \u0026ensp; \u003c/br\u003e\n\n  ```cmd \n  robot -e regression .\\TestCases\\Credentials.robot\n  ```\n  \u0026ensp; Command to run test cases with both Tags i.e sanity and regression \u003c/br\u003e \n  ```cmd \n  robot -i sanity -i regression .\\TestCases\\Credentials.robot\n  ```\n6. Reading data from a complex Json file and passing the same onto a website\u003c/br\u003e\n\n\u003ch1\u003ePython based debugging in Robot Framework\u003c/h1\u003e\n\n  Import the DebugLibrary.py file present in this project root folder into your test case\u003c/br\u003e\n   Use Suite Tear down keyword and a keyword \u003cstrong\u003eTeardown Actions\u003c/strong\u003e as shown below\u003c/br\u003e\n    \u0026ensp;\u003cimg width=\"377\" alt=\"image\" src=\"https://github.com/Zahid-Automate/pythonAutomationRoboProject/assets/45691238/22d145a1-e7d0-4932-9a15-e13f11519cb8\"\u003e\n    \u0026ensp;\u003cimg width=\"448\" alt=\"image\" src=\"https://github.com/Zahid-Automate/pythonAutomationRoboProject/assets/45691238/8c3a3a36-3822-4b9a-b28a-3d2f26f650c2\"\u003e\u003c/br\u003e\n\n  Make sure to include the \u003cstrong\u003eset breakpoint\u003c/strong\u003e in your test case to activate the Python Debugger (Pdb)\u003c/br\u003e\n  \u003cimg width=\"548\" alt=\"image\" src=\"https://github.com/Zahid-Automate/pythonAutomationRoboProject/assets/45691238/5aa5fa91-a3c6-4c1f-9b5a-97a3e29d0789\"\u003e\n\n  Use the below command in the terminal, to run the test cases in Debug Mode\u003c/br\u003e\n  ```cmd\n  $Env:ROBOT_DEBUG = 'TRUE'; robot  .\\TestCases\\ReadingDataFromJson.robot\n  ```\nSet the value of the variable to the desired value at run time \n  ```cmd\n BuiltIn().set_local_variable(\"{firstName}\", \"Superman\") \n\n ```\nIn order to get the value of the variables during run time use below command in Pdb\n  ```cmd\n BuiltIn().get_variable_value(\"${firstName}\")\n ```\nScreen-shot of how the value will look like after runtime modification of the variable\n  \u003cimg width=\"779\" alt=\"image\" src=\"https://github.com/Zahid-Automate/pythonAutomationRoboProject/assets/45691238/3d65a153-0257-4169-818a-d1f15ad6dd7d\"\u003e\n\n\u0026ensp;\u003cimg width=\"787\" alt=\"image\" src=\"https://github.com/Zahid-Automate/pythonAutomationRoboProject/assets/45691238/43497dcd-2eb3-42aa-aadf-42651d260217\"\u003e\n\nWhen \u003cstrong\u003epause for debug\u003c/strong\u003e keyword is used , we get to see the below pop-up, where the execution gets stopped \u003c/br\u003e\n\u003cimg width=\"228\" alt=\"image\" src=\"https://github.com/Zahid-Automate/pythonAutomationRoboProject/assets/45691238/8a732ad6-c549-46bd-bac9-6bb71462e84c\"\u003e\n\n\u003ch1\u003ePrinting the console logs to a txt file\u003c/h1\u003e \u003cbr\u003e\n\n```\nrobot .\\TestCases\\Credentials.robot \u003e results/console-output.txt\n```\n\n The above will create a txt log file which has all the contents of **Log to Console** key word present in your test case into a results directly\n\n\u003ch1\u003eRe-run the failed test cases and Merge the rerun results with the Previously failed test result\u003c/h1\u003e \u003cbr\u003e\n\n```\nrobot --output original.xml tests                          # first execute all tests\n```\n```\nrobot --rerunfailed original.xml --output rerun.xml tests  # then re-execute failing\n```\n```\nrebot --merge original.xml rerun.xml                       # finally merge results\n```\n\u003cimg width=\"922\" alt=\"image\" src=\"https://github.com/Zahid-Automate/RobotFramework/assets/45691238/9093a675-1f63-4513-b65a-26eb668f9e9e\"\u003e\n\n\u003c/br\u003e[Re-run Failed Tests.html](https://rawcdn.githack.com/Zahid-Automate/RobotFramework/0713dc35875b2d96c6dafdec4a0f92fc7552240e/report.html)\n\n\u003ch1\u003eGenerated results\u003c/h1\u003e\nAfter running tests, you will get report and log in HTML format. Example files are also visible online in case you are not interested in running the demo yourself. Notice that one of the test has failed on purpose to show how failures look like.\n\n\u003c/br\u003e[FirstReport.html](https://raw.githack.com/Zahid-Automate/pythonAutomationRoboProject/master/report.html)\u003c/br\u003e\n[Firstlog.html](https://raw.githack.com/Zahid-Automate/pythonAutomationRoboProject/master/log.html)\u003cbr\u003e\n\n\u003cbr\u003e[ReportWithFailures.html](https://rawcdn.githack.com/Zahid-Automate/pythonAutomationRoboProject/2cb204fd0e407d755137fdffee0f650289556658/report.html)\u003c/br\u003e\n[LogWithFailures.html](https://rawcdn.githack.com/Zahid-Automate/pythonAutomationRoboProject/2cb204fd0e407d755137fdffee0f650289556658/log.html)\u003c/br\u003e\n\u003ch3\u003ePreconditions\u003c/h3\u003e\n\nA precondition for running the tests is having [Robot Framework](https://robotframework.org/) installed. It is most commonly used on [Python](https://www.python.org/) but it works also with Jython (JVM) and IronPython (.NET). Robot Framework [installation instructions](https://github.com/robotframework/robotframework/blob/master/INSTALL.rst) cover installation procedure in detail. People already familiar with installing Python packages and having pip package manager installed, can simply run the following command:\n\n```\npip install robotframework  \n```\n\n\u003c/br\u003e Robot Framework 3.0 and newer support Python 3 in addition to Python 2.\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzahid-automate%2Frobotframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzahid-automate%2Frobotframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzahid-automate%2Frobotframework/lists"}