IBM Rational Test Workbench Mobile Web Recorder 安裝在 iOS 模擬器上

如果您在「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 應用程式。

如要安裝 IBM Rational Test Workbench Mobile Web Recorder,首先請下載 RTW-iOS-Build-Archive.zip,然後從指令行執行 installIPAInSimu.sh Script。

註: 檢測 iOS 應用程式時,也需要 RTW-iOS-Build-Archive.zip。如需詳細資料,請參閱檢測 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 應用程式。

意見