• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1### LocCrossOriginResAccSol_one
2
3| 测试功能                    | 预置条件     | 输入         | 预期输出           | 是否自动 | 测试结果 |
4| --------------------------- | ------------ | ------------ | ------------------ | -------- | -------- |
5| 解决Web组件本地资源跨域问题 | 设备运转正常 | 应用启动成功 | 加载index.html页面 | Yes      | Pass     |
6
7### LocCrossOriginResAccSol_two
8
9| 测试功能                    | 预置条件                             | 输入                            | 预期输出                             | 是否自动 | 测试结果 |
10| --------------------------- | ------------------------------------ | ------------------------------- | ------------------------------------ | -------- | -------- |
11| 解决Web组件本地资源跨域问题 | 设备运转正常,index.html页面加载完成 | 应用启动成功,点击stealFile按钮 | 跨域访问本地resfile/js/script.js文件 | Yes      | Pass     |
12
13### AddIntTrackPreventByPassList
14
15| 测试功能           | 预置条件     | 输入                                                         | 预期输出                         | 是否自动 | 测试结果 |
16| ------------------ | ------------ | ------------------------------------------------------------ | -------------------------------- | -------- | -------- |
17| 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击addIntelligentTrackingPreventionBypassingList按钮 | 设置需要绕过智能防跟踪功能的域名 | Yes      | Pass     |
18
19### ClearIntTrackPreventByPassList
20
21| 测试功能           | 预置条件     | 输入                                                         | 预期输出                                                     | 是否自动 | 测试结果 |
22| ------------------ | ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -------- | -------- |
23| 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击clearIntelligentTrackingPreventionBypassingList按钮 | 清除通过addIntelligentTrackingPreventionBypassingList接口设置的所有域名 | Yes      | Pass     |
24
25### EnableIntTrackPrevent
26
27| 测试功能           | 预置条件     | 输入                                                      | 预期输出                        | 是否自动 | 测试结果 |
28| ------------------ | ------------ | --------------------------------------------------------- | ------------------------------- | -------- | -------- |
29| 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击enableIntelligentTrackingPrevention按钮 | 使能相应Web组件的智能防跟踪功能 | Yes      | Pass     |
30
31### IsIntTrackPreventEnabled
32
33| 测试功能           | 预置条件     | 输入                                                         | 预期输出                                | 是否自动 | 测试结果 |
34| ------------------ | ------------ | ------------------------------------------------------------ | --------------------------------------- | -------- | -------- |
35| 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击isIntelligentTrackingPreventionEnabled按钮 | 判断当前Web组件是否开启了智能防跟踪功能 | Yes      | Pass     |
36
37### OnIntTrackPreventResult
38
39| 测试功能           | 预置条件     | 输入                                                        | 预期输出                                         | 是否自动 | 测试结果 |
40| ------------------ | ------------ | ----------------------------------------------------------- | ------------------------------------------------ | -------- | -------- |
41| 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击onIntelligentTrackingPreventionResult按钮 | 获取拦截的跟踪型网站的域名和访问的网站域名信息。 | Yes      | Pass     |
42
43### RemoveIntTrackPreventByPassList
44
45| 测试功能           | 预置条件     | 输入                                                         | 预期输出                                                     | 是否自动 | 测试结果 |
46| ------------------ | ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -------- | -------- |
47| 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击removeIntelligentTrackingPreventionBypassingList按钮 | 移除通过addIntelligentTrackingPreventionBypassingList接口设置的部分域名列表 | Yes      | Pass     |
48
49### EnablingAdsBlocking
50
51| 测试功能                  | 预置条件     | 输入                                   | 预期输出       | 是否自动 | 测试结果 |
52| ------------------------- | ------------ | -------------------------------------- | -------------- | -------- | -------- |
53| 使用Web组件的广告过滤功能 | 设备运转正常 | 应用启动成功,点击setAdsBlockRules按钮 | 打开文件选择器 | Yes      | Pass     |
54
55### DisAdsBlockSpecDomPages_one
56
57| 测试功能                  | 预置条件     | 输入                                            | 预期输出                   | 是否自动 | 测试结果 |
58| ------------------------- | ------------ | ----------------------------------------------- | -------------------------- | -------- | -------- |
59| 使用Web组件的广告过滤功能 | 设备运转正常 | 应用启动成功,点击addAdsBlockDisallowedList按钮 | 关闭特定域名页面的广告过滤 | Yes      | Pass     |
60
61### DisAdsBlockSpecDomPages_two
62
63| 测试功能                  | 预置条件     | 输入                                            | 预期输出 | 是否自动 | 测试结果 |
64| ------------------------- | ------------ | ----------------------------------------------- | -------- | -------- | -------- |
65| 使用Web组件的广告过滤功能 | 设备运转正常 | 应用启动成功,点击addAdsBlockDisallowedList按钮 | 添加域名 | Yes      | Pass     |
66
67### CollectingAdsBlockingInformation
68
69| 测试功能                  | 预置条件     | 输入         | 预期输出           | 是否自动 | 测试结果 |
70| ------------------------- | ------------ | ------------ | ------------------ | -------- | -------- |
71| 使用Web组件的广告过滤功能 | 设备运转正常 | 应用启动成功 | 收集广告过滤的信息 | Yes      | Pass     |
72