{"id":37016116,"url":"https://github.com/lwfwind/smart-ui-framework","last_synced_at":"2026-01-14T01:48:03.010Z","repository":{"id":6934730,"uuid":"55740601","full_name":"lwfwind/smart-ui-framework","owner":"lwfwind","description":"smart ui automation framework to support web and moblie automaton based on spring boot,webdriver/appium,and testNg","archived":false,"fork":false,"pushed_at":"2022-12-05T23:36:51.000Z","size":579,"stargazers_count":15,"open_issues_count":7,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-20T01:57:02.859Z","etag":null,"topics":["appium","spring-boot","testng","webdriver"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lwfwind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-08T01:35:57.000Z","updated_at":"2024-03-29T15:53:39.000Z","dependencies_parsed_at":"2023-01-13T14:11:09.307Z","dependency_job_id":null,"html_url":"https://github.com/lwfwind/smart-ui-framework","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/lwfwind/smart-ui-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwfwind%2Fsmart-ui-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwfwind%2Fsmart-ui-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwfwind%2Fsmart-ui-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwfwind%2Fsmart-ui-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lwfwind","download_url":"https://codeload.github.com/lwfwind/smart-ui-framework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwfwind%2Fsmart-ui-framework/sbom","scorecard":{"id":606567,"data":{"date":"2025-08-11","repo":{"name":"github.com/lwfwind/smart-ui-framework","commit":"e3f210d52bc8f9f9a724100fdfe1760188b93264"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T01:44:35.413Z","repository_id":6934730,"created_at":"2025-08-21T01:44:35.414Z","updated_at":"2025-08-21T01:44:35.414Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["appium","spring-boot","testng","webdriver"],"created_at":"2026-01-14T01:48:02.520Z","updated_at":"2026-01-14T01:48:03.003Z","avatar_url":"https://github.com/lwfwind.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿## Smart-ui-framework - a light, robust Web/Android/IOS UI automation framework\n\nSmart-ui-framework is a light, robust Web/Android/IOS UI automation framework based on [Webdriver](http://seleniumhq.org/), [Appium](http://appium.io/) and [TestNG](http://testng.org/doc/index.html).\n\n* Tags: Selenium, Appium, Webdriver, TestNG, Automation,Spring boot\n\n## Features\n* Support spring boot grammar such as @Value,@Autowired on client code\n* Support page object design pattern and extend page factory support highlight element, log action, screenshot action automatically and so on\n* Good support concurrent testing with multi webdriver\n* Re-run failed test cases and capture screenshot automatically when testcase fails\n* Support identify Toast and PopupWindow for appium through [android-automation-library](https://github.com/lwfwind/android-automation-library)\n\n## Example\n##### 1. Add maven dependency\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.lwfwind.automation\u003c/groupId\u003e\n    \u003cartifactId\u003esmart-ui-framework\u003c/artifactId\u003e\n    \u003cversion\u003e3.8\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n##### 2. Create Page level Class, which annotated by @Page\n\n```java\n@Page\npublic class SearchPage{\n\n    private WebDriver driver;\n\n    @Value(\"${webPath}\")\n    private String url;\n\n    @FindBy(id = \"kw\")\n    private WebElement searchTestBox;\n\n    @FindBy(id = \"su\")\n    private WebElement searchBtn;\n\n    public void searchFor(String text) {\n        driver.get(url);\n        searchTestBox.sendKeys(text);\n        searchBtn.click();\n    }\n}\n```\n\n##### 3. Create Service Level Class, which annotated by @Service\n\n```java\n@Service\npublic class SearchService {\n    @Autowired\n    SearchPage searchPage;\n\n    public void search(String content){\n        searchPage.searchFor(content);\n        searchPage.verifyResult();\n    }\n}\n```\n\n##### 4. Create TestCase Level Class, which extends TestCaseBase Class\n\n```java\npublic class SearchWithServiceTest extends TestCaseBase {\n    @Autowired\n    SearchService searchService;\n\n    @Test(dataProviderClass = TestCaseData.class, dataProvider = \"searchData\", description = \"搜索测试\")\n    public void pageFactoryTest(String content) {\n        searchService.search(content);\n    }\n}\n```\n\n##### 5. Create test listener Class to add business log on success/fail/skip, which implement ICustomTestListener Class\n\n```java\npublic class TestListener implements ICustomTestListener {\n\n    @Override\n    public void onStart(ITestContext testContext) {\n        // TODO\n    }\n    \n    @Override\n    public void onTestSuccess(ITestResult tr){\n        // TODO\n    }\n    \n    @Override\n    public void onTestFailure(ITestResult tr) {\n        // TODO\n    }\n    \n    @Override\n    public void onTestSkipped(ITestResult tr){\n        // TODO\n    }\n    \n    @Override\n    public void onStart(ISuite iSuite){\n        // TODO\n    }\n    \n    @Override \n    public void onFinish(ISuite iSuite){\n        // TODO\n    }\n    \n    @Override\n    public void onStart(ITestContext testContext){\n        // TODO\n    };\n    \n    @Override\n    public void onFinish(ITestContext testContext) {\n        // TODO\n    }\n\n}\n```\n\nDetail please refer to [smart-ui-automation-example](https://github.com/lwfwind/smart-ui-automation-example)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwfwind%2Fsmart-ui-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flwfwind%2Fsmart-ui-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwfwind%2Fsmart-ui-framework/lists"}