{"id":17954499,"url":"https://github.com/alaahong/open_automation_quiz","last_synced_at":"2025-08-16T07:31:00.049Z","repository":{"id":37385373,"uuid":"240451906","full_name":"alaahong/open_automation_quiz","owner":"alaahong","description":"Please raise the issue if you had any suggestion. Strongly suggest you on working with your personal account.","archived":false,"fork":false,"pushed_at":"2024-12-03T15:25:11.000Z","size":4407,"stargazers_count":1,"open_issues_count":0,"forks_count":46,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-03T16:30:59.292Z","etag":null,"topics":["appium","automation","cucumer","selenium"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alaahong.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-14T07:28:12.000Z","updated_at":"2024-12-03T15:31:01.000Z","dependencies_parsed_at":"2024-10-29T10:38:12.497Z","dependency_job_id":null,"html_url":"https://github.com/alaahong/open_automation_quiz","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaahong%2Fopen_automation_quiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaahong%2Fopen_automation_quiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaahong%2Fopen_automation_quiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaahong%2Fopen_automation_quiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alaahong","download_url":"https://codeload.github.com/alaahong/open_automation_quiz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230019776,"owners_count":18160600,"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":["appium","automation","cucumer","selenium"],"created_at":"2024-10-29T10:16:55.068Z","updated_at":"2025-08-16T07:31:00.002Z","avatar_url":"https://github.com/alaahong.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open Automation Quiz\n\n![CI Build](https://github.com/alaahong/open_automation_quiz/workflows/CI/badge.svg)\n![Nightly Build](https://github.com/alaahong/open_automation_quiz/actions/workflows/nightly.yml/badge.svg)\n[![codecov](https://codecov.io/github/alaahong/open_automation_quiz/graph/badge.svg?token=GEBB7Z1AZK)](https://codecov.io/github/alaahong/open_automation_quiz)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=alaahong_open_automation_quiz\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=alaahong_open_automation_quiz)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=alaahong_open_automation_quiz\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=alaahong_open_automation_quiz)\n\n\n---\n\n## 0. 任务要求\n\n\u003e **特别注意**：请于完成后，将项目源码更新至候选者您本人的Github，在您项目的**Settings**页面，例如本项目为此[链接](https://github.com/alaahong/open_automation_quiz/settings/access) ，将您的项目设置为**Private Repository**以免借阅, 并于**Manage access**邀请**alaahong**作为协作者(collaborator)后，发起[issue](https://github.com/alaahong/open_automation_quiz/issues)声明您的项目链接，并最终反馈给HR/Vendor/猎头等渠道\n\n### 基本要求\n\n* 请**Fork**本项目到您自己的Github账号下 (本项目已关联Github Actions, 会自动编译检测Fork项目提交质量)\n* 以下内容均基于**Java**进行考察，并同时涉及到了Git, Maven, Selenium, Cucumber 和 Appium等技术\n* 第一题Selenium和第二题Cucumber必做，第三题Appium视为加分项可以选做\n* 网页端内容需对[Chrome](https://www.google.cn/intl/zh-CN/chrome/)浏览器进行实现,有余力的同学可以考虑实现基于[Microsoft Edge (IE Mode)](https://www.microsoft.com/zh-cn/edge/business/ie-mode)的方案\n* 手机端内容可以基于Android或iOS平台二选一\n* 若担心环境问题，可以将运行结果的截图添加至项目资源目录内，并声明截图路径\n* 允许锦上添花，额外增加体现个人情况的功能，但是无视题目要求自行发挥的，直接判定失败\n\n### 加分项\n\n希望，我们可以遇到这样的您\n\n* 认真理解题目的要求，若有不明确的地方，可以直接提[issue](https://github.com/alaahong/open_automation_quiz/issues)沟通 或 通过HR/Vendor/猎头等反馈\n* 思路清晰，代码规范，尽量完成了更多的任务，针对**项目结构**和**代码质量**进行了完善\n* 尽量提交可以直接运行的项目，至少也应该是可以通过**Maven**构建的 [![Build Status](https://github.com/alaahong/open_automation_quiz/workflows/CI/badge.svg)](https://github.com/alaahong/open_automation_quiz)\n* 提交一个规范的Java项目，符合标准的项目结构，根据需求引入必要的依赖并解决冲突，创建必要的文件和配置\n* 项目不依赖于特定的IDE，可以通过命令行或者接口的形式被调用，以便于测试平台或框架级别的引用\n\n\u003e 以下任务内容均来源于基本的日常需求，请您反馈项目前认真思考，是否适应并胜任，比这些任务更加复杂的日常工作\n\n### 度量标准\n\n这套开放测试题目已运行数年，针对有经验的候选人，可以有效甄别候选人是否熟练掌握基于Java的UI自动化测试能力、编码习惯以及分析和解决问题的方式方法。\n此套题目同样适用于没有过多经验的职场新人，根据实际考察效果观察，基础比较好的同学可以在一个周末内通过自学完成题目要求。\n\n此外，针对完美解决此处三道题的同学，可以考虑另外一套 [进阶版的试题](https://www.ianzhang.cn/bing/skill_level/intermediate/) ，更加考察大家的观察和学习能力。\n根据实际测试，日常维持一定比率代码编写和调试工作，并且有一定解决问题经验的测试开发工程师，可以在一个小时之内完成题目要求。\n\n### 校验方式\n\n项目根目录执行以下命令后，查看即时生成的测试结果及报告\n\n\u003e mvn clean test\n\n---\n\n## 1. 搜索统计(Selenium)\n\n请使用[Selenium](https://github.com/SeleniumHQ/selenium)打开[测试网站](https://www.ianzhang.cn/bing/)，在搜索栏内输入关键词 \"**您的姓名**\" 并执行搜索操作，请基于搜索结果的**第二页**内容，请打印每个结果的标题以及链接，同时统计并打印每个**二级域名**出现的次数。\n完成后请在上一步的搜索结果页，继续基于关键词 \"**Selenium**\" 执行同样的打印操作。\n\n例：若得到以下的搜索结果\n[Bing Translator](https://www.bing.com/Translator) 、\n[Bing](https://cn.bing.com/?setmkt=de-de\u0026setlang=de-de) 、\n[bing（搜索引擎）_百度百科](https://baike.baidu.com/item/bing/5994319)\n\n则应输出\n\n```\n结果列表  \nBing Translator  --\u003e www.bing.com/Translator   \nBing  --\u003e https://cn.bing.com/?setmkt=de-de\u0026setlang=de-de  \nbing（搜索引擎）_百度百科  --\u003e https://baike.baidu.com/item/bing/5994319   \n\n结果统计 \nbing.com  --\u003e 2\nbaidu.com  --\u003e 1  \n```\n\n---\n\n## 2. 企业复工申请资料提交表(Cucumber)\n\n请基于[Cucumber](https://cucumber.io/)，以[BDD](https://cucumber.io/docs/bdd/)的形式，自行实现所需的[Feature](https://cucumber.io/docs/gherkin/reference/#feature)和[Gherkin](https://cucumber.io/docs/gherkin/)，用于以下操作\n打开网页 [企业复工申请资料提交表](https://templates.jinshuju.net/detail/Dv9JPD)\n请在第一页填写以下内容\n“**请选择贵单位情况**”的选项组中选择 “**连续生产/开工类企事业单位**”\n将**第一页**进行**截图**\n点击**下一页**按钮\n请在第二页填写以下内容\n\n\n| 栏位     |          内容          |\n| :--------- | :----------------------: |\n| 申请日期 | 运行脚本的当年元旦日期 |\n| 申请人   |         自动化         |\n| 联系方式 |       13888888888       |\n\n点击**下一页**按钮\n将**第二页**进行**截图**\n请在第三页填写以下内容\n\n\n| 栏位                                                     |      内容      |\n| :--------------------------------------------------------- | :--------------: |\n| 报备单位                                                 |    测试公司    |\n| 在岗人数                                                 |       99       |\n| 报备日期                                                 | 执行测试的日期 |\n| 湖北籍员工、前往湖北以及与湖北人员密切接触的员工（人数） |       0       |\n| 单位负责人                                               |    您的姓名    |\n| 联系方式                                                 |  13888888888  |\n| 疫情防控方案                                             |    测试内容    |\n\n将**第三页**进行**截图**\n点击**提交**按钮\n判断此时的提交状态，并进行**截图**\n\n测试完成后，应生成相应的[HTML](https://cucumber.io/docs/cucumber/reporting/)格式的[测试报告](https://cucumber.io/docs/cucumber/reporting/#built-in-reporter-plugins)\n\n---\n\n## 3. 手机APP(Appium)\n\n请基于 [Appium](http://appium.io/)  完成任意一款APP的自动化测试，请附带可下载的测试APP样例链接。或者直接基于本模板项目给定样例APP [src/test/resources/apk/app-debug-1.0.0.apk](https://github.com/alaahong/open_automation_quiz/releases/tag/apk-1.0.0) 完成测试。\n测试内容需包括以下操作\n\n* 点击按钮\n* 提取资源文本\n* 断言不同页面的资源\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaahong%2Fopen_automation_quiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falaahong%2Fopen_automation_quiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaahong%2Fopen_automation_quiz/lists"}