51Testing 软 件 测 试 网 错 的 主 意 。Scenario 仅 仅 需 要 去 执 行 测 试 脚 本本 。 然 而 , 像 测 试 机机 组 , 一 个 真 正 的 scenario 也 可 以 包包 含 测 试 用 例 ,suites, 和和 选 择 器 。 设 置 测 试 脚 本本 , 测 试 用 例 或 者 suite 的 前前 提 条条 件 (Setting a Precondition on a Test Script, Test Case, or Suite) 在 你 插 入 测 试 脚 本本 , 测 试 用 例 , 或 者 suite 到到 另 一 个 suite 中 时 , 你 可 以 说 明 , 对 于 该 suite 的 剩 余 项 来来 说 , 那 个 项 的 成 功 完 成 是 一 个 (precondition) 前前 提 条条 件 。 对 于 在 相 同 级 别 下 执 行 的 剩 余 suite 项 来来 说 , 该 项 必 须 通 过 。 例 如 , 假 设 一 个 suite 包包 含 两 个 suites, 而 它 们 中 的 每 一 个 都 包包 含 了 初 始 化化 的 测 试 脚 本本 和和 若 干 的 测 试 用 例 。 如 果果 你 设 置 了 这 个 初 始 化化 的 测 试 教 本本 的 前前 提 条条 件 , 并 且 这 个 测 试 脚 本本 执 行 失 败 了 , 那 么 TestManager 仅 仅 在 那 个 suite 中 浏 览 所 有 剩 余 的 测 试 用 例 。 在 第 二 个 suite 开 始 时 恢 复 该 suite 的 执 行 。 设 置 前前 提 条条 件 : ● 右 键 点 击 该 测 试 脚 本本 ,suite, 或 者 测 试 用 例 以 设 置 前前 提 条条 件 , 并 选 择 Run Properties。 前前 提 条条 件 仅 仅 适 用 于 测 试 脚 本本 , 测 试 用 例 , 或 者 suite 实 例 的 说 明 。 例 如 , 如 果果 你 多 次 地 插 入 一 个 测 试 脚 本本 , 并 且 你 希 望 设 置 该 测 试 脚 本本 所 有 实 例 的 前前 提 条条 件 , 那 么 你 就 必 须 为 每 一 个 测 试 脚 本本 设 置 前前 提 条条 件 。 插 入 选 择 器 到到 suite 中 (Inserting a Selector into a Suite) TestManager 允 许 你 去 设 置 suite 项 , 通 过 设 置 选 择 器 , 以 在 不 同 的 序 列 中 执 行 。 比 起 suite 中 连 续 项 的 一 个 简 单 的 序 列 , 一 个 选 择 器 提 供 了 更 加 复 杂 的 控 制 。 选 择 器 告告 诉 TestManager 将 要 执 行 的 项 , 以 及 所 处 的 序 列 。 例 如 , 你 可 能 希 望 从 一 组 测 试 脚 本本 中 随 机机 的 重 复 地 选 择 一 个 测 试 用 例 。 选 择 器 帮 助 你 可 以 这 样 做 。 下 面 的 列 表 说 明 被 用 于 功 能 测 试 的 选 择 器 类 型 , 以 及 , 其 他 被 用 于 性 能 测 试 的 选 择 器 类 型 。 ●Sequential Sequential( 顺 序 的 )- 按 顺 序 执 行 出 现 在 这 个 suite 中 的 每 一 个 suite 项 。 当 然 , 这 是 默 认 的 。 ●Parallel Parallel( 并 行 的 )- 分 布 每 一 个 suite 项 到到 任 意 可 用 的 测 试 机机 。 这 个 选 择 器 常 被 用 于 分 布 式 的 功 能 测 试 。Suite 项 被 整 齐 地 分 割割 出 来来 , 基 于 可 用 的 测 试 机机 来来 执 行 另 一 个 测 试 脚 本本 。 一 旦 有 一 个 项 执 行 , 它 不 会 再 被 执 行 。 在 不 把 它 当 做 是 迭 代 的 情 况 下 , 一 个 并 行 的 选 因 择 器 分 布 在 每 个 测 试 脚 本本 中 。 例 如 , 假 设 脚
51Testing 软 件 测 试 网 本本 A 对 于 10 个 迭 代 执 行 , 而 脚 本本 B 只 对 于 一 个 迭 代 执 行 。 迭 代 的 数 量 将 不 影 响响 脚 本本 分 布 的 方 法 。 插 入 选 择 器 到到 suite 中 : ● 选 择 要 包包 含 选 择 器 的 测 试 机机 组 或 scenario, 然 后 , 点 击 Suite > Insert > Selector。 插 入 其 他 项 到到 suite 中 (Inserting Other Items into a Suite) 分 布 在 以 下 部 分 的 项 一 般 被 用 来来 在 性 能 测 试 中 使 用 。 当 然 , 你 有 时 也 可 以 在 功 能 测 试 中 使 用 这 些 项 。 插 入 延 迟 (Inserting a Delay) 一 个 delay( 延 迟 ) 告告 诉 TestManager, 该 suite 中 , 在 它 执 行 下 一 个 项 之 前前 , 需 要 多 长 时 间 的 暂 停 。 在 功 能 测 试 中 , 执 行 之 前前 , 你 可 以 使 用 delays( 延 迟 ) 来来 引 起 测 试 脚 本本 的 等 待 。 例 如 , 如 果果 一 个 虚 拟 测 试 者 更 新 记 录 , 那 么 你 可 以 插 入 一 个 delay( 延 迟 ), 给 予 应 用 程 序 时 间 以 处 理 和和 显 示 正 确 的 信 息 。 通 过 提 供 一 个 delay( 延 迟 ), 你 可 以 确 保 应 用 程 序 有 足 够 的 时 间 去 完 成 一 个 任 务 , 因 为 (in case) 另 一 个 虚 拟 测 试 者 执 行 一 个 动 作 , 以 作 为 那 项 任 务 的 结 果果 。 插 入 一 个 延 迟 到到 suite 中 : 点 击 要 添 加 delay( 延 迟 ) 的 计 算 机机 组 ,scenario, 或 选 择 器 , 然 后 点 击 Suite > Insert > Delay。
- Page 1 and 2:
51Testing 软 件 测 试 网 TestM
- Page 3 and 4:
51Testing 软 件 测 试 网 与 R
- Page 5 and 6:
51Testing 软 件 测 试 网 什
- Page 7 and 8:
51Testing 软 件 测 试 网 测
- Page 9 and 10:
51Testing 软 件 测 试 网 可
- Page 11 and 12:
51Testing 软 件 测 试 网 测
- Page 13 and 14:
51Testing 软 件 测 试 网 项
- Page 15 and 16:
51Testing 软 件 测 试 网 组
- Page 17 and 18:
51Testing 软 件 测 试 网 的
- Page 19 and 20:
51Testing 软 件 测 试 网 ●
- Page 21 and 22:
51Testing 软 件 测 试 网 从 T
- Page 23 and 24:
51Testing 软 件 测 试 网 右
- Page 25 and 26:
51Testing 软 件 测 试 网 右
- Page 27 and 28:
51Testing 软 件 测 试 网 2 测
- Page 29 and 30:
51Testing 软 件 测 试 网 (Repo
- Page 31 and 32:
51Testing 软 件 测 试 网 惯
- Page 33 and 34:
51Testing 软 件 测 试 网 你
- Page 35 and 36:
51Testing 软 件 测 试 网 ●
- Page 37 and 38:
51Testing 软 件 测 试 网 测
- Page 39 and 40:
51Testing 软 件 测 试 网 Explo
- Page 41 and 42:
51Testing 软 件 测 试 网 Ratio
- Page 43 and 44:
51Testing 软 件 测 试 网 显
- Page 45 and 46:
51Testing 软 件 测 试 网 文
- Page 47 and 48:
51Testing 软 件 测 试 网 当
- Page 49 and 50:
51Testing 软 件 测 试 网 ●
- Page 51 and 52:
51Testing 软 件 测 试 网 指
- Page 53 and 54:
51Testing 软 件 测 试 网 解
- Page 55 and 56:
51Testing 软 件 测 试 网 自
- Page 57 and 58:
51Testing 软 件 测 试 网 定
- Page 59 and 60:
51Testing 软 件 测 试 网 和
- Page 61 and 62:
51Testing 软 件 测 试 网 状
- Page 63 and 64:
51Testing 软 件 测 试 网 一
- Page 65 and 66:
51Testing 软 件 测 试 网 过
- Page 67 and 68:
51Testing 软 件 测 试 网 注
- Page 69 and 70:
51Testing 软 件 测 试 网 有
- Page 71 and 72:
51Testing 软 件 测 试 网 在
- Page 73 and 74:
51Testing 软 件 测 试 网 有
- Page 75 and 76:
51Testing 软 件 测 试 网 编
- Page 77 and 78:
51Testing 软 件 测 试 网 针
- Page 79 and 80:
51Testing 软 件 测 试 网 ●VU
- Page 81 and 82:
51Testing 软 件 测 试 网 限
- Page 83 and 84:
51Testing 软 件 测 试 网 要
- Page 85 and 86:
51Testing 软 件 测 试 网 5 测
- Page 87 and 88:
51Testing 软 件 测 试 网 当
- Page 89 and 90:
51Testing 软 件 测 试 网 查
- Page 91 and 92:
51Testing 软 件 测 试 网 ●
- Page 93 and 94:
51Testing 软 件 测 试 网 通
- Page 95 and 96:
51Testing 软 件 测 试 网 ●
- Page 97 and 98:
51Testing 软 件 测 试 网 一
- Page 99 and 100:
51Testing 软 件 测 试 网 如
- Page 101 and 102:
51Testing 软 件 测 试 网 user
- Page 103 and 104:
51Testing 软 件 测 试 网 通
- Page 105 and 106:
51Testing 软 件 测 试 网 Suite
- Page 107 and 108:
51Testing 软 件 测 试 网 ●HT
- Page 109 and 110:
51Testing 软 件 测 试 网 下
- Page 111 and 112:
51Testing 软 件 测 试 网 有
- Page 113 and 114:
51Testing 软 件 测 试 网 对
- Page 115 and 116:
51Testing 软 件 测 试 网 1 在
- Page 117 and 118: 51Testing 软 件 测 试 网 各
- Page 119 and 120: 51Testing 软 件 测 试 网 变
- Page 121 and 122: 51Testing 软 件 测 试 网 在
- Page 123 and 124: 51Testing 软 件 测 试 网 6 测
- Page 125 and 126: 51Testing 软 件 测 试 网 你
- Page 127 and 128: 51Testing 软 件 测 试 网 现
- Page 129 and 130: 51Testing 软 件 测 试 网 TestM
- Page 131 and 132: 51Testing 软 件 测 试 网 注
- Page 133 and 134: 51Testing 软 件 测 试 网 有
- Page 135 and 136: 51Testing 软 件 测 试 网 Multi
- Page 137 and 138: 51Testing 软 件 测 试 网 2 点
- Page 139 and 140: 51Testing 软 件 测 试 网 比
- Page 141 and 142: 51Testing 软 件 测 试 网 结
- Page 143 and 144: 51Testing 软 件 测 试 网 ●
- Page 145 and 146: 51Testing 软 件 测 试 网 注
- Page 147 and 148: 51Testing 软 件 测 试 网 ●
- Page 149 and 150: 51Testing 软 件 测 试 网
- Page 151 and 152: 51Testing 软 件 测 试 网 意
- Page 153 and 154: 51Testing 软 件 测 试 网 在
- Page 155 and 156: 51Testing 软 件 测 试 网 打
- Page 157 and 158: 51Testing 软 件 测 试 网 复
- Page 159 and 160: 51Testing 软 件 测 试 网 Part
- Page 161 and 162: 51Testing 软 件 测 试 网 ●
- Page 163 and 164: 51Testing 软 件 测 试 网 你
- Page 165 and 166: 51Testing 软 件 测 试 网 插
- Page 167: 51Testing 软 件 测 试 网 该 s
- Page 171 and 172: 51Testing 软 件 测 试 网 Point
- Page 173 and 174: 51Testing 软 件 测 试 网 该
- Page 175 and 176: 51Testing 软 件 测 试 网 当
- Page 177 and 178: 51Testing 软 件 测 试 网 出
- Page 179 and 180: 51Testing 软 件 测 试 网 ●
- Page 181 and 182: 51Testing 软 件 测 试 网 ●
- Page 183 and 184: 51Testing 软 件 测 试 网 编
- Page 185 and 186: 51Testing 软 件 测 试 网 设
- Page 187 and 188: 51Testing 软 件 测 试 网 当
- Page 189 and 190: 51Testing 软 件 测 试 网 该
- Page 191 and 192: 51Testing 软 件 测 试 网 这
- Page 193 and 194: 51Testing 软 件 测 试 网 放
- Page 195 and 196: 51Testing 软 件 测 试 网 性
- Page 197 and 198: 51Testing 软 件 测 试 网 基
- Page 199 and 200: 51Testing 软 件 测 试 网 Ratio
- Page 201 and 202: 51Testing 软 件 测 试 网 由
- Page 203 and 204: 51Testing 软 件 测 试 网 结
- Page 205 and 206: 51Testing 软 件 测 试 网 跨
- Page 207 and 208: 51Testing 软 件 测 试 网 ●
- Page 209 and 210: 51Testing 软 件 测 试 网 测
- Page 211 and 212: 51Testing 软 件 测 试 网 例
- Page 213 and 214: 51Testing 软 件 测 试 网 性
- Page 215 and 216: 51Testing 软 件 测 试 网 由 s
- Page 217 and 218: 51Testing 软 件 测 试 网 注
- Page 219 and 220:
51Testing 软 件 测 试 网 设
- Page 221 and 222:
51Testing 软 件 测 试 网 创
- Page 223 and 224:
51Testing 软 件 测 试 网 当
- Page 225 and 226:
51Testing 软 件 测 试 网 并
- Page 227 and 228:
51Testing 软 件 测 试 网 在
- Page 229 and 230:
51Testing 软 件 测 试 网 这
- Page 231 and 232:
51Testing 软 件 测 试 网 地
- Page 233 and 234:
51Testing 软 件 测 试 网 例
- Page 235 and 236:
51Testing 软 件 测 试 网 默
- Page 237 and 238:
51Testing 软 件 测 试 网 使
- Page 239 and 240:
51Testing 软 件 测 试 网 控
- Page 241 and 242:
51Testing 软 件 测 试 网 活
- Page 243 and 244:
51Testing 软 件 测 试 网 注
- Page 245 and 246:
51Testing 软 件 测 试 网 以
- Page 247 and 248:
51Testing 软 件 测 试 网 ●
- Page 249 and 250:
51Testing 软 件 测 试 网 的
- Page 251 and 252:
51Testing 软 件 测 试 网 ●
- Page 253 and 254:
51Testing 软 件 测 试 网
- Page 255 and 256:
51Testing 软 件 测 试 网 表
- Page 257 and 258:
51Testing 软 件 测 试 网 例
- Page 259 and 260:
51Testing 软 件 测 试 网 生
- Page 261 and 262:
51Testing 软 件 测 试 网 删
- Page 263 and 264:
51Testing 软 件 测 试 网 ●
- Page 265 and 266:
51Testing 软 件 测 试 网 Test
- Page 267 and 268:
51Testing 软 件 测 试 网 生
- Page 269 and 270:
51Testing 软 件 测 试 网 文
- Page 271 and 272:
51Testing 软 件 测 试 网 步
- Page 273 and 274:
51Testing 软 件 测 试 网 在
- Page 275 and 276:
Response vs. Time ( 响响 应 时
- Page 277 and 278:
51Testing 软 件 测 试 网 Comma
- Page 279 and 280:
51Testing 软 件 测 试 网 Optio
- Page 281 and 282:
51Testing 软 件 测 试 网 消
- Page 283 and 284:
51Testing 软 件 测 试 网 将
- Page 285 and 286:
51Testing 软 件 测 试 网 ● L
- Page 287 and 288:
51Testing 软 件 测 试 网 To fi
- Page 289 and 290:
51Testing 软 件 测 试 网 你
- Page 291 and 292:
51Testing 软 件 测 试 网 2 点
- Page 293 and 294:
51Testing 软 件 测 试 网 当
- Page 295 and 296:
51Testing 软 件 测 试 网 负
- Page 297 and 298:
51Testing 软 件 测 试 网 如
- Page 299 and 300:
51Testing 软 件 测 试 网 应
- Page 301 and 302:
51Testing 软 件 测 试 网 Comma
- Page 303 and 304:
51Testing 软 件 测 试 网 括
- Page 305 and 306:
51Testing 软 件 测 试 网 令
- Page 307 and 308:
51Testing 软 件 测 试 网 令
- Page 309 and 310:
51Testing 软 件 测 试 网 修
- Page 311 and 312:
51Testing 软 件 测 试 网 系
- Page 313 and 314:
51Testing 软 件 测 试 网 rtvsr
- Page 315 and 316:
51Testing 软 件 测 试 网 你
- Page 317 and 318:
51Testing 软 件 测 试 网
- Page 319 and 320:
51Testing 软 件 测 试 网 UNIX
- Page 321:
51Testing 软 件 测 试 网 本