问题标签 [worklight-mtww]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
843 浏览

ibm-mobilefirst - IBM Worklight v6.0 - 将应用程序添加到 Mobile Test Workbench 时出错

我有一个 Worklight 应用程序,从中创建了一个 apk 文件。创建了一个测试项目。
将apk文件添加到工作台,它有一个错误说:

应用程序 xxx.apk 无法导入;它要么是无效的,要么包含不受支持的特定功能。

0 投票
1 回答
339 浏览

ibm-mobilefirst - IBM Worklight 6.0 - 适用于 iOS 的 Mobile Test Workbench 客户端应用程序在哪里?

“在 iOS 设备上安装移动测试客户端”的 Worklight 6.0 文档的第 1 步说“从您的移动设备启动 Apple App Store 并搜索 Rational Test Workbench 移​​动客户端”,但是,在我的 iPhone 5 上这样做没有结果。

我在哪里可以找到这个应用程序?

0 投票
1 回答
183 浏览

ibm-mobilefirst - IBM Worklight 6.0 - 如何共享 Rational Test Workbench 报告?

Worklight 的 Mobile Test Workbench 能够生成带有.moebreport扩展的报告。

这个 IBM Worklight 信息中心

您可以选择在移动设备、模拟器或测试工作台上查看测试报告。

是否可以更改报告的扩展名(例如更改为.html)以便其他没有安装 Rational Test Workbench 的人仍然能够查看它?

0 投票
2 回答
509 浏览

ibm-mobilefirst - IBM Worklight 6.0 - Mobile Test Workbench - Instrumentalized iOS App Error

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

0 投票
2 回答
308 浏览

android - Rational Test Workbench - 移动测试 - 变量 RTW_Mobile_App_Selection 不起作用

我正在使用 Rational Test Workbench (RTW) 来自动化我的移动测试。我只想测试我的应用程序的最新版本,所以我在测试中使用了测试变量 RTW_Mobile_App_Selection。

我正在使用正确的值 AlwaysUseLatestVersion 对其进行初始化,但是当通过 Rational Quality Manager (RQM) 或 RTW 触发测试时,它们始终使用旧值运行。工作台上提供了最新版本的应用程序。

我正在尝试使用 Android 应用程序来做到这一点。我总是从同一个 eclipse-project 编译应用程序,只更改版本和一些代码行。我是否必须在应用程序端设置一些特殊的东西才能使其工作?它应该如何工作?

谢谢您的帮助!

编辑: 我正在使用带有 android 环境的 worklight。

0 投票
2 回答
415 浏览

eclipse - 当我尝试下载 Rational Test Workbench for Android 时收到 HTTP ERROR 404。为什么?

我正在为 Eclipse 使用 IBM Mobile Test Workbench for Worklight 8.5.10 插件,我正在尝试使用我的 PC 添加设备。我在 Mac 上完成了相同的过程,它工作正常,没有问题。但是,在我的 PC 上,当我在浏览器、手机或模拟器中访问 Workbench URL 时,我开始下载,我在所有设备上都收到了这个...

HTTP 错误:404 访问 /android/client/com.ibm.rational.test.mobile.android.client.ui-release.apk 时出现问题。原因:

有人知道我为什么会得到这个吗?

0 投票
1 回答
150 浏览

ibm-mobilefirst - Mobile Test Workbench 无法识别 dojomobile

我在 worklight 6.1 中创建了一个简单的 dojomobile 应用程序。我将移动测试工作台安装在与 worklight 相同的 eclipse 环境中。下面的代码是混合应用程序 index.html 的 dojo 代码。它是一个非常基本的 dojo 移动应用程序,使用来自 worklight 的默认标头信息。

当我在测试工作台中注册应用程序并在我的 android 设备(Samsung s4)上记录测试时出现问题。测试应用程序无法识别它正在运行 dojo。设备上的应用程序显示缺少标题行。来自记录步骤的测试内容表明我点击了JQuery Button而不是dojox.mobile.Button

奇怪的是,当您重播录制的测试时,应用程序正确显示(标题和其他 dojo 控件),并且脚本失败,因为它正在寻找JQuery Button。我可以进入并编辑脚本以使其正确,但这不是我想要对由于应用程序更改而录制或重新录制的每个脚本执行的操作。

请让我知道我做错了什么或者这是一个已知问题。

0 投票
1 回答
342 浏览

unit-testing - 工作灯测试自动化

全部,

是否有任何可用于 Worklight 应用程序的单元测试框架。我知道我们可以在 Worklight IDE 中使用Rational Test Workbench for Mobile ( RTWM ) 进行单元测试。我最近也遇到了Appium.io,它看起来很有趣。

我希望能够在开发移动应用程序后立即运行自动化单元测试。您更喜欢哪一个或市场上的任何其他工具?

谢谢保罗

0 投票
2 回答
756 浏览

ibm-mobilefirst - IBM Worklight 6.1 - 无法使用 MTWW 将应用程序拉取到设备

首先让我说清楚。我有几个 iOS 设备。在具有 7.0.6 的设备上,我没有任何问题。当我将其中一台设备更新到 7.1 时,我遇到了问题。让我解释。

在具有 7.1 的 iOS 设备上,我导航到工作台 URL,然后转到管理应用程序并选择安装。然后我收到此消息“无法安装应用程序,因为 >ip 地址< 的证书无效。此过程适用于具有 7.0.6 的设备。我假设新的 iOS 更新存在问题。

现在我进行了一些搜索,发现在尝试从 HTTP 站点下载应用程序时出现问题,因此我更改了 Web 报告设置(在 Eclipse 首选项 -> 测试 -> 性能测试报告 -> Web 报告中找到)到“访问报告需要安全性”。因此它将端口号更改为“8443”。然后我使用 https://ip:port 导航回工作台 URL 并尝试再次安装应用程序。这次它只是说无法打开。

对此有什么想法吗?

0 投票
1 回答
78 浏览

ibm-mobilefirst - Worklight v6.1 - 工作台

我将 Worklight 6.1.0.1 与 IBM Mobile Test Workbench 8.5.1.2 一起使用。我正在尝试按照文档(https://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.mobtest 为我的应用程序 Worklight 创建一个测试工作台项目。 doc%2Ftopics%2Ft_wl_creating_mobile_test_project_from_wizard.html),但没有出现创建“IBM Mobile Test Workbench”的选项