{"source": "Ch6-系统功能测试-GDUF版.pptx", "slide_w": 10.0, "slide_h": 5.625, "count": 71, "media": ["img-001326b270.png", "img-00fecdb896.tiff", "img-016b8547c1.png", "img-056d9b6e5f.png", "img-0684098a6d.png", "img-08ceaaa22d.png", "img-0a8a914a33.png", "img-0e5fc4810b.png", "img-1487a9a19d.tiff", "img-23a64d7a3c.png", "img-2fc2e96008.png", "img-3055b77f09.jpg", "img-3442893b04.png", "img-386f85bece.png", "img-3f1dbe34ff.png", "img-3fab4a2e7f.png", "img-453e0a3c0b.tiff", "img-4bae371446.jpg", "img-4d37b5b058.png", "img-4f6b07e5d7.png", "img-51dfc1de50.png", "img-54b4711433.png", "img-59fd773421.tiff", "img-5d969ad1ab.png", "img-618cba734d.png", "img-644f68cced.png", "img-64a78066da.jpg", "img-67c53dddfa.png", "img-6da8ce5d35.png", "img-7145ed83c7.png", "img-72c0ae2bcc.png", "img-765f3bcf41.png", "img-77786284d6.png", "img-799bc6ada9.png", "img-7db66cb6f7.jpg", "img-7e86f7ee44.png", "img-7f0621cf87.png", "img-88278939c9.png", "img-8c38c79894.png", "img-955e48dad9.png", "img-9fdddb620f.png", "img-a3fa9f1ceb.png", "img-aa5bafd062.png", "img-aa8cb64b0f.png", "img-abfd6fea1b.png", "img-acf946d147.png", "img-b7516bb131.png", "img-b96d9952e3.png", "img-bdcb71e768.png", "img-bea100182f.png", "img-bee7446f6a.png", "img-c30a5affe5.png", "img-cb32159353.png", "img-cb3a1c64c2.png", "img-cc0047c65b.png", "img-ccc4ab7fa3.png", "img-cf458fe9cc.png", "img-d07ad4478c.png", "img-d5ca7182d6.png", "img-d730896e60.png", "img-db8193b905.png", "img-e0d58b68eb.png", "img-e243839374.png", "img-f2e6f6dda2.png", "img-f57c0c0cb3.png", "img-fe42e86bae.png"], "slides": [{"index": 1, "title": "软件测试方法和技术", "texts": [{"text": "软件测试方法和技术", "lines": ["软件测试方法和技术"], "left": 0.4263888888888889, "top": 2.0701388888888888, "w": 8.478372703412074, "h": 0.9870002187226596, "size": 54.0, "bold": true, "is_title": false}, {"text": "广东金融学院  周宇文", "lines": ["广东金融学院  周宇文"], "left": 4.790240594925634, "top": 4.7652777777777775, "w": 3.054239938757655, "h": 0.37916666666666665, "size": 18.0, "bold": true, "is_title": false}, {"text": "第6章 系统功能测试", "lines": ["第6章 系统功能测试"], "left": 0.42638779527559056, "top": 3.5548611111111112, "w": 5.874686132983377, "h": 0.5069444444444444, "size": 36.0, "bold": true, "is_title": false}], "pics": [{"file": "img-23a64d7a3c.png", "left": 8.211944444444445, "top": 0.177665135608049, "w": 1.5499606299212598, "h": 0.368669072615923}], "tables": [], "notes": ""}, {"index": 2, "title": "6.1 功能测试方法与过程", "texts": [{"text": "6.1 功能测试方法与过程\n6.2 功能测试自动化 \n6.3 回归测试\n6.4 精准测试", "lines": ["6.1 功能测试方法与过程", "6.2 功能测试自动化", "6.3 回归测试", "6.4 精准测试"], "left": 1.6454975940507437, "top": 1.1917115048118985, "w": 4.526545275590551, "h": 2.966666666666667, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "重难点小结\n测试需求分析、探索式测试、SBTM、自动化测试脚本开发与维护\n课后实践练习\n基于Selenium的系统功能测试实验\n部署自动化测试框架"}, {"index": 3, "title": "6.1 功能测试方法与过程", "texts": [{"text": "6.1 功能测试方法与过程", "lines": ["6.1 功能测试方法与过程"], "left": 1.1023425196850394, "top": 1.024818460192476, "w": 7.795313867016623, "h": 0.9791666666666666, "size": 48.0, "bold": true, "is_title": false}], "pics": [{"file": "img-64a78066da.jpg", "left": -1.0936132983377078e-06, "top": -0.03176509186351706, "w": 10.000001093613298, "h": 4.667329396325459}], "tables": [], "notes": "列写本课时的学习要点，依次开始深入讲解。\n如有学习要求，请列写在课时要点之后。\n在保持内容版式整洁的前提下，重点的学习内容，请尽量详细的列写在讲义中，让大家在单独看讲义时也可以学习。\n讲义非语音讲解辅助，而是学习的一个主体。\n\n概念，学习要点的概念介绍，以及在工作中什么场景会用到\n讲解，工作中胜任这个能力，需要掌握的知识、技术能详细讲解\n举例，举一个案例或demo 帮助大家更好理解要学习的内容，以及知道怎么用\n分享经验，你对这个学习要点的工作应用心得。特别是理论和实际的差异的部分。\n学习建议，给出一些相关学习或工作场景中使用的建议\n实用工具，这个学习要点对应的一些工具模板（如果有）"}, {"index": 4, "title": "功能测试方法与应用", "texts": [{"text": "功能测试方法与应用", "lines": ["功能测试方法与应用"], "left": 0.5815244969378828, "top": 0.3462554680664917, "w": 8.925108267716535, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "功能测试要求和基本思路\n测试需求分析方法\n探索式测试及其测试实践\nSBTM\n回归测试及其策略\n精准测试", "lines": ["功能测试要求和基本思路", "测试需求分析方法", "探索式测试及其测试实践", "SBTM", "回归测试及其策略", "精准测试"], "left": 1.0641918197725284, "top": 1.1999945319335084, "w": 4.6137412510936135, "h": 3.225009842519685, "size": 20.0, "bold": false, "is_title": false}], "pics": [{"file": "img-aa5bafd062.png", "left": 5.677933070866142, "top": 1.1999945319335084, "w": 3.589974846894138, "h": 3.5526935695538056}], "tables": [], "notes": "十、功能测试方法与过程\n功能测试要求和基本思路\n测试需求分析方法\n探索式测试及其测试实践\nSBTM\n回归测试及其策略\n精准测试"}, {"index": 5, "title": "系统功能测试究竟测什么？", "texts": [{"text": "系统功能测试究竟测什么？", "lines": ["系统功能测试究竟测什么？"], "left": 0.5815244969378828, "top": 0.3462554680664917, "w": 8.925108267716535, "h": 0.5729166666666666, "size": 18.0, "bold": true, "is_title": false}, {"text": "功能（Function）\n逻辑（Logic）\n接口（API）\n界面（UI）\n数据（Data）\n操作（Operation）\n平台（Platform", "lines": ["功能（Function）", "逻辑（Logic）", "接口（API）", "界面（UI）", "数据（Data）", "操作（Operation）", "平台（Platform"], "left": 1.0696434820647418, "top": 1.0662893700787401, "w": 3.339880796150481, "h": 3.7542246281714786, "size": 20.0, "bold": false, "is_title": false}], "pics": [{"file": "img-799bc6ada9.png", "left": 4.4095242782152235, "top": 1.305336832895888, "w": 5.357141294838145, "h": 3.348213035870516}], "tables": [], "notes": "十、功能测试方法与过程\n功能测试要求和基本思路\n测试需求分析方法\n探索式测试及其测试实践\nSBTM\n回归测试及其策略\n精准测试"}, {"index": 6, "title": "系统功能测试应该考虑哪些问题？", "texts": [{"text": "系统功能测试应该考虑哪些问题？", "lines": ["系统功能测试应该考虑哪些问题？"], "left": 0.5815244969378828, "top": 0.3462554680664917, "w": 8.925108267716535, "h": 0.5729166666666666, "size": 18.0, "bold": true, "is_title": false}], "pics": [{"file": "img-db8193b905.png", "left": 0.7475590551181103, "top": 1.1115234033245844, "w": 5.775, "h": 3.2}, {"file": "img-8c38c79894.png", "left": 4.503882327209099, "top": 1.0406496062992125, "w": 4.847094269466317, "h": 4.388740157480315}], "tables": [], "notes": "十、功能测试方法与过程\n功能测试要求和基本思路\n测试需求分析方法\n探索式测试及其测试实践\nSBTM\n回归测试及其策略\n精准测试"}, {"index": 7, "title": "系统功能测试的基本思路", "texts": [{"text": "系统功能测试的基本思路", "lines": ["系统功能测试的基本思路"], "left": 0.5815244969378828, "top": 0.3462554680664917, "w": 8.925108267716535, "h": 0.5729166666666666, "size": 18.0, "bold": true, "is_title": false}], "pics": [{"file": "img-cb32159353.png", "left": 4.819048556430446, "top": 0.3462554680664917, "w": 3.248005249343832, "h": 5.089785651793526}, {"file": "img-bea100182f.png", "left": 0.905333552055993, "top": 1.5516087051618548, "w": 2.7979451006124236, "h": 2.7602373140857392}], "tables": [], "notes": "十、功能测试方法与过程\n功能测试要求和基本思路\n测试需求分析方法\n探索式测试及其测试实践\nSBTM\n回归测试及其策略\n精准测试"}, {"index": 8, "title": "系统功能测试的基本思路", "texts": [{"text": "系统功能测试的基本思路", "lines": ["系统功能测试的基本思路"], "left": 0.5815244969378828, "top": 0.1938746719160105, "w": 3.008951224846894, "h": 1.2156496062992126, "size": 18.0, "bold": true, "is_title": false}], "pics": [{"file": "img-fe42e86bae.png", "left": 2.580161854768154, "top": 0.09693678915135608, "w": 5.553172572178478, "h": 5.431125328083989}], "tables": [], "notes": "十、功能测试方法与过程\n功能测试要求和基本思路\n测试需求分析方法\n探索式测试及其测试实践\nSBTM\n回归测试及其策略\n精准测试"}, {"index": 9, "title": "面向接口的功能测试", "texts": [{"text": "面向接口的功能测试", "lines": ["面向接口的功能测试"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.925108267716535, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-bdcb71e768.png", "left": 1.535080927384077, "top": 1.034407261592301, "w": 6.2391130796150485, "h": 3.7608595800524935}], "tables": [], "notes": ""}, {"index": 10, "title": "HTTP协议", "texts": [{"text": "HTTP协议", "lines": ["HTTP协议"], "left": 0.6740332458442695, "top": 0.3916721347331584, "w": 6.117187226596675, "h": 0.4609383202099738, "size": 18.0, "bold": false, "is_title": false}, {"text": "10", "lines": ["10"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "https://www.w3.org/Protocols/", "lines": ["https://www.w3.org/Protocols/"], "left": 6.161446850393701, "top": 4.720779746281715, "w": 2.466772747156605, "h": 0.3130271216097988, "size": 12.6, "bold": false, "is_title": false}, {"text": "＜request-line＞\u000b＜headers＞\u000b＜blank line＞\u000b[＜request-body＞", "lines": ["＜request-line＞\u000b＜headers＞\u000b＜blank line＞\u000b[＜request-body＞"], "left": 1.6298611111111112, "top": 1.235080927384077, "w": 2.1970942694663167, "h": 1.0703510498687665, "size": 14.4, "bold": false, "is_title": false}, {"text": "请求", "lines": ["请求"], "left": 0.7832403762029746, "top": 1.5411297025371828, "w": 0.8085137795275591, "h": 0.4644925634295713, "size": 21.6, "bold": false, "is_title": false}, {"text": "响应", "lines": ["响应"], "left": 0.8042825896762905, "top": 3.408367235345582, "w": 0.8085137795275591, "h": 0.4644925634295713, "size": 21.6, "bold": false, "is_title": false}, {"text": "＜status-line＞\u000b＜headers＞\u000b＜blank line＞\u000b[＜response-body＞]", "lines": ["＜status-line＞\u000b＜headers＞\u000b＜blank line＞\u000b[＜response-body＞]"], "left": 1.674825021872266, "top": 3.223503937007874, "w": 2.3224398512685913, "h": 1.0703510498687665, "size": 14.4, "bold": false, "is_title": false}], "pics": [{"file": "img-1487a9a19d.tiff", "left": 3.9932895888014, "top": 0.854935476815398, "w": 5.216666666666667, "h": 3.865844269466317}], "tables": [], "notes": ""}, {"index": 11, "title": "Webservice接口", "texts": [{"text": "Webservice接口", "lines": ["Webservice接口"], "left": 0.6073665791776028, "top": 0.3674486001749781, "w": 6.117187226596675, "h": 0.4609383202099738, "size": 18.0, "bold": false, "is_title": false}, {"text": "11", "lines": ["11"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "WebService是一个不依赖于语言、平台的SOA的架构，可以实现基于Http协议、不同语言（通过 xml 描述）间的相互调用、网络应用间的交互。\nSoap(Simple Object Access Protocol)，XML Web Service 的通信协议（调用方法的规范），支持不同的底层接口，如HTTP(S)、SMTP\nWSDL(Web Services Description Language) ， XML 文档——用于说明一组 SOAP 消息以及如何交换这些消息\nUDDI (Universal Description, Discovery, and Integration) 根据描述文档来引导系统查找相应服务的机制。UDDI利用SOAP消息机制（标准的XML/HTTP）来发布、编辑、浏览以及查找注册信息。采用XML格式来封装各种不同类型的数据，发送到注册中心或者由注册中心返回所需数据", "lines": ["WebService是一个不依赖于语言、平台的SOA的架构，可以实现基于Http协议、不同语言（通过 xml 描述）间的相互调用、网络应用间的交互。", "Soap(Simple Object Access Protocol)，XML Web Service 的通信协议（调用方法的规范），支持不同的底层接口，如HTTP(S)、SMTP", "WSDL(Web Services Description Language) ， XML 文档——用于说明一组 SOAP 消息以及如何交换这些消息", "UDDI (Universal Description, Discovery, and Integration) 根据描述文档来引导系统查找相应服务的机制。UDDI利用SOAP消息机制（标准的XML/HTTP）来发布、编辑、浏览以及查找注册信息。采用XML格式来封装各种不同类型的数据，发送到注册中心或者由注册中心返回所需数据"], "left": 0.6073665791776028, "top": 1.0247003499562555, "w": 8.434008092738408, "h": 3.9225896762904635, "size": 16.2, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 12, "title": "面向UI的功能测试", "texts": [{"text": "面向UI的功能测试", "lines": ["面向UI的功能测试"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.925108267716535, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "重点测试功能逻辑，按功能、子功能、功能点等层次展开测试\n基于输入域和组合测试等方法（见第3章）进行输入的设计，驱动测试，并观察输出\n扮演用户角色，从应用场景来遍历用户使用产品的主要操作路径\n针对不同设置进行测试\n用户界面测试", "lines": ["重点测试功能逻辑，按功能、子功能、功能点等层次展开测试", "基于输入域和组合测试等方法（见第3章）进行输入的设计，驱动测试，并观察输出", "扮演用户角色，从应用场景来遍历用户使用产品的主要操作路径", "针对不同设置进行测试", "用户界面测试"], "left": 0.6365234033245845, "top": 1.1940310586176728, "w": 5.4172397200349955, "h": 3.6522714348206473, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-f57c0c0cb3.png", "left": 6.608705161854768, "top": 0.5935356517935259, "w": 3.088652668416448, "h": 4.265658355205599}], "tables": [], "notes": ""}, {"index": 13, "title": "6.2 功能测试自动化", "texts": [{"text": "6.2 功能测试自动化", "lines": ["6.2 功能测试自动化"], "left": 0.969342738407699, "top": 0.9328641732283465, "w": 8.455944881889764, "h": 0.9791666666666666, "size": 48.0, "bold": true, "is_title": false}], "pics": [{"file": "img-64a78066da.jpg", "left": -1.0936132983377078e-06, "top": -0.03176509186351706, "w": 10.000001093613298, "h": 4.667329396325459}], "tables": [], "notes": "十一、功能测试自动化\n面向接口的自动化测试\nWeb客户端的UI自动化测试\n基于Cypress的UI自动化测试\nAndroid应用的UI自动化测试\n数据驱动/关键字驱动\n自动化测试框架"}, {"index": 14, "title": "功能测试自动化", "texts": [{"text": "功能测试自动化", "lines": ["功能测试自动化"], "left": 0.6963932633420823, "top": 0.26930883639545056, "w": 5.138020559930009, "h": 0.7304691601049869, "size": 18.0, "bold": false, "is_title": false}, {"text": "面向接口的自动化测试\nWeb客户端的UI自动化测试\n基于Cypress的UI自动化测试\nAndroid应用的UI自动化测试", "lines": ["面向接口的自动化测试", "Web客户端的UI自动化测试", "基于Cypress的UI自动化测试", "Android应用的UI自动化测试"], "left": 1.031532152230971, "top": 1.8048129921259843, "w": 4.891766185476816, "h": 2.0609744094488187, "size": 20.0, "bold": false, "is_title": false}, {"text": "iOS 和 Appium 内容，可以在第9章进行讨论\n或让学生参考教材6.2.5和6.2.6 小节在课外实践、自主学习", "lines": ["iOS 和 Appium 内容，可以在第9章进行讨论", "或让学生参考教材6.2.5和6.2.6 小节在课外实践、自主学习"], "left": 0.7202723097112861, "top": 4.67082239720035, "w": 6.021663385826772, "h": 0.6395177165354331, "size": 16.0, "bold": false, "is_title": false}], "pics": [{"file": "img-644f68cced.png", "left": 6.52258530183727, "top": 1.415893482064742, "w": 3.2623600174978127, "h": 3.2549289151356082}], "tables": [], "notes": ""}, {"index": 15, "title": "分层自动化测试", "texts": [{"text": "分层自动化测试", "lines": ["分层自动化测试"], "left": 0.6958398950131234, "top": 0.3802898075240595, "w": 5.390625546806649, "h": 0.6119794400699913, "size": 18.0, "bold": false, "is_title": false}, {"text": "单元测试更容易实现自动化测试，RoI也更高（收益显著）\nAPI自动化测试也基本能做到100%\n适当加强手工端到端测试（业务层）\n概括起来：以底层测试、接口测试、功能逻辑测试等为主，尽量避免UI测试", "lines": ["单元测试更容易实现自动化测试，RoI也更高（收益显著）", "API自动化测试也基本能做到100%", "适当加强手工端到端测试（业务层）", "概括起来：以底层测试、接口测试、功能逻辑测试等为主，尽量避免UI测试"], "left": 0.5866797900262467, "top": 1.3993733595800526, "w": 4.540295275590551, "h": 3.5654494750656167, "size": 18.0, "bold": false, "is_title": false}, {"text": "缺陷更易定位", "lines": ["缺陷更易定位"], "left": 5.654917979002625, "top": 1.9132852143482064, "w": 0.5458333333333333, "h": 1.7367968066491688, "size": 16.2, "bold": false, "is_title": false}, {"text": "效率更高", "lines": ["效率更高"], "left": 5.371421697287839, "top": 2.05503280839895, "w": 0.4252438757655293, "h": 1.1915234033245845, "size": 16.2, "bold": false, "is_title": false}, {"text": "反映真实需求", "lines": ["反映真实需求"], "left": 9.068452537182852, "top": 2.338529090113736, "w": 0.5458333333333333, "h": 1.7367968066491688, "size": 16.2, "bold": false, "is_title": false}, {"text": "更加接近业务", "lines": ["更加接近业务"], "left": 8.799735345581801, "top": 2.2676552930883638, "w": 0.5458333333333333, "h": 1.7367968066491688, "size": 16.2, "bold": false, "is_title": false}], "pics": [{"file": "img-d07ad4478c.png", "left": 5.654917979002625, "top": 1.4880413385826772, "w": 3.9593755468066494, "h": 3.4187357830271217}], "tables": [], "notes": ""}, {"index": 16, "title": "API自动化测试", "texts": [{"text": "API自动化测试", "lines": ["API自动化测试"], "left": 1.691674321959755, "top": 2.163575021872266, "w": 6.61665135608049, "h": 0.8583005249343832, "size": 45.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 17, "title": "API的TA架构", "texts": [{"text": "API的TA架构", "lines": ["API的TA架构"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 28.0, "bold": true, "is_title": false}, {"text": "API的来源", "lines": ["API的来源"], "left": 1.5671073928258967, "top": 1.222412510936133, "w": 1.3116437007874016, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "文档化工具", "lines": ["文档化工具"], "left": 1.1094739720034996, "top": 1.7224136045494314, "w": 1.2099660979877516, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}, {"text": "手工录入", "lines": ["手工录入"], "left": 2.3679768153980754, "top": 1.7241229221347332, "w": 1.0083628608923885, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}, {"text": "程序扫描", "lines": ["程序扫描"], "left": 1.208332239720035, "top": 2.091359361329834, "w": 1.0083628608923885, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}, {"text": "HAR导入", "lines": ["HAR导入"], "left": 2.2376268591426074, "top": 2.091359361329834, "w": 0.9820680227471567, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}, {"text": "API定义", "lines": ["API定义"], "left": 1.251532152230971, "top": 4.555076552930884, "w": 1.9978182414698162, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}, {"text": "RAML", "lines": ["RAML"], "left": 1.2387171916010498, "top": 2.7331080489938757, "w": 1.9978182414698162, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}, {"text": "Swagger", "lines": ["Swagger"], "left": 1.2515332458442694, "top": 3.278180227471566, "w": 1.9978182414698162, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}, {"text": "Markdown", "lines": ["Markdown"], "left": 1.2387160979877516, "top": 3.884206036745407, "w": 1.9978182414698162, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}, {"text": "用例", "lines": ["用例"], "left": 4.706577291827056, "top": 1.19012674381475, "w": 0.7068356940785857, "h": 0.40390647380430483, "size": 18.0, "bold": false, "is_title": false}, {"text": "场景设定", "lines": ["场景设定"], "left": 4.275349890481132, "top": 1.6834751418239011, "w": 1.0083632805024456, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "选择和组装API", "lines": ["选择和组装API"], "left": 4.417342029353579, "top": 2.065703467216557, "w": 1.4939637182797076, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "验证", "lines": ["验证"], "left": 5.343224003156848, "top": 1.6782841972280766, "w": 0.6051585194953271, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "基于场景的测试用例", "lines": ["基于场景的测试用例"], "left": 4.038175656355123, "top": 4.556271243350884, "w": 1.997818094721698, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "手工组装", "lines": ["手工组装"], "left": 4.025360694562027, "top": 2.7343018555679413, "w": 1.997818094721698, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "HAR 批量生成", "lines": ["HAR 批量生成"], "left": 4.038176640607181, "top": 3.2793736759235417, "w": 1.997818094721698, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "代码迁移", "lines": ["代码迁移"], "left": 4.025359710309969, "top": 3.8853992330775524, "w": 1.997818094721698, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "回归", "lines": ["回归"], "left": 7.526673862965232, "top": 1.1857178418212144, "w": 0.7068356940785857, "h": 0.40390647380430483, "size": 18.0, "bold": false, "is_title": false}, {"text": "触发回归", "lines": ["触发回归"], "left": 7.0161108244969945, "top": 1.7202532454346267, "w": 1.0083632805024456, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "执行", "lines": ["执行"], "left": 8.141823525099708, "top": 1.710306395589082, "w": 0.6051585194953271, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "结果展示", "lines": ["结果展示"], "left": 7.3752102665401775, "top": 2.1099008617569996, "w": 1.0083632805024456, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "按需回归", "lines": ["按需回归"], "left": 6.802261395637713, "top": 4.55220190826777, "w": 1.997818094721698, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "定时回归", "lines": ["定时回归"], "left": 6.789446433844617, "top": 2.730232520484827, "w": 1.997818094721698, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "即时触发", "lines": ["即时触发"], "left": 6.802262379889771, "top": 3.275304340840427, "w": 1.997818094721698, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "事件触发", "lines": ["事件触发"], "left": 6.7894454495925585, "top": 3.8813298979944375, "w": 1.997818094721698, "h": 0.3433198629699148, "size": 14.4, "bold": false, "is_title": false}, {"text": "RAML：RESTful API描述性语言；HAR：基于JSON、储存HTTP请求/响应信息的文件格式", "lines": ["RAML：RESTful API描述性语言；HAR：基于JSON、储存HTTP请求/响应信息的文件格式"], "left": 0.3079877515310586, "top": 5.168453630796151, "w": 7.934724409448819, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 18, "title": "API 测试流程", "texts": [{"text": "API 测试流程", "lines": ["API 测试流程"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 28.0, "bold": true, "is_title": false}, {"text": "HAR文件", "lines": ["HAR文件"], "left": 2.4307239720034994, "top": 3.2236154855643044, "w": 1.4883541119860018, "h": 0.4644925634295713, "size": 21.6, "bold": false, "is_title": false}, {"text": "过滤与保存", "lines": ["过滤与保存"], "left": 4.560196850393701, "top": 3.2065594925634295, "w": 1.8766207349081365, "h": 0.4644925634295713, "size": 21.6, "bold": false, "is_title": false}, {"text": "脚本的修改", "lines": ["脚本的修改"], "left": 7.038260061242345, "top": 3.1977154418197724, "w": 1.8766207349081365, "h": 0.4644925634295713, "size": 21.6, "bold": false, "is_title": false}, {"text": "Thrift code_gen", "lines": ["Thrift code_gen"], "left": 2.3545778652668417, "top": 4.301521216097988, "w": 1.4328193350831147, "h": 0.706836176727909, "size": 18.0, "bold": false, "is_title": false}, {"text": "Dynamic Class\nLoading", "lines": ["Dynamic Class", "Loading"], "left": 4.4233059930008745, "top": 4.301521216097988, "w": 1.8427241907261593, "h": 0.706836176727909, "size": 18.0, "bold": false, "is_title": false}, {"text": "Dynamic Call Method", "lines": ["Dynamic Call Method"], "left": 6.907530621172353, "top": 4.301521216097988, "w": 1.8283934820647418, "h": 0.706836176727909, "size": 18.0, "bold": false, "is_title": false}, {"text": "动态测试\nThrift", "lines": ["动态测试", "Thrift"], "left": 1.2399540682414698, "top": 4.068857174103237, "w": 1.1146237970253718, "h": 0.9188867016622922, "size": 16.2, "bold": false, "is_title": false}, {"text": "API的接入步骤-批量生成", "lines": ["API的接入步骤-批量生成"], "left": 0.6588735783027122, "top": 3.0340562117235343, "w": 1.7718503937007875, "h": 0.767422353455818, "size": 16.2, "bold": false, "is_title": false}], "pics": [{"file": "img-d730896e60.png", "left": 0.47099628171478564, "top": 0.989763779527559, "w": 9.0, "h": 1.6943766404199474}], "tables": [], "notes": ""}, {"index": 19, "title": "Swagger UI测试示例", "texts": [{"text": "Swagger UI测试示例", "lines": ["Swagger UI测试示例"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 28.0, "bold": true, "is_title": false}], "pics": [{"file": "img-00fecdb896.tiff", "left": 1.1888527996500438, "top": 0.8052285651793526, "w": 3.8777909011373577, "h": 4.76968394575678}, {"file": "img-453e0a3c0b.tiff", "left": 5.0, "top": 0.9113506124234471, "w": 3.968944663167104, "h": 4.525916447944007}], "tables": [], "notes": ""}, {"index": 20, "title": "API 测试示例", "texts": [{"text": "API 测试示例", "lines": ["API 测试示例"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 28.0, "bold": true, "is_title": false}, {"text": "20", "lines": ["20"], "left": 0.5968689851268592, "top": 5.2439271653543305, "w": 9.0, "h": 0.2200524934383202, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-54b4711433.png", "left": 0.7735542432195975, "top": 0.9113506124234471, "w": 7.478693132108487, "h": 4.442602799650044}, {"file": "img-77786284d6.png", "left": 2.4745297462817146, "top": 2.1631878827646545, "w": 6.838842957130359, "h": 2.163852799650044}], "tables": [], "notes": ""}, {"index": 21, "title": "基于API的TA工具", "texts": [{"text": "基于API的TA工具", "lines": ["基于API的TA工具"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 28.0, "bold": true, "is_title": false}], "pics": [{"file": "img-59fd773421.tiff", "left": 0.5703740157480315, "top": 1.0181561679790025, "w": 8.859251968503937, "h": 4.217003499562555}], "tables": [], "notes": ""}, {"index": 22, "title": "基于API的TA工具 -续", "texts": [{"text": "基于API的TA工具 -续", "lines": ["基于API的TA工具 -续"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 28.0, "bold": true, "is_title": false}, {"text": "Mockbin：可从HAR文件生成一个模拟桩\nRAP：淘宝开发的API管理工具\nSwagger：流行的API定义工具、规范\nEasy Mock：从swagger生成数据\nDoclever：编写REST接口文档，生成测试数据\nMocky：无需登录，直接生成response\nkristofa/mock-http-server\nwiremock", "lines": ["Mockbin：可从HAR文件生成一个模拟桩", "RAP：淘宝开发的API管理工具", "Swagger：流行的API定义工具、规范", "Easy Mock：从swagger生成数据", "Doclever：编写REST接口文档，生成测试数据", "Mocky：无需登录，直接生成response", "kristofa/mock-http-server", "wiremock"], "left": 3.990226377952756, "top": 1.2585990813648293, "w": 5.386424978127734, "h": 3.718462379702537, "size": 16.2, "bold": false, "is_title": false}, {"text": "SoapUI\nRest-Assured\nSOAtest\nAPIfortress", "lines": ["SoapUI", "Rest-Assured", "SOAtest", "APIfortress"], "left": 0.9030369641294839, "top": 1.722759186351706, "w": 2.693213035870516, "h": 2.179481627296588, "size": 21.6, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 23, "title": "Rest-Assured", "texts": [{"text": "Rest-Assured", "lines": ["Rest-Assured"], "left": 0.7207469378827647, "top": 0.349491469816273, "w": 4.181568241469816, "h": 0.4609383202099738, "size": 18.0, "bold": false, "is_title": false}, {"text": "23", "lines": ["23"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "http://rest-assured.io/", "lines": ["http://rest-assured.io/"], "left": 3.299786745406824, "top": 0.44331364829396325, "w": 2.267204724409449, "h": 0.3736132983377078, "size": 16.2, "bold": false, "is_title": false}, {"text": "{ \"lotto\":\n   { \"lottoId\":5, \n\"winning-numbers\":[2,45,34,23,7,5,3], \"winners\":[ \n{ \n\"winnerId\":23, \"numbers\":[2,45,34,23,3,5] \n}, \n{\n\"winnerId\":54, \"numbers\":[52,3,12,11,18,22]\n } \n]\n}\n}", "lines": ["{ \"lotto\":", "{ \"lottoId\":5,", "\"winning-numbers\":[2,45,34,23,7,5,3], \"winners\":[", "{", "\"winnerId\":23, \"numbers\":[2,45,34,23,3,5]", "},", "{", "\"winnerId\":54, \"numbers\":[52,3,12,11,18,22]", "}", "]", "}", "}"], "left": 0.6272386264216973, "top": 1.216907261592301, "w": 4.748558617672791, "h": 3.2817377515310584, "size": 12.6, "bold": false, "is_title": false}, {"text": "@Test public void lotto_resource_returns_200_with_expected_id_and_winners()\n { \nwhen(). \nget(\"/lotto/{id}\", 5). \nthen(). \nstatusCode(200). \nbody(\"lotto.lottoId\", equalTo(5), \n\"lotto.winners.winnerId\", hasItems(23, 54)); \n}", "lines": ["@Test public void lotto_resource_returns_200_with_expected_id_and_winners()", "{", "when().", "get(\"/lotto/{id}\", 5).", "then().", "statusCode(200).", "body(\"lotto.lottoId\", equalTo(5),", "\"lotto.winners.winnerId\", hasItems(23, 54));", "}"], "left": 2.4748578302712163, "top": 3.308216316710411, "w": 7.016527777777778, "h": 1.7367968066491688, "size": 10.8, "bold": false, "is_title": false}, {"text": "http://localhost:8080/lotto/{id}", "lines": ["http://localhost:8080/lotto/{id}"], "left": 0.5936920384951881, "top": 0.9103772965879265, "w": 2.8192804024496936, "h": 0.3130271216097988, "size": 12.6, "bold": false, "is_title": false}, {"text": "REST-assured 是一个用于测试和验证RESTful服务的Java DSL, 使得为基于HTTP的RESTful服务编写测试变得更加简单", "lines": ["REST-assured 是一个用于测试和验证RESTful服务的Java DSL, 使得为基于HTTP的RESTful服务编写测试变得更加简单"], "left": 5.71448053368329, "top": 1.2839851268591427, "w": 3.6911898512685912, "h": 1.7007534995625546, "size": 16.2, "bold": false, "is_title": false}, {"text": "https://github.com/rest-assured/rest-assured", "lines": ["https://github.com/rest-assured/rest-assured"], "left": 0.6272386264216973, "top": 5.124043088363955, "w": 3.4623654855643045, "h": 0.3029297900262467, "size": 12.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 24, "title": "Rest-Assured 参数化", "texts": [{"text": "Rest-Assured 参数化", "lines": ["Rest-Assured 参数化"], "left": 0.6868580489938758, "top": 0.4099420384951881, "w": 6.142456255468066, "h": 0.4609383202099738, "size": 18.0, "bold": false, "is_title": false}, {"text": "given(). \nformParam(“formParamName”, “value1”). queryParam(“queryParamName”, “value2”). \nwhen(). \n      post(“/something”);", "lines": ["given().", "formParam(“formParamName”, “value1”). queryParam(“queryParamName”, “value2”).", "when().", "post(“/something”);"], "left": 3.440770997375328, "top": 2.795696631671041, "w": 5.882543744531933, "h": 1.6301027996500437, "size": 16.2, "bold": false, "is_title": false}, {"text": "24", "lines": ["24"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "given().\nparam(\"param1\", \"value1\").\nparam(\"param2\", \"value2\").\nwhen().\nget(\"/something\");", "lines": ["given().", "param(\"param1\", \"value1\").", "param(\"param2\", \"value2\").", "when().", "get(\"/something\");"], "left": 1.0310553368328959, "top": 1.171411854768154, "w": 3.601830708661417, "h": 1.363183508311461, "size": 16.2, "bold": false, "is_title": false}, {"text": "..when().get(\"/name?firstName=John&lastName=Doe\");", "lines": ["..when().get(\"/name?firstName=John&lastName=Doe\");"], "left": 0.9601815398075241, "top": 4.631066272965879, "w": 6.803905293088364, "h": 0.2726367016622922, "size": 16.2, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 25, "title": "Rest-Assured + JUnit", "texts": [{"text": "Rest-Assured + JUnit", "lines": ["Rest-Assured + JUnit"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 28.0, "bold": true, "is_title": false}], "pics": [{"file": "img-3fab4a2e7f.png", "left": 0.4417979002624672, "top": 1.2276957567804025, "w": 6.025, "h": 3.525}, {"file": "img-c30a5affe5.png", "left": 5.72380905511811, "top": 0.7638517060367455, "w": 4.0855413385826775, "h": 4.252562335958006}], "tables": [], "notes": ""}, {"index": 26, "title": "REST API测试", "texts": [{"text": "REST API测试", "lines": ["REST API测试"], "left": 0.5217377515310586, "top": 0.3849365704286964, "w": 5.646337489063867, "h": 0.4609383202099738, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-ccc4ab7fa3.png", "left": 0.5217377515310586, "top": 0.9544149168853894, "w": 4.700285433070866, "h": 4.531146106736658}, {"file": "img-7145ed83c7.png", "left": 5.347063648293963, "top": 1.9849409448818898, "w": 4.429126202974628, "h": 2.126220472440945}], "tables": [], "notes": ""}, {"index": 27, "title": "UI自动化测试", "texts": [{"text": "UI自动化测试", "lines": ["UI自动化测试"], "left": 1.691674321959755, "top": 2.163575021872266, "w": 6.61665135608049, "h": 0.8583005249343832, "size": 45.0, "bold": true, "is_title": false}, {"text": "Web客户端的UI自动化测试\n基于Cypress的UI自动化测试\nAndroid应用的UI自动化测试", "lines": ["Web客户端的UI自动化测试", "基于Cypress的UI自动化测试", "Android应用的UI自动化测试"], "left": 3.0083333333333333, "top": 3.4137193788276465, "w": 3.9833333333333334, "h": 1.410657261592301, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 28, "title": "Web UI的自动化测试", "texts": [{"text": "Web UI的自动化测试", "lines": ["Web UI的自动化测试"], "left": 0.6518624234470691, "top": 0.3509569116360455, "w": 5.599047462817148, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "28", "lines": ["28"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "Project name\nBase URL", "lines": ["Project name", "Base URL"], "left": 7.946235783027122, "top": 1.7477165354330708, "w": 1.7936668853893263, "h": 0.706836176727909, "size": 18.0, "bold": false, "is_title": false}, {"text": "设定：", "lines": ["设定："], "left": 7.148228346456693, "top": 1.7477165354330708, "w": 0.9592771216097987, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "启动Chrome的插件\nSelenium IDE", "lines": ["启动Chrome的插件", "Selenium IDE"], "left": 7.148228346456693, "top": 0.8437215660542432, "w": 2.423017279090114, "h": 0.706836176727909, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-cb3a1c64c2.png", "left": 0.348082895888014, "top": 0.9049387576552931, "w": 6.58740157480315, "h": 3.8151224846894136}, {"file": "img-955e48dad9.png", "left": 3.7629265091863515, "top": 2.520913167104112, "w": 5.310310586176728, "h": 2.7812160979877514}], "tables": [], "notes": "，有时绕不过去，有时无需绕过去"}, {"index": 29, "title": "Web UI的自动化测试 –续", "texts": [{"text": "Web UI的自动化测试 –续", "lines": ["Web UI的自动化测试 –续"], "left": 0.6518624234470691, "top": 0.3509569116360455, "w": 5.599047462817148, "h": 0.4609372265966754, "size": 20.0, "bold": false, "is_title": false}, {"text": "29", "lines": ["29"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-e243839374.png", "left": 0.8706977252843394, "top": 0.8118941382327209, "w": 7.3706419510061245, "h": 4.2547725284339455}], "tables": [], "notes": "，有时绕不过去，有时无需绕过去"}, {"index": 30, "title": "Selenium 支持不同脚本语言", "texts": [{"text": "Selenium 支持不同脚本语言", "lines": ["Selenium 支持不同脚本语言"], "left": 0.5672572178477691, "top": 0.38648293963254593, "w": 6.071606517935258, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-72c0ae2bcc.png", "left": 0.1182425634295713, "top": 0.914086832895888, "w": 7.0636734470691165, "h": 4.125074365704287}, {"file": "img-acf946d147.png", "left": 3.6500787401574804, "top": 1.0974573490813648, "w": 4.934448818897637, "h": 4.393117891513561}], "tables": [], "notes": ""}, {"index": 31, "title": "Selenium + WebDriver", "texts": [{"text": "Selenium + WebDriver", "lines": ["Selenium + WebDriver"], "left": 0.6244006999125109, "top": 0.3769597550306212, "w": 6.071606517935258, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-e0d58b68eb.png", "left": 0.4055675853018373, "top": 1.019958442694663, "w": 8.91824256342957, "h": 3.965900043744532}], "tables": [], "notes": ""}, {"index": 32, "title": "WebDriver 架构", "texts": [{"text": "WebDriver 架构", "lines": ["WebDriver 架构"], "left": 0.6773370516185477, "top": 0.3604800962379702, "w": 6.449535214348207, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "32", "lines": ["32"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-7e86f7ee44.png", "left": 0.41874015748031496, "top": 0.49522747156605423, "w": 9.152785433070866, "h": 4.769292432195975}], "tables": [], "notes": ""}, {"index": 33, "title": "UI Object", "texts": [{"text": "UI Object", "lines": ["UI Object"], "left": 0.5670286526684164, "top": 0.33722550306211724, "w": 4.323314741907262, "h": 0.527260498687664, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-5d969ad1ab.png", "left": 1.0294488188976378, "top": 0.8644860017497813, "w": 7.941102362204725, "h": 4.513476596675416}], "tables": [], "notes": ""}, {"index": 34, "title": "Page Objects", "texts": [{"text": "Page Objects", "lines": ["Page Objects"], "left": 0.5818689851268591, "top": 0.19968503937007873, "w": 4.323314741907262, "h": 0.7796139545056868, "size": 18.0, "bold": false, "is_title": false}, {"text": "http://code.google.com/p/selenium/wiki/PageObjects", "lines": ["http://code.google.com/p/selenium/wiki/PageObjects"], "left": 2.235913167104112, "top": 5.2222189413823275, "w": 4.25244094488189, "h": 0.3130271216097988, "size": 12.6, "bold": false, "is_title": false}], "pics": [{"file": "img-765f3bcf41.png", "left": 1.1496511373578302, "top": 1.0454122922134734, "w": 7.7006966316710415, "h": 4.110693350831146}], "tables": [], "notes": "http://blog.activelylazy.co.uk/2011/07/09/page-objects-in-selenium-2-0/\n\nTests with Page Objects\nThe page object encapsulates all the logic about how to perform certain actions. Our test now only needs to deal with what to actually do – so what does our test look like now?\nAmazonHomePage homePage = AmazonHomePage.navigateTo(driver);\nAmazonSearchResultsPage resultsPage =\n    homePage.searchFor(\"iain banks\");\nassertThat(resultsPage.getTopResultTitle(), is(\"Transition\"));\nThis is a pretty neat specification for our test: given a user on the amazon home page, when the user searches for ‘iain banks’, then the title of the top result is ‘Transition’.\nThere’s no implementation details in our test now. If any of the implementation details around searching change – we only need to change our page object."}, {"index": 35, "title": "PageFactory", "texts": [{"text": "PageFactory", "lines": ["PageFactory"], "left": 0.6195428696412948, "top": 0.16062773403324584, "w": 4.323314741907262, "h": 0.7796139545056868, "size": 18.0, "bold": false, "is_title": false}, {"text": "http://code.google.com/p/selenium/wiki/PageFactory", "lines": ["http://code.google.com/p/selenium/wiki/PageFactory"], "left": 2.306788057742782, "top": 5.151345144356956, "w": 6.573314741907262, "h": 0.3130271216097988, "size": 12.6, "bold": false, "is_title": false}], "pics": [{"file": "img-d5ca7182d6.png", "left": 0.32430883639545055, "top": 0.9402416885389326, "w": 5.820646325459317, "h": 3.3756102362204725}, {"file": "img-67c53dddfa.png", "left": 4.46791447944007, "top": 2.4581299212598426, "w": 4.784527559055118, "h": 2.7540037182852144}], "tables": [], "notes": "In order to support the PageObject pattern, WebDriver's support library contains a factory class."}, {"index": 36, "title": "基于Cypress的UI自动化测试", "texts": [{"text": "基于Cypress的UI自动化测试", "lines": ["基于Cypress的UI自动化测试"], "left": 0.5778215223097113, "top": 0.32097550306211725, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}, {"text": "https://www.cypress.io/", "lines": ["https://www.cypress.io/"], "left": 4.161290463692039, "top": 4.480049212598425, "w": 2.8172047244094487, "h": 0.3365890201224847, "size": 14.0, "bold": false, "is_title": false}], "pics": [{"file": "img-6da8ce5d35.png", "left": 0.27474846894138233, "top": 1.080369641294838, "w": 9.450503062117235, "h": 3.6339162292213474}], "tables": [], "notes": ""}, {"index": 37, "title": "Cypress 架构", "texts": [{"text": "Cypress 架构", "lines": ["Cypress 架构"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-0e5fc4810b.png", "left": 0.6747659667541557, "top": 1.0663692038495187, "w": 8.90694772528434, "h": 3.8002974628171478}], "tables": [], "notes": ""}, {"index": 38, "title": "安装和使用简单", "texts": [{"text": "安装和使用简单", "lines": ["安装和使用简单"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}, {"text": "https://docs.cypress.io/_nuxt/videos/installing-cli.3465fe6.mp4", "lines": ["https://docs.cypress.io/_nuxt/videos/installing-cli.3465fe6.mp4"], "left": 1.5025349956255467, "top": 1.9610487751531058, "w": 4.949078083989502, "h": 0.3029297900262467, "size": 12.0, "bold": false, "is_title": false}, {"text": "安装", "lines": ["安装"], "left": 0.7956988188976378, "top": 1.8984011373578302, "w": 0.706836176727909, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "cd /your/project/path\nnpm install cypress --save-dev", "lines": ["cd /your/project/path", "npm install cypress --save-dev"], "left": 0.8387095363079615, "top": 1.1385225284339457, "w": 3.516129702537183, "h": 0.706836176727909, "size": 18.0, "bold": false, "is_title": false}, {"text": "https://docs.cypress.io/guides", "lines": ["https://docs.cypress.io/guides"], "left": 0.7688167104111986, "top": 2.918030402449694, "w": 3.4623654855643045, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "打开： npx cypress open", "lines": ["打开： npx cypress open"], "left": 0.7688167104111986, "top": 2.3749639107611547, "w": 3.141984908136483, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-a3fa9f1ceb.png", "left": 4.115523840769904, "top": 2.576917104111986, "w": 4.67217738407699, "h": 2.5423786089238845}, {"file": "img-08ceaaa22d.png", "left": 0.22269575678040246, "top": 0.8333891076115486, "w": 6.986365923009624, "h": 4.977094269466317}, {"file": "img-3442893b04.png", "left": 3.8867136920384953, "top": 1.6602843394575677, "w": 5.887248468941382, "h": 3.32330271216098}], "tables": [], "notes": ""}, {"index": 39, "title": "Cypress 脚本", "texts": [{"text": "Cypress 脚本", "lines": ["Cypress 脚本"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-9fdddb620f.png", "left": 0.17857174103237095, "top": 0.9745570866141732, "w": 5.944679571303587, "h": 3.6758847331583553}, {"file": "img-88278939c9.png", "left": 3.876748687664042, "top": 1.4838331146106736, "w": 5.944679571303587, "h": 3.566807742782152}], "tables": [], "notes": ""}, {"index": 40, "title": "Cypress执行", "texts": [{"text": "Cypress执行", "lines": ["Cypress执行"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-3055b77f09.jpg", "left": 0.7711482939632546, "top": 0.8457086614173228, "w": 7.793720472440945, "h": 4.6596675415573054}], "tables": [], "notes": ""}, {"index": 41, "title": "Android App UI自动化测试", "texts": [{"text": "Android App UI自动化测试", "lines": ["Android App UI自动化测试"], "left": 0.49999890638670164, "top": 0.34888779527559055, "w": 7.865908792650918, "h": 0.5024245406824147, "size": 18.0, "bold": false, "is_title": false}, {"text": "Robotium （native/web)\nUIAutomator\nMonkeyRunner （Android SDK tool）\nAppium\nEspresso\nSelendroid （native）\nATAF\nTestComplete", "lines": ["Robotium （native/web)", "UIAutomator", "MonkeyRunner （Android SDK tool）", "Appium", "Espresso", "Selendroid （native）", "ATAF", "TestComplete"], "left": 0.7472594050743657, "top": 1.301509186351706, "w": 4.874853455818022, "h": 3.445194663167104, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-cc0047c65b.png", "left": 5.622112860892388, "top": 3.4914555993000875, "w": 2.334189632545932, "h": 0.7039621609798775}, {"file": "img-0684098a6d.png", "left": 8.220012029746282, "top": 3.4914555993000875, "w": 1.3557786526684164, "h": 0.5786165791776028}, {"file": "img-51dfc1de50.png", "left": 6.340980971128609, "top": 1.4693427384076991, "w": 1.4977548118985127, "h": 1.554763779527559}, {"file": "img-4bae371446.jpg", "left": 8.36590769903762, "top": 1.5061231408573927, "w": 1.3340857392825898, "h": 1.389673009623797}], "tables": [], "notes": ""}, {"index": 42, "title": "两种基本的自动化测试机制", "texts": [{"text": "两种基本的自动化测试机制", "lines": ["两种基本的自动化测试机制"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}, {"text": "Appium是基于UIAutomator框架实现的。Appium测试进程与目标应用进程是分开的，所以不能直接访问目标应用元素属性进行操作，只能模拟触发事件对目标应用进行操作\n\nRobotium、Espresso、Seledroid是基于Instrumentation框架的，其测试进程与目标应用是在同一个进程中作为两个不同的线程运行的", "lines": ["Appium是基于UIAutomator框架实现的。Appium测试进程与目标应用进程是分开的，所以不能直接访问目标应用元素属性进行操作，只能模拟触发事件对目标应用进行操作", "Robotium、Espresso、Seledroid是基于Instrumentation框架的，其测试进程与目标应用是在同一个进程中作为两个不同的线程运行的"], "left": 0.4543482064741907, "top": 1.1419531933508311, "w": 9.091303587051618, "h": 1.68918416447944, "size": 16.0, "bold": true, "is_title": false}], "pics": [{"file": "img-2fc2e96008.png", "left": 0.5968689851268592, "top": 3.0617399387576554, "w": 7.500675853018373, "h": 2.308951224846894}], "tables": [], "notes": "Appium是基于UIAutomator框架实现的。Appium测试进程与目标应用进程是分开的，所以Appium不能直接访问目标应用的各种element属性进行copy&paste，而只能模拟触发相应的事件对目标应用进行操作。这就好比触摸屏监控驱动和目标应用的关系：驱动监控到用户点击屏幕的事件后，驱动就会去判断点击的位置是否是一个文本框，如果是的话，就去打开系统键盘给用户进行输入。\n　　Robotium是基于Instrumentation框架的。Robotium测试进程与目标应用是在同一个进程中作为两个不同的线程运行的。也就是说Robotium测试线程是有办法直接访问目标应用的各种element属性的，可以访问浮层，Intent之类的。所以它根本不需要触发任何事件，直接就可以在内部修改相应的数据"}, {"index": 43, "title": "Instrumentation框架", "texts": [{"text": "Instrumentation框架", "lines": ["Instrumentation框架"], "left": 0.6115594925634296, "top": 0.23007108486439196, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}, {"text": "以通过从签名来实现让系统认为测试App和被测App是同一个进程\n\nmyAppTests.apk通过Instrumentation 技术控制被测myApp.apk\n\nmyAppTests.apk文件是由InstrumentationTestRunner 进行控制各种方法运行", "lines": ["以通过从签名来实现让系统认为测试App和被测App是同一个进程", "myAppTests.apk通过Instrumentation 技术控制被测myApp.apk", "myAppTests.apk文件是由InstrumentationTestRunner 进行控制各种方法运行"], "left": 6.935483377077865, "top": 1.3675043744531934, "w": 2.9229549431321087, "h": 3.062956036745407, "size": 16.0, "bold": false, "is_title": false}], "pics": [{"file": "img-bee7446f6a.png", "left": 0.14156167979002623, "top": 0.7957830271216098, "w": 7.127256124234471, "h": 4.599145888013998}], "tables": [], "notes": ""}, {"index": 44, "title": "InstrumentationTestRunner", "texts": [{"text": "InstrumentationTestRunner", "lines": ["InstrumentationTestRunner"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 28.0, "bold": false, "is_title": false}, {"text": "编写 TestCases，对软件包中的类进行单元/功能/性能测试。一般来说，这些都是从下列类继承而来 :\nActivityInstrumentationTestCase2、ActivityUnitTestCase\nAndroidTestCase 、ApplicationTestCase\nInstrumentationTestCase\nProviderTestCase、ServiceTestCase\nSingleLaunchActivityTestCase\n 在测试包的清单中设置<instrumentation>元素的android:targetPackage属性，将该属性值设置为AUT的包名\n 使用 \"adb shell am instrument -w \"运行instrumentation ，没有可选参数，以运行所有测试（除了性能测试）\n 参数为'-e func true'，运行所有功能测试。这些是源自  InstrumentationTestCase的测试\n 参数'-e unit true'运行所有单元测试。这些是不从 I InstrumentationTestCase派生的测试（不是性能测试）\n 参数'-e class'设置为运行单个TestCase", "lines": ["编写 TestCases，对软件包中的类进行单元/功能/性能测试。一般来说，这些都是从下列类继承而来 :", "ActivityInstrumentationTestCase2、ActivityUnitTestCase", "AndroidTestCase 、ApplicationTestCase", "InstrumentationTestCase", "ProviderTestCase、ServiceTestCase", "SingleLaunchActivityTestCase", "在测试包的清单中设置<instrumentation>元素的android:targetPackage属性，将该属性值设置为AUT的包名", "使用 \"adb shell am instrument -w \"运行instrumentation ，没有可选参数，以运行所有测试（除了性能测试）", "参数为'-e func true'，运行所有功能测试。这些是源自  InstrumentationTestCase的测试", "参数'-e unit true'运行所有单元测试。这些是不从 I InstrumentationTestCase派生的测试（不是性能测试）", "参数'-e class'设置为运行单个TestCase"], "left": 0.0, "top": 1.0686515748031495, "w": 9.788209755030621, "h": 3.942784339457568, "size": 14.0, "bold": false, "is_title": false}, {"text": "AUT：App under test", "lines": ["AUT：App under test"], "left": 7.326713692038495, "top": 2.2547594050743656, "w": 2.5913976377952754, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "https://developer.android.com/reference/android/test/InstrumentationTestRunner", "lines": ["https://developer.android.com/reference/android/test/InstrumentationTestRunner"], "left": 0.16128827646544183, "top": 5.16873687664042, "w": 7.49462489063867, "h": 0.3365890201224847, "size": 14.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 45, "title": "示例1：Monkeyrunner", "texts": [{"text": "示例1：Monkeyrunner", "lines": ["示例1：Monkeyrunner"], "left": 0.49999890638670164, "top": 0.35038495188101487, "w": 7.865908792650918, "h": 0.5024245406824147, "size": 18.0, "bold": false, "is_title": false}, {"text": "InstrumentationTestRunner 是针对被测app而运行测试脚本的执行器\nTest tools：即与Eclipse IDE集成的、构建测试的SDK tools \nMonkeyRunner: 提供API开发测试脚本，以便能在Android 代码之外来控制设备\nTest package被组织在测试项目中，遵守命名空间\nTest case classes", "lines": ["InstrumentationTestRunner 是针对被测app而运行测试脚本的执行器", "Test tools：即与Eclipse IDE集成的、构建测试的SDK tools", "MonkeyRunner: 提供API开发测试脚本，以便能在Android 代码之外来控制设备", "Test package被组织在测试项目中，遵守命名空间", "Test case classes"], "left": 0.89043416447944, "top": 2.31583552055993, "w": 8.894512248468942, "h": 2.5996566054243218, "size": 18.0, "bold": false, "is_title": false}, {"text": "基于python脚本实现复杂测试用例的UI测试工具，通过坐标、控件ID来操作应用的UI元素，截取测试执行的UI界面，进行图像比较分析来发现问题", "lines": ["基于python脚本实现复杂测试用例的UI测试工具，通过坐标、控件ID来操作应用的UI元素，截取测试执行的UI界面，进行图像比较分析来发现问题"], "left": 0.6020439632545932, "top": 1.1592038495188102, "w": 8.795910979877515, "h": 0.8502373140857393, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 46, "title": "示例1：Monkeyrunner - 续", "texts": [{"text": "示例1：Monkeyrunner - 续", "lines": ["示例1：Monkeyrunner - 续"], "left": 0.49999890638670164, "top": 0.2734383202099738, "w": 7.865908792650918, "h": 0.5024245406824147, "size": 20.0, "bold": false, "is_title": false}, {"text": "MonkeyRunner：此class提供了用于将 monkeyrunner 连接到设备或模拟器的方法，也提供了用于为 monkeyrunner 程序创建界面以及显示内置帮助的方法。\nMonkeyDevice：代表设备或模拟器，提供了用于安装和卸载软件包、启动 Activity 以及向应用发送键盘或轻触事件的方法、运行测试软件包。\nMonkeyImage：提供了用于截屏、将位图转换为各种格式、比较两个 MonkeyImage 对象以及将图片写入文件的方法。", "lines": ["MonkeyRunner：此class提供了用于将 monkeyrunner 连接到设备或模拟器的方法，也提供了用于为 monkeyrunner 程序创建界面以及显示内置帮助的方法。", "MonkeyDevice：代表设备或模拟器，提供了用于安装和卸载软件包、启动 Activity 以及向应用发送键盘或轻触事件的方法、运行测试软件包。", "MonkeyImage：提供了用于截屏、将位图转换为各种格式、比较两个 MonkeyImage 对象以及将图片写入文件的方法。"], "left": 0.7849453193350832, "top": 1.8187871828521436, "w": 8.78494750656168, "h": 3.228234908136483, "size": 18.0, "bold": false, "is_title": false}, {"text": "monkeyrunner API 可以跨多个设备或模拟器应用一个或多个测试套件，可以基于API和python开发一整套自动化系统", "lines": ["monkeyrunner API 可以跨多个设备或模拟器应用一个或多个测试套件，可以基于API和python开发一整套自动化系统"], "left": 0.9677405949256342, "top": 0.9775656167979002, "w": 7.247312992125984, "h": 0.6395177165354331, "size": 16.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 47, "title": "示例1：Monkeyrunner - 续", "texts": [{"text": "示例1：Monkeyrunner - 续", "lines": ["示例1：Monkeyrunner - 续"], "left": 0.49999890638670164, "top": 0.2734383202099738, "w": 7.865908792650918, "h": 0.5024245406824147, "size": 20.0, "bold": false, "is_title": false}], "pics": [{"file": "img-3f1dbe34ff.png", "left": 1.4133048993875765, "top": 0.8337510936132984, "w": 6.414362423447069, "h": 4.650120297462817}], "tables": [], "notes": ""}, {"index": 48, "title": "示例2： Robotium", "texts": [{"text": "示例2： Robotium", "lines": ["示例2： Robotium"], "left": 0.510751312335958, "top": 0.39800634295713033, "w": 7.865908792650918, "h": 0.5024245406824147, "size": 18.0, "bold": false, "is_title": false}, {"text": "支持对native和WebView 的操作\n能自动的支持多个安卓Activities；\n有单独的录制回放工具\n可以和Mave、Gradle、Ant等工具进行集成", "lines": ["支持对native和WebView 的操作", "能自动的支持多个安卓Activities；", "有单独的录制回放工具", "可以和Mave、Gradle、Ant等工具进行集成"], "left": 0.7031692913385826, "top": 2.399667541557305, "w": 4.802205818022747, "h": 2.1702252843394576, "size": 18.0, "bold": false, "is_title": false}, {"text": "https://github.com/RobotiumTech/robotium", "lines": ["https://github.com/RobotiumTech/robotium"], "left": 0.9163659230096238, "top": 0.9934186351706037, "w": 5.615907699037621, "h": 0.3736132983377078, "size": 16.2, "bold": false, "is_title": false}, {"text": "能够对各种控件进行操作，模拟各种手势操作、查找和断言机制的API", "lines": ["能够对各种控件进行操作，模拟各种手势操作、查找和断言机制的API"], "left": 0.9163659230096238, "top": 1.5530063429571304, "w": 8.167267060367454, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-7f0621cf87.png", "left": 6.1171489501312335, "top": 2.58574365704287, "w": 3.8828510498687665, "h": 1.9841491688538933}], "tables": [], "notes": ""}, {"index": 49, "title": "Robotium 脚本示例", "texts": [{"text": "Robotium 脚本示例", "lines": ["Robotium 脚本示例"], "left": 0.5, "top": 0.04991469816272966, "w": 2.3924737532808398, "h": 1.1826596675415573, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-cf458fe9cc.png", "left": 3.0304800962379703, "top": 0.2004615048118985, "w": 5.128353018372703, "h": 5.323347550306211}, {"file": "img-cc0047c65b.png", "left": 0.13405730533683288, "top": 2.5444422572178476, "w": 2.758416447944007, "h": 0.8319028871391076}], "tables": [], "notes": ""}, {"index": 50, "title": "UI Automator 测试框架", "texts": [{"text": "UI Automator 测试框架", "lines": ["UI Automator 测试框架"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}, {"text": "用于检查布局层次结构的查看器\n用于检索状态信息并在目标设备上执行操作的 API\n支持跨应用界面测试的 API", "lines": ["用于检查布局层次结构的查看器", "用于检索状态信息并在目标设备上执行操作的 API", "支持跨应用界面测试的 API"], "left": 0.6875, "top": 1.2178258967629045, "w": 7.699596456692913, "h": 2.2552919947506562, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 51, "title": "UI Automator Viewer", "texts": [{"text": "UI Automator Viewer", "lines": ["UI Automator Viewer"], "left": 0.49999890638670164, "top": 0.2734383202099738, "w": 7.865908792650918, "h": 0.5024245406824147, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-386f85bece.png", "left": 0.29608377077865267, "top": 0.9806583552055993, "w": 5.672430008748907, "h": 3.663682195975503}, {"file": "img-618cba734d.png", "left": 3.580495406824147, "top": 0.7758628608923884, "w": 6.260684601924759, "h": 4.356139545056868}], "tables": [], "notes": ""}, {"index": 52, "title": "访问设备状态", "texts": [{"text": "访问设备状态", "lines": ["访问设备状态"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}, {"text": "UI Automator 测试框架提供了一个 UiDevice 类，用于在运行目标应用的设备上访问和执行操作，包括设备属性（屏幕方向或显示屏尺寸等），还能执行以下操作：\n改变设备的旋转\n按硬件键，如“音量调高按钮”\n按返回、主屏幕或菜单按钮\n打开通知栏\n截取当前窗口的屏幕截图", "lines": ["UI Automator 测试框架提供了一个 UiDevice 类，用于在运行目标应用的设备上访问和执行操作，包括设备属性（屏幕方向或显示屏尺寸等），还能执行以下操作：", "改变设备的旋转", "按硬件键，如“音量调高按钮”", "按返回、主屏幕或菜单按钮", "打开通知栏", "截取当前窗口的屏幕截图"], "left": 0.6875, "top": 1.174815179352581, "w": 8.5813167104112, "h": 3.223034776902887, "size": 18.0, "bold": false, "is_title": false}, {"text": "https://developer.android.google.cn/reference/androidx/test/uiautomator/UiDevice?hl=zh-cn", "lines": ["https://developer.android.google.cn/reference/androidx/test/uiautomator/UiDevice?hl=zh-cn"], "left": 0.7634394138232721, "top": 4.4501848206474195, "w": 8.774194006999124, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 53, "title": "UI Automator", "texts": [{"text": "UI Automator", "lines": ["UI Automator"], "left": 0.5215037182852144, "top": 0.37509405074365704, "w": 7.865908792650918, "h": 0.5024245406824147, "size": 18.0, "bold": false, "is_title": false}, {"text": "https://developer.android.com/tools/testing-support-library/index.html", "lines": ["https://developer.android.com/tools/testing-support-library/index.html"], "left": 1.3492224409448819, "top": 0.8775185914260717, "w": 7.167540463692038, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}, {"text": "Espresso 可以写出类似白盒测试那样的、更美观的自动化测试脚本，可充分利用被测app所实现的程序代码，而且能够实现UI 线程同步，解决了可能存在的并发问题，能够改进测试的可靠性。\n\nView matching（ViewMachers）：为View 构建的、灵活的API，借助onView方法来定位UI layout view，且支持多层次view的定位。\nAction APIs （ViewActions）：一系列扩展的、以完成UI交互操作API集，即借助ViewInteraction.perform方法来完成view的操作。 \nViewAssertions: 借助ViewInteraction.check方法来判定当前所选定view的状态，以完成测试所需的验证。", "lines": ["Espresso 可以写出类似白盒测试那样的、更美观的自动化测试脚本，可充分利用被测app所实现的程序代码，而且能够实现UI 线程同步，解决了可能存在的并发问题，能够改进测试的可靠性。", "View matching（ViewMachers）：为View 构建的、灵活的API，借助onView方法来定位UI layout view，且支持多层次view的定位。", "Action APIs （ViewActions）：一系列扩展的、以完成UI交互操作API集，即借助ViewInteraction.perform方法来完成view的操作。", "ViewAssertions: 借助ViewInteraction.check方法来判定当前所选定view的状态，以完成测试所需的验证。"], "left": 1.232716535433071, "top": 1.413490813648294, "w": 7.28404636920385, "h": 3.808008530183727, "size": 16.2, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 54, "title": "UI Automator API", "texts": [{"text": "UI Automator API", "lines": ["UI Automator API"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}, {"text": "UiCollection：枚举容器的界面元素，目的是为了计数，或者按可见文本或内容说明属性来定位子元素。\nUiObject：表示设备上可见的界面元素。\nUiScrollable：支持搜索可滚动界面容器中的项目。\nUiSelector：表示对设备上的一个或多个目标界面元素的查询。\nConfigurator：可设置用于运行 UI Automator 测试的关键参数。", "lines": ["UiCollection：枚举容器的界面元素，目的是为了计数，或者按可见文本或内容说明属性来定位子元素。", "UiObject：表示设备上可见的界面元素。", "UiScrollable：支持搜索可滚动界面容器中的项目。", "UiSelector：表示对设备上的一个或多个目标界面元素的查询。", "Configurator：可设置用于运行 UI Automator 测试的关键参数。"], "left": 0.8817191601049869, "top": 1.2473632983377079, "w": 8.18279636920385, "h": 2.773840769903762, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 55, "title": "UI Automator代码示例", "texts": [{"text": "UI Automator代码示例", "lines": ["UI Automator代码示例"], "left": 0.5, "top": 0.18723206474190726, "w": 7.865908792650918, "h": 0.4269936570428696, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-001326b270.png", "left": 0.7768372703412073, "top": 0.6142246281714786, "w": 4.130227471566054, "h": 4.9787849956255466}, {"file": "img-4d37b5b058.png", "left": 4.43295384951881, "top": 0.7113243657042869, "w": 4.972649825021873, "h": 4.568965441819772}], "tables": [], "notes": ""}, {"index": 56, "title": "6.3 回归测试", "texts": [{"text": "6.3 回归测试", "lines": ["6.3 回归测试"], "left": 0.969342738407699, "top": 0.9328641732283465, "w": 8.455944881889764, "h": 0.9791666666666666, "size": 48.0, "bold": true, "is_title": false}], "pics": [{"file": "img-64a78066da.jpg", "left": -1.0936132983377078e-06, "top": -0.03176509186351706, "w": 10.000001093613298, "h": 4.667329396325459}], "tables": [], "notes": "十一、功能测试自动化\n面向接口的自动化测试\nWeb客户端的UI自动化测试\n基于Cypress的UI自动化测试\nAndroid应用的UI自动化测试\n数据驱动/关键字驱动\n自动化测试框架"}, {"index": 57, "title": "为什么需要进行回归测试？", "texts": [{"text": "为什么需要进行回归测试？", "lines": ["为什么需要进行回归测试？"], "left": 0.6910673665791776, "top": 0.37887904636920383, "w": 6.071604330708661, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "58", "lines": ["58"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "以前都正常的，新的版本反而不正常了\n—— 回归缺陷 (Regression bug)", "lines": ["以前都正常的，新的版本反而不正常了", "—— 回归缺陷 (Regression bug)"], "left": 1.9878543307086614, "top": 4.771679790026247, "w": 6.024291338582677, "h": 0.706836176727909, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-b96d9952e3.png", "left": 2.0232917760279965, "top": 1.1115234033245844, "w": 5.599047462817148, "h": 3.46123031496063}], "tables": [], "notes": ""}, {"index": 58, "title": "为什么要有回归测试？", "texts": [{"text": "为什么要有回归测试？", "lines": ["为什么要有回归测试？"], "left": 0.6709109798775154, "top": 0.29913385826771655, "w": 5.810937226596676, "h": 0.6276038932633421, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-abfd6fea1b.png", "left": 1.8106692913385827, "top": 1.2532720909886264, "w": 6.4625, "h": 3.9}], "tables": [], "notes": ""}, {"index": 59, "title": "回归测试", "texts": [{"text": "回归测试", "lines": ["回归测试"], "left": 0.6560695538057743, "top": 0.24548228346456694, "w": 5.810937226596676, "h": 0.6276038932633421, "size": 18.0, "bold": false, "is_title": false}, {"text": "一旦程序某些区域被修改了，就可能影响原来正常工作的区域，导致受影响的区域出现回归缺陷。\n回归缺陷：原来正常工作的功能，没有发生需求变化，而由于受其它改动影响而产生的问题。\n回归测试就是为了发现回归缺陷而进行的测试。如果没有回归测试，产品就带着回归缺陷被发布出去了，造成严重后果。", "lines": ["一旦程序某些区域被修改了，就可能影响原来正常工作的区域，导致受影响的区域出现回归缺陷。", "回归缺陷：原来正常工作的功能，没有发生需求变化，而由于受其它改动影响而产生的问题。", "回归测试就是为了发现回归缺陷而进行的测试。如果没有回归测试，产品就带着回归缺陷被发布出去了，造成严重后果。"], "left": 0.9304997812773403, "top": 1.6297670603674541, "w": 8.459975940507437, "h": 2.3549278215223097, "size": 18.0, "bold": true, "is_title": false}, {"text": "Regression Testing", "lines": ["Regression Testing"], "left": 0.6560695538057743, "top": 0.7508180227471566, "w": 1.8919783464566928, "h": 0.3736132983377078, "size": 16.2, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 60, "title": "如何进行回归测试？", "texts": [{"text": "如何进行回归测试？", "lines": ["如何进行回归测试？"], "left": 0.6434481627296588, "top": 0.335009842519685, "w": 6.071604330708661, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "61", "lines": ["61"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "范围？", "lines": ["范围？"], "left": 2.5465463692038495, "top": 1.7252143482064741, "w": 1.4174803149606299, "h": 0.8354407261592302, "size": 32.4, "bold": true, "is_title": false}, {"text": "策略？", "lines": ["策略？"], "left": 2.5465463692038495, "top": 2.579981408573928, "w": 1.4174803149606299, "h": 0.8354407261592302, "size": 32.4, "bold": true, "is_title": false}], "pics": [{"file": "img-0a8a914a33.png", "left": 2.249998906386702, "top": 1.2166830708661418, "w": 5.380952537182852, "h": 3.5620395888014}], "tables": [], "notes": ""}, {"index": 61, "title": "回归测试策略", "texts": [{"text": "回归测试策略", "lines": ["回归测试策略"], "left": 0.5756856955380577, "top": 0.35267825896762905, "w": 5.937646544181978, "h": 0.5319017935258092, "size": 18.0, "bold": false, "is_title": false}, {"text": "再测试全部用例\t\n基于风险选择测试\n基于操作剖面选择测试\t\n再测试修改的部分\n……", "lines": ["再测试全部用例", "基于风险选择测试", "基于操作剖面选择测试", "再测试修改的部分", "……"], "left": 1.1475590551181103, "top": 1.3943252405949256, "w": 4.256101268591426, "h": 2.836349518810149, "size": 20.0, "bold": false, "is_title": false}], "pics": [{"file": "img-7db66cb6f7.jpg", "left": 5.695238407699038, "top": 1.163649387576553, "w": 3.623834208223972, "h": 2.816113298337708}], "tables": [], "notes": ""}, {"index": 62, "title": "6.4  精准测试", "texts": [{"text": "6.4  精准测试", "lines": ["6.4  精准测试"], "left": 0.969342738407699, "top": 0.9328641732283465, "w": 8.455944881889764, "h": 0.9791666666666666, "size": 48.0, "bold": true, "is_title": false}], "pics": [{"file": "img-64a78066da.jpg", "left": -1.0936132983377078e-06, "top": -0.03176509186351706, "w": 10.000001093613298, "h": 4.667329396325459}], "tables": [], "notes": "十一、功能测试自动化\n面向接口的自动化测试\nWeb客户端的UI自动化测试\n基于Cypress的UI自动化测试\nAndroid应用的UI自动化测试\n数据驱动/关键字驱动\n自动化测试框架"}, {"index": 63, "title": "精准测试", "texts": [{"text": "精准测试", "lines": ["精准测试"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}, {"text": "测试覆盖率分析\t\n代码和测试用例之间的关系\n代码依赖性分析\t\n基于上述工作，可以精准地完成回归测试", "lines": ["测试覆盖率分析", "代码和测试用例之间的关系", "代码依赖性分析", "基于上述工作，可以精准地完成回归测试"], "left": 0.6427963692038495, "top": 1.3943252405949256, "w": 4.256101268591426, "h": 2.836349518810149, "size": 20.0, "bold": false, "is_title": false}], "pics": [{"file": "img-056d9b6e5f.png", "left": 5.338158355205599, "top": 1.4200590551181103, "w": 4.5701738845144355, "h": 2.1390080927384076}], "tables": [], "notes": ""}, {"index": 64, "title": "测试用例与代码映射关系", "texts": [{"text": "测试用例与代码映射关系", "lines": ["测试用例与代码映射关系"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}, {"text": "测试用例代码", "lines": ["测试用例代码"], "left": 0.41904746281714783, "top": 4.4095242782152235, "w": 1.9637839020122485, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "代码测试用例", "lines": ["代码测试用例"], "left": 6.128571741032371, "top": 4.892154418197725, "w": 1.9637839020122485, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-016b8547c1.png", "left": 0.0, "top": 0.8511220472440945, "w": 4.756661198600175, "h": 4.519569116360455}, {"file": "img-f2e6f6dda2.png", "left": 4.857142388451444, "top": 1.1841108923884514, "w": 5.142857611548556, "h": 3.708043525809274}], "tables": [], "notes": ""}, {"index": 65, "title": "代码依赖性分析", "texts": [{"text": "代码依赖性分析", "lines": ["代码依赖性分析"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-b7516bb131.png", "left": 0.36829724409448816, "top": 1.4885564304461942, "w": 9.455003280839895, "h": 2.3781102362204725}], "tables": [], "notes": ""}, {"index": 66, "title": "测试覆盖率分析", "texts": [{"text": "测试覆盖率分析", "lines": ["测试覆盖率分析"], "left": 0.5968689851268592, "top": 0.25430883639545054, "w": 8.025543525809274, "h": 0.6570417760279965, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-aa8cb64b0f.png", "left": 0.1185586176727909, "top": 1.236629483814523, "w": 9.742531714785652, "h": 3.487179571303587}], "tables": [], "notes": ""}, {"index": 67, "title": "本讲小结", "texts": [{"text": "本讲小结", "lines": ["本讲小结"], "left": 0.5815244969378828, "top": 0.3462554680664917, "w": 8.925108267716535, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "基于需求、启发式测试策略进行功能测试需求分析\n先要明确测试目标，再进行测试范围、测试项和风险等进行分析，采用分解方法，内容涉及功能、场景、数据等\n探索式测试四要素、IAPE、生态建设以及SBTM\n回归测试策略、精准测试", "lines": ["基于需求、启发式测试策略进行功能测试需求分析", "先要明确测试目标，再进行测试范围、测试项和风险等进行分析，采用分解方法，内容涉及功能、场景、数据等", "探索式测试四要素、IAPE、生态建设以及SBTM", "回归测试策略、精准测试"], "left": 1.0512751531058617, "top": 1.501978346456693, "w": 7.472533902012248, "h": 2.621043307086614, "size": 20.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 68, "title": "提问与思考", "texts": [{"text": "提问与思考", "lines": ["提问与思考"], "left": 0.5815244969378828, "top": 0.3462554680664917, "w": 3.6227766841644793, "h": 0.5729166666666666, "size": 24.0, "bold": false, "is_title": false}, {"text": "自动化测试中录制脚本轻松搞定，为何没有成为功能测试自动化脚本开发的主流？\n采用开源自动化测试框架还是自己开发自动化测试框架好呢？\n大家都重视自动化测试，但往往效果不够好，问题在哪里？", "lines": ["自动化测试中录制脚本轻松搞定，为何没有成为功能测试自动化脚本开发的主流？", "采用开源自动化测试框架还是自己开发自动化测试框架好呢？", "大家都重视自动化测试，但往往效果不够好，问题在哪里？"], "left": 0.7473108048993876, "top": 1.3703991688538932, "w": 8.91935586176728, "h": 2.127379702537183, "size": 20.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "重点学习内容，可以通过留实操作业或提问的方式，巩固学习成果"}, {"index": 69, "title": "实验3: 针对某web应用系统进行功能测试", "texts": [{"text": "实验3: 针对某web应用系统进行功能测试", "lines": ["实验3: 针对某web应用系统进行功能测试"], "left": 0.5048611111111111, "top": 0.2826388888888889, "w": 8.7375, "h": 0.7270833333333333, "size": 24.0, "bold": false, "is_title": false}, {"text": "实验要求\n基于本模块所学的测试方法，进行测试需求分析，按优先级列出主要的测试项以及识别出测试风险\n设计20+个相对关键的测试用例，以发现更多的缺陷，并能说明测试用例的设计思路和方法。\n基于Selenium＋webdriver 将之前设计的10个测试用例转化为测试脚本，如Java格式的脚本，在JUnit框架上执行和调试这些脚本。", "lines": ["实验要求", "基于本模块所学的测试方法，进行测试需求分析，按优先级列出主要的测试项以及识别出测试风险", "设计20+个相对关键的测试用例，以发现更多的缺陷，并能说明测试用例的设计思路和方法。", "基于Selenium＋webdriver 将之前设计的10个测试用例转化为测试脚本，如Java格式的脚本，在JUnit框架上执行和调试这些脚本。"], "left": 0.38146325459317587, "top": 1.1344083552055992, "w": 5.457246281714785, "h": 3.670849737532808, "size": 18.0, "bold": true, "is_title": false}, {"text": "https://www.saucedemo.com/", "lines": ["https://www.saucedemo.com/"], "left": 5.979009186351706, "top": 4.318547681539807, "w": 3.516129702537183, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}], "pics": [{"file": "img-4f6b07e5d7.png", "left": 5.967754811898513, "top": 1.3064512248468942, "w": 4.032245188101487, "h": 3.0120964566929134}], "tables": [], "notes": ""}, {"index": 70, "title": "学习资源推荐", "texts": [{"text": "学习资源推荐", "lines": ["学习资源推荐"], "left": 0.5048611111111111, "top": 0.2826388888888889, "w": 8.7375, "h": 0.7270833333333333, "size": 18.0, "bold": false, "is_title": false}, {"text": "《接口自动化测试项目实战》，清华大学出版社，2021.11\n《从零开始学Selenium自动化测试》，机械工业出版社，2020\n《前端自动化测试框架——Cypress 从入门到精通》，电子工业出版社，2020.4\n《Robot Framework自动化测试精解》 ，人民邮电出版社，2020.4", "lines": ["《接口自动化测试项目实战》，清华大学出版社，2021.11", "《从零开始学Selenium自动化测试》，机械工业出版社，2020", "《前端自动化测试框架——Cypress 从入门到精通》，电子工业出版社，2020.4", "《Robot Framework自动化测试精解》 ，人民邮电出版社，2020.4"], "left": 0.3733530183727034, "top": 1.2349956255468066, "w": 9.495138888888889, "h": 1.8762707786526684, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 71, "title": "感 谢 聆 听", "texts": [{"text": "感 谢 聆 听", "lines": ["感 谢 聆 听"], "left": 1.2869619422572178, "top": 2.101732283464567, "w": 4.000671478565179, "h": 1.0872397200349957, "size": 18.0, "bold": true, "is_title": false}, {"text": "广东金融学院 / 周宇文", "lines": ["广东金融学院 / 周宇文"], "left": 1.8559372265966754, "top": 3.1889720034995626, "w": 2.862719816272966, "h": 0.3572211286089239, "size": 16.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "每课结束时使用“以上是本节课的内容”“这一章讲到这里”"}]}