{"id":15144392,"url":"https://github.com/mithaputrianty/saucedemorobotframework","last_synced_at":"2026-01-03T03:42:59.610Z","repository":{"id":239153031,"uuid":"798142872","full_name":"mithaputrianty/SauceDemoRobotFramework","owner":"mithaputrianty","description":"Sauce Demo automated testing using Robot Framework","archived":false,"fork":false,"pushed_at":"2024-05-24T08:00:39.000Z","size":15583,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T14:46:50.151Z","etag":null,"topics":["robotframework","saucedemo","test-automation"],"latest_commit_sha":null,"homepage":"","language":"RobotFramework","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/mithaputrianty.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-05-09T07:15:14.000Z","updated_at":"2024-05-20T09:28:36.000Z","dependencies_parsed_at":"2024-10-09T23:40:58.718Z","dependency_job_id":"6c9f5d35-0a2d-453a-8893-6ce1b5b7dcb2","html_url":"https://github.com/mithaputrianty/SauceDemoRobotFramework","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":"0.36363636363636365","last_synced_commit":"ad778bdeaf48b13bb63c0e0919f94df773ee5003"},"previous_names":["mithaputrianty/saucedemorobotframework"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithaputrianty%2FSauceDemoRobotFramework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithaputrianty%2FSauceDemoRobotFramework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithaputrianty%2FSauceDemoRobotFramework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithaputrianty%2FSauceDemoRobotFramework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mithaputrianty","download_url":"https://codeload.github.com/mithaputrianty/SauceDemoRobotFramework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814901,"owners_count":20352038,"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":["robotframework","saucedemo","test-automation"],"created_at":"2024-09-26T10:41:06.895Z","updated_at":"2026-01-03T03:42:59.562Z","avatar_url":"https://github.com/mithaputrianty.png","language":"RobotFramework","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# SauceDemoRobotFramework\r\n\r\n## :scroll:Sauce Demo website\r\nSauce Demo is Sauce Labs' open source websites. This website is a simple E-Commerce that can be used as an alternative website to show validation and possible errors that will occur on a website.\r\n\r\n\r\n\r\n## 🤖Python \u0026 Robot version\r\n- Python version: 3.12.3\r\n- Robot version: 7.0\r\n\r\n\r\n\r\n## 🖥️Installation\r\n1. Install Python (https://www.python.org/downloads/)\r\n2. Install Robot Framework\r\n   ```\r\n   pip install robotframework\r\n   ```\r\n3. Install Selenium Library\r\n   ```\r\n   pip install --upgrade robotframework-seleniumlibrary\r\n   ```\r\n4. [For VS Code User] Install RobotCode extension (https://marketplace.visualstudio.com/items?itemName=d-biehl.robotcode)\r\n\r\n\r\n\r\n## 🏃‍♀️How to Run (VS Code)\r\n#### 1. Set Up browser for Test Driver\r\n#####   a. Set Up all browser that will be used in variables files\r\n\u003cimg src=\"screenshot/setup_browser_variables.png\" width=\"360\"\u003e\r\n\r\n#####   b. Set Up browser that will be used when executing the test case in steps files\r\n\u003cvid src=\"screenshot/setup_browser_steps.png\" width=\"360\"\u003e\r\n\r\n#### 2. Run Test Script\r\n#####   a. Via VS Code Run Test Button\r\n\u003cimg src=\"screenshot/via_VSCode_runtest_button.png\" width=\"600\"\u003e\r\n\r\n#####   b. Via Terminal Command\r\n######     - Run this script to execute selected test case\r\n   ```\r\n   robot -t \"test_cases_name\" --report report --outputdir output --logtitle \"Task log\" features_file_location\r\n   ```\r\n  ######     For example:\r\n   ```\r\n   robot -t \"Login using valid credential\" --report report --outputdir output --logtitle \"Task log\" C:\\\\RobotFramework\\\\SauceDemoRobot\\\\testcases\\\\login_features.robot\r\n   ```\r\n######     - Run this script to execute all test cases\r\n   ```\r\n   robot .\r\n   ```\r\n\r\n\r\n## ✔️Test scenario Name\r\n1. Login using valid credential\r\n2. Login using invalid credential\r\n3. Login using user locked_out_user\r\n4. Purchase product as standard_user\r\n5. Purchase product as standard_user when user didn't fill data in Your Information page\r\n\r\n\r\n\r\n## 📹Running Result\r\n#### Here is an example of a running video\r\n\u003cimg src=\"screenshot/running_result.gif\" width=\"720\"\u003e\r\n\r\n### Report\r\n#### Report can be accessed in the following ways:\r\n1. If run test cases via VS Code Run Test Button or via Terminal Command using script to execute selected test case, then:\r\n\r\n      a. Open file report.html on results folder after test running has been finished\r\n   \r\n      b. Open file report.html on Terminal after test running has been finished\r\n\u003cimg src=\"screenshot/terminal_after_running_test_finished.png\" width=\"360\"\u003e\r\n2. If run test cases via Terminal Command using script to execute all test case, then open file report.html on your project folder after test running has been finished\r\n\r\n#### Here is an example of Robot Framework report\r\n\u003cimg src=\"screenshot/SauceDemoRobot_Report.png\" width=\"840\"\u003e\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmithaputrianty%2Fsaucedemorobotframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmithaputrianty%2Fsaucedemorobotframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmithaputrianty%2Fsaucedemorobotframework/lists"}