0

I’ve got a problem with my instrumentalized iOS App for the Mobile Test Workbench iOS-Client. After adding the necessary environments (IPhone and Android) and building the app with worklight, I wanted to test my app with the Mobile Test Workbench. The instrumentalization with rtwBuildXcode.sh succeeded and the app was uploaded to the simulator (with the script-parameter simu). But when the script uploads the app to the local mobile test workbench instance there is the following error:

WorkbenchTest: this application is not a supported WorkLight one. Please consider using IBM Rational Test Workbench.

I’m confused! It’s a Worklight app and the android-test-environment runs well but the ios one doesn’t at all. The only thing I change in the Xcode-Project was the “Bundle Identifier” so I could build the app with the script. The original-app runs on Android and iOS-Simulator! Could somebody help me pls? Thx!

I’m using Worklight 6.0 and Mobile Test Workbench 8.5

4

2 回答 2

3

问题正是您所说的,您在 Xcode-Project 中更改的是“Bundle Identifier”

您不应该对工作灯应用程序执行此操作,您需要在 application-descriptor.xml 中进行更改

更改 iphone 部分中的“bundleId”以适合您的需要。

 <iphone bundleId="com.yourbundleid" version="1.0">
        <worklightSettings include="true"/>
        <security>
            <encryptWebResources enabled="false"/>
            <testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
        </security>
    </iphone>

下划线的原因(如果不感兴趣,请跳过)是脚本使用“budnle id”,并且当您仅在本机项目(在 XCode 中)中更改它时,它不知道您做了什么,并且失败了。

希望这可以帮助

于 2013-08-27T15:50:44.213 回答
0

当被测应用程序不是 Worklight 应用程序时,MTWW 会生成此消息...在您的情况下,它似乎是一个 Worklight 项目!(MTWW 和 RTW 之间存在差异,因为 MTWW 仅限于 WL 应用程序)。在您的情况下,此验证似乎存在问题。以下是一些用于确定问题的问题:

  • 您是否将 WL 项目从 5.x 升级到 6.0 ?
  • 您是否在测试之前先部署您的应用程序?

谢谢

于 2013-08-27T15:19:58.710 回答