在 iOS 模拟器上安装 IBM Rational Test Workbench Mobile Web Recorder

如果要在 iOS 模拟器上测试移动 Web 应用程序,必须首先安装 IBM® Rational® Test Workbench Mobile Web Recorder

关于此任务

需要 IBM Rational Test Workbench Mobile Web Recorder 来测试移动 Web 应用程序。要在 iOS 设备上测试移动 Web 应用程序,可从 Apple App Store 下载 IBM Rational Test Workbench Mobile Web Recorder。因为 iOS 模拟器没有 Apple App Store 的访问权,必须首先手动安装 IBM Rational Test Workbench Mobile Web Recorder,然后才能开始测试移动 Web 应用程序。

可通过首先下载 RTW-iOS-Build-Archive.zip 并从命令行运行 installIPAInSimu.sh 脚本来安装 IBM Rational Test Workbench Mobile Web Recorder

注: 还需要 RTW-iOS-Build-Archive.zip 来检测 iOS 应用。请参阅检测 iOS 应用程序,以了解详细信息。

过程

  1. 如果尚未执行该操作,下载 RTW-iOS-Build-Archive.zip
    1. 在 Macintosh 计算机上打开浏览器并按以下格式输入工作台 URL:

      http://Workbench_URL:port/mobile

      例如 http://192.0.2.24:7878/mobile

    2. 在 Rational Test Workbench - Mac OS“欢迎”页面中,遵循联机指示信息来下载归档。
    3. 下载完成后,解压缩构建归档。

      构建归档中包含以下文件夹:browser、build-script、client、runtime 和 runtime-bundle

  2. 打开 Macintosh 计算机上的“终端”窗口并切换至 build-script 文件夹。
  3. 输入 ./installIPAInSimu.sh ../browser/iphonesimulator/IBM RTW Browser.ipa 以安装 IBM Rational Test Workbench Mobile Web Recorder

结果

在您安装 IBM Rational Test Workbench Mobile Web Recorder 之后,可开始在 iOS 模拟器中测试 Web 应用程序。

反馈