硒网格 +向其注册 RC

发布于 2024-09-11 06:26:59 字数 76 浏览 2 评论 0原文

我用 ant 启动 hub,我不使用 ant 启动 rc 我想从代码 .iam 调用它,使用 junit 运行 rc 。请 建议我如何??

i started hub with ant ,i dont to start rc using ant instead
i want to invoke it from code .iam using junit to run rc .please
suggest me how??

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

玉环 2024-09-18 06:26:59

如果您确实必须这样做,请查看 build.xml 文件。 “启动远程控制”任务应该为您提供所需的所有信息。您可以看到正在调用的 Java 类以及正在传递的参数。您还需要确保类路径上的供应商/目录中包含所有内容。

If you really must do this, take a look at the build.xml file. The "launch-remote-control" task should give you all the information you need. You can see the Java class being invoked as well as the arguments being passed through. You'll need to make sure you have everything in the vendor/ directory on your classpath, too.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文